summaryrefslogtreecommitdiff
path: root/print
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
parente4264a24bfbd6d5acd9b1c769b260a5cf6dff1b3 (diff)
downloadpkgsrc-472ee403403d259631ffad9dc32f4aab68c3814e.tar.gz
Honour PKG_SYSCONFDIR. Bump PKGREVISION to 2.
Diffstat (limited to 'print')
-rw-r--r--print/enscript/Makefile11
-rw-r--r--print/enscript/PLIST7
-rw-r--r--print/enscript/distinfo3
-rw-r--r--print/enscript/patches/patch-ac13
4 files changed, 28 insertions, 6 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}"
diff --git a/print/enscript/PLIST b/print/enscript/PLIST
index 61735d4bd5c..8f23966cf0d 100644
--- a/print/enscript/PLIST
+++ b/print/enscript/PLIST
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2003/04/27 14:46:16 cjep Exp $
+@comment $NetBSD: PLIST,v 1.3 2003/05/01 12:58:15 jmmv Exp $
bin/diffpp
bin/enscript
bin/mkafmmap
bin/over
bin/sliceprint
bin/states
-etc/enscript.cfg
man/man1/diffpp.1
man/man1/enscript.1
man/man1/sliceprint.1
@@ -75,10 +74,12 @@ share/enscript/tir.afm
share/enscript/vms.enc
share/enscript/zcmi.afm
share/enscript/zd.afm
-@dirrm share/enscript
+share/examples/enscript/enscript.cfg
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/enscript.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/enscript.mo
${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/enscript.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/enscript.mo
${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/enscript.mo
${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/enscript.mo
+@dirrm share/examples/enscript
+@dirrm share/enscript
diff --git a/print/enscript/distinfo b/print/enscript/distinfo
index 0976df97a9c..628fb675290 100644
--- a/print/enscript/distinfo
+++ b/print/enscript/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2002/01/25 18:57:59 kleink Exp $
+$NetBSD: distinfo,v 1.4 2003/05/01 12:58:16 jmmv Exp $
SHA1 (enscript-1.6.1.tar.gz) = f99e21a8366baf331daaa6675d7c9d2dc026eb27
Size (enscript-1.6.1.tar.gz) = 645856 bytes
SHA1 (patch-aa) = 7cab0636de9b4551391a6c2753eaf0c8c2a01679
SHA1 (patch-ab) = 1cb3f286421dc772475246617ec270d887971018
+SHA1 (patch-ac) = 9d4d412e3016b7490741f7c6ba31d43b2be1465b
diff --git a/print/enscript/patches/patch-ac b/print/enscript/patches/patch-ac
new file mode 100644
index 00000000000..8665ad0151e
--- /dev/null
+++ b/print/enscript/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2003/05/01 12:58:16 jmmv Exp $
+
+--- lib/Makefile.in.orig 1998-07-01 11:28:28.000000000 +0200
++++ lib/Makefile.in
+@@ -49,7 +49,7 @@ bindir = @bindir@
+ sbindir = @sbindir@
+ libexecdir = @libexecdir@
+ datadir = @datadir@
+-sysconfdir = @sysconfdir@
++sysconfdir = @datadir@/examples/@PACKAGE@
+ sharedstatedir = @sharedstatedir@
+ localstatedir = @localstatedir@
+ libdir = @libdir@