summaryrefslogtreecommitdiff
path: root/print/enscript
diff options
context:
space:
mode:
authorcjep <cjep>2003-04-27 14:46:15 +0000
committercjep <cjep>2003-04-27 14:46:15 +0000
commit8c88e9e8f7c4b04dd06705cc213818dfaa08c3a8 (patch)
tree980359cd1f55b9d2906f7335e37efcbfe0ce8bbf /print/enscript
parent0a79383d9a5d2d50fd488989b0da412fbf5e5054 (diff)
downloadpkgsrc-8c88e9e8f7c4b04dd06705cc213818dfaa08c3a8.tar.gz
Lint: PKGLOCALEDIR
Diffstat (limited to 'print/enscript')
-rw-r--r--print/enscript/Makefile4
-rw-r--r--print/enscript/PLIST14
2 files changed, 10 insertions, 8 deletions
diff --git a/print/enscript/Makefile b/print/enscript/Makefile
index c9f6267da33..89b001d5b05 100644
--- a/print/enscript/Makefile
+++ b/print/enscript/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2002/01/25 18:57:58 kleink Exp $
+# $NetBSD: Makefile,v 1.21 2003/04/27 14:46:15 cjep Exp $
# FreeBSD Id: Makefile,v 1.4 1997/11/27 08:10:30 tg Exp
#
@@ -14,6 +14,8 @@ COMMENT= ASCII-to-PostScript filter
DEPENDS+= papersize-[0-9]*:../../print/papersize
GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+USE_PKGLOCALEDIR= yes
.include "../../mk/bsd.prefs.mk"
.if defined(PAPERSIZE)
CONFIGURE_ARGS+=--with-media="${PAPERSIZE}"
diff --git a/print/enscript/PLIST b/print/enscript/PLIST
index 5cb35dfd42f..61735d4bd5c 100644
--- a/print/enscript/PLIST
+++ b/print/enscript/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:27:39 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/04/27 14:46:16 cjep Exp $
bin/diffpp
bin/enscript
bin/mkafmmap
@@ -76,9 +76,9 @@ share/enscript/vms.enc
share/enscript/zcmi.afm
share/enscript/zd.afm
@dirrm share/enscript
-share/locale/de/LC_MESSAGES/enscript.mo
-share/locale/es/LC_MESSAGES/enscript.mo
-share/locale/fi/LC_MESSAGES/enscript.mo
-share/locale/fr/LC_MESSAGES/enscript.mo
-share/locale/nl/LC_MESSAGES/enscript.mo
-share/locale/sl/LC_MESSAGES/enscript.mo
+${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