summaryrefslogtreecommitdiff
path: root/print/ghostscript7-base/files/Makefile.lex7000
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript7-base/files/Makefile.lex7000')
-rw-r--r--print/ghostscript7-base/files/Makefile.lex700019
1 files changed, 19 insertions, 0 deletions
diff --git a/print/ghostscript7-base/files/Makefile.lex7000 b/print/ghostscript7-base/files/Makefile.lex7000
new file mode 100644
index 000000000000..9c72af416840
--- /dev/null
+++ b/print/ghostscript7-base/files/Makefile.lex7000
@@ -0,0 +1,19 @@
+# $FreeBSD$
+# LEX7000 - additional driver for Lexmark 2050/3200/5700/7000
+# http://bimbo.fjfi.cvut.cz/~paluch/l7kdriver/
+
+MASTER_SITES+= LOCAL/pav:lex7000
+DISTFILES+= gs6.0.lexmark7000.patch:lex7000
+EXTRADEVMKFILE+= ${FILESDIR}/lex7000.contrib.mak
+
+post-extract-lex7000:
+ ${MKDIR} ${WRKSRC}/lex7000
+ ${CAT} ${DISTDIR}/${DIST_SUBDIR}/gs6.0.lexmark7000.patch | \
+ ${PATCH} -d ${WRKSRC}/lex7000 -f -s -N -E -p1 \
+ 2>/dev/null || ${TRUE}
+
+pre-build-lex7000:
+ ${LN} -s -f ${WRKSRC}/lex7000/src/gdevlx7.c ${WRKSRC}/src
+
+post-extract: post-extract-lex7000
+pre-build: pre-build-lex7000