summaryrefslogtreecommitdiff
path: root/print/enscript/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-05-01 12:58:15 +0000
committerjmmv <jmmv>2003-05-01 12:58:15 +0000
commit472ee403403d259631ffad9dc32f4aab68c3814e (patch)
treec64f7ebf5b5e15bc0ab312af92938dd58cb41261 /print/enscript/Makefile
parente4264a24bfbd6d5acd9b1c769b260a5cf6dff1b3 (diff)
downloadpkgsrc-472ee403403d259631ffad9dc32f4aab68c3814e.tar.gz
Honour PKG_SYSCONFDIR. Bump PKGREVISION to 2.
Diffstat (limited to 'print/enscript/Makefile')
-rw-r--r--print/enscript/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/print/enscript/Makefile b/print/enscript/Makefile
index 89b001d5b05..96f36fa0013 100644
--- a/print/enscript/Makefile
+++ b/print/enscript/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.21 2003/04/27 14:46:15 cjep Exp $
+# $NetBSD: Makefile,v 1.22 2003/05/01 12:58:15 jmmv Exp $
# FreeBSD Id: Makefile,v 1.4 1997/11/27 08:10:30 tg Exp
#
DISTNAME= enscript-1.6.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU:=enscript/}
@@ -16,6 +16,13 @@ DEPENDS+= papersize-[0-9]*:../../print/papersize
GNU_CONFIGURE= yes
USE_BUILDLINK2= yes
USE_PKGLOCALEDIR= yes
+USE_PKGINSTALL= yes
+
+CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
+
+EGDIR= ${PREFIX}/share/examples/enscript
+CONF_FILES= ${EGDIR}/enscript.cfg ${PKG_SYSCONFDIR}/enscript.cfg
+
.include "../../mk/bsd.prefs.mk"
.if defined(PAPERSIZE)
CONFIGURE_ARGS+=--with-media="${PAPERSIZE}"