From c0a07d3de4286280e594553e6b2a649c17077f68 Mon Sep 17 00:00:00 2001 From: jmmv Date: Thu, 1 May 2003 12:58:15 +0000 Subject: Honour PKG_SYSCONFDIR. Bump PKGREVISION to 2. --- print/enscript/Makefile | 11 +++++++++-- print/enscript/PLIST | 7 ++++--- print/enscript/distinfo | 3 ++- print/enscript/patches/patch-ac | 13 +++++++++++++ 4 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 print/enscript/patches/patch-ac (limited to 'print/enscript') 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@ -- cgit v1.2.3