summaryrefslogtreecommitdiff
path: root/print/ghostscript9-base/files/Makefile.epag
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript9-base/files/Makefile.epag')
-rw-r--r--print/ghostscript9-base/files/Makefile.epag24
1 files changed, 24 insertions, 0 deletions
diff --git a/print/ghostscript9-base/files/Makefile.epag b/print/ghostscript9-base/files/Makefile.epag
new file mode 100644
index 000000000000..96141325b372
--- /dev/null
+++ b/print/ghostscript9-base/files/Makefile.epag
@@ -0,0 +1,24 @@
+# $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}/base
+ ${MKDIR} ${WRKSRC}/contrib/epag
+ ${INSTALL_DATA} ${WRKSRC}/${EPAG_NAME}/* ${WRKSRC}/contrib/epag
+
+post-build-epag:
+ cd ${WRKSRC}/${EPAG_NAME} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} Makefile
+
+post-install-epag:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${EPAG_NAME}/ert ${STAGEDIR}${PREFIX}/bin
+
+pre-build: pre-build-epag
+post-build: post-build-epag
+post-install: post-install-epag