summaryrefslogtreecommitdiff
path: root/print/ghostscript7/files/Makefile.bj10v
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript7/files/Makefile.bj10v')
-rw-r--r--print/ghostscript7/files/Makefile.bj10v21
1 files changed, 21 insertions, 0 deletions
diff --git a/print/ghostscript7/files/Makefile.bj10v b/print/ghostscript7/files/Makefile.bj10v
new file mode 100644
index 000000000000..92cb7ce6e31a
--- /dev/null
+++ b/print/ghostscript7/files/Makefile.bj10v
@@ -0,0 +1,21 @@
+# $FreeBSD$
+# for Canon BJ-10V
+
+DISTFILES+= gdev10v.tar.gz:ports_jp_gs
+EXTRADEVMKFILE+= ${WRKSRC}/gdev10v/gdev10v.mak
+PORTDOCS+= bj10v
+
+post-extract-bj10v:
+ ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/gdev10v.tar.gz
+
+pre-build-bj10v:
+ ${LN} -s -f ${WRKSRC}/gdev10v/gdev10v.c ${WRKSRC}/src
+
+post-install-docs-bj10v:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/bj10v
+ ${INSTALL_DATA} ${WRKSRC}/gdev10v/gdev10v.jis \
+ ${STAGEDIR}${DOCSDIR}/bj10v
+
+post-extract: post-extract-bj10v
+pre-build: pre-build-bj10v
+post-install-docs: post-install-docs-bj10v