summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl/files/Makefile.epag
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-gpl/files/Makefile.epag')
-rw-r--r--print/ghostscript-gpl/files/Makefile.epag23
1 files changed, 23 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/files/Makefile.epag b/print/ghostscript-gpl/files/Makefile.epag
new file mode 100644
index 000000000000..94bc1b7601b8
--- /dev/null
+++ b/print/ghostscript-gpl/files/Makefile.epag
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+# EPAG - additional driver for Epson ESC/Page printers
+# http://www.humblesoft.com/gdevepag.html
+
+PORTDOCS+= epag
+PORTDOC_FILES+= epag/ert.txt epag/gdevepag.txt epag/ChangeLog \
+ epag/psprint epag/gsepagif.sh
+
+pre-build-epag:
+ ${LN} -s -f ${WRKSRC}/${EPAG_NAME}/gdevepag.c ${WRKSRC}/src
+
+post-build-epag:
+ cd ${WRKSRC}/${EPAG_NAME} && \
+ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
+
+post-install-docs-epag:
+ ${MKDIR} ${WRKSRC}/contrib/epag
+ ${INSTALL_DATA} ${WRKSRC}/${EPAG_NAME}/* ${WRKSRC}/contrib/epag
+
+pre-build: pre-build-epag
+post-build: post-build-epag
+post-install-docs: post-install-docs-epag