summaryrefslogtreecommitdiff
path: root/print/foo2zjs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/foo2zjs/Makefile')
-rw-r--r--print/foo2zjs/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/print/foo2zjs/Makefile b/print/foo2zjs/Makefile
index c6ebc7cafed..bb8b664ede7 100644
--- a/print/foo2zjs/Makefile
+++ b/print/foo2zjs/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2014/09/24 13:44:21 jperkin Exp $
+# $NetBSD: Makefile,v 1.4 2015/07/28 16:42:03 rumko Exp $
#
DISTNAME= foo2zjs
PKGNAME= ${DISTNAME}-20120516
+PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= http://foo2zjs.rkkda.com/
@@ -11,7 +12,7 @@ HOMEPAGE= http://foo2zjs.rkkda.com/
COMMENT= Printer driver for Zenographics ZjStream wire protocol
LICENSE= gnu-gpl-v2
-USE_TOOLS+= gmake groff
+USE_TOOLS+= gmake groff gsed:run
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
INSTALLATION_DIRS+= share/foo2zjs share/foomatic/ppd/foo2zjs
@@ -23,13 +24,14 @@ SUBST_MESSAGE.paths= Fix PREFIX.
SUBST_FILES.paths= Makefile icc2ps/Makefile
SUBST_SED.paths= -e "s,@PREFIX@,${DESTDIR}${PREFIX},"
SUBST_SED.paths+= -e "s,@PKGMANDIR@,${DESTDIR}${PREFIX}/${PKGMANDIR},"
+SUBST_SED.paths+= -e "s,@RUNPREFIX@,${PREFIX},"
SUBST_STAGE.paths= post-patch
do-build:
cd ${WRKSRC} && ${GMAKE} ${PROGS}
do-install:
- cd ${WRKSRC} && ${GMAKE} install-prog install-man
+ cd ${WRKSRC} && ${GMAKE} install-prog install-man install-crd
# cheaper than upstream's "portable" Makefile
${INSTALL_DATA} ${WRKSRC}/PPD/*.ppd \
${DESTDIR}${PREFIX}/share/foomatic/ppd/foo2zjs