summaryrefslogtreecommitdiff
path: root/print/ghostscript7-base/files/Makefile.gdi
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript7-base/files/Makefile.gdi')
-rw-r--r--print/ghostscript7-base/files/Makefile.gdi18
1 files changed, 18 insertions, 0 deletions
diff --git a/print/ghostscript7-base/files/Makefile.gdi b/print/ghostscript7-base/files/Makefile.gdi
new file mode 100644
index 000000000000..e18366851722
--- /dev/null
+++ b/print/ghostscript7-base/files/Makefile.gdi
@@ -0,0 +1,18 @@
+# $FreeBSD$
+# GDI - additional driver for Samsung SmartGDI laser printers
+
+MASTER_SITES+= http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi
+DISTFILES+= Samsung-SmartGDI-all-GS.orig.tar.gz:gdi
+EXTRADEVMKFILE+= ${WRKSRC}/src/smartgdi-contrib.mak
+PORTDOCS+= gdi
+
+post-extract-gdi:
+ ${TAR} -C ${WRKSRC}/src -xzf \
+ ${DISTDIR}/${DIST_SUBDIR}/Samsung-SmartGDI-all-GS.orig.tar.gz
+
+post-install-docs-gdi:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/gdi
+ ${INSTALL_DATA} ${WRKSRC}/src/README ${STAGEDIR}${DOCSDIR}/gdi
+
+post-extract: post-extract-gdi
+post-install-docs: post-install-docs-gdi