summaryrefslogtreecommitdiff
path: root/print/LPRng-core
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-02-18 14:22:13 +0000
committerrillig <rillig@pkgsrc.org>2006-02-18 14:22:13 +0000
commitc1fb3b7795df3dd852b0e42370f88472586ca2a5 (patch)
tree28052fb5b79ddcfbf5cd40bafec614141166b54c /print/LPRng-core
parent7d1e2473fc835c717b4a66839104de9822e9645b (diff)
downloadpkgsrc-c1fb3b7795df3dd852b0e42370f88472586ca2a5.tar.gz
Fixed all pkglint warnings, based on the previous revision, since martti's
changes have been incorrect in some places.
Diffstat (limited to 'print/LPRng-core')
-rw-r--r--print/LPRng-core/Makefile39
1 files changed, 20 insertions, 19 deletions
diff --git a/print/LPRng-core/Makefile b/print/LPRng-core/Makefile
index 5785ca24cc5..341412a3254 100644
--- a/print/LPRng-core/Makefile
+++ b/print/LPRng-core/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2006/02/17 08:10:44 martti Exp $
+# $NetBSD: Makefile,v 1.26 2006/02/18 14:22:13 rillig Exp $
DISTNAME= LPRng-3.8.28
PKGNAME= LPRng-core-3.8.28
@@ -33,16 +33,16 @@ CONFIGURE_ENV+= CHOWN=${TOOLS_CHOWN:Q}
# Look for printer configuration files firstly in /etc, then ${PREFIX}/etc.
#
-LPD_PERMS_PATH= ${PKG_SYSCONFDIR:Q}/lpd/lpd.perms
-LPD_PRINTCAP_PATH= ${PKG_SYSCONFDIR:Q}/printcap
-PRINTCAP_PATH= ${PKG_SYSCONFDIR:Q}/printcap
-FILTER_DIR= ${PREFIX:Q}/libexec/LPRng
-FILTER_LD_PATH= /usr/lib:${PREFIX:Q}/lib:/usr/local/lib
-FILTER_PATH= ${FILTER_DIR}:/sbin:/usr/sbin:/bin:/usr/bin:${PREFIX:Q}/sbin:${PREFIX:Q}/bin:/usr/local/sbin:/usr/local/bin
+LPD_PERMS_PATH= ${PKG_SYSCONFDIR}/lpd/lpd.perms
+LPD_PRINTCAP_PATH= ${PKG_SYSCONFDIR}/printcap
+PRINTCAP_PATH= ${PKG_SYSCONFDIR}/printcap
+FILTER_DIR= ${PREFIX}/libexec/LPRng
+FILTER_LD_PATH= /usr/lib:${PREFIX}/lib:/usr/local/lib
+FILTER_PATH= ${FILTER_DIR}:/sbin:/usr/sbin:/bin:/usr/bin:${PREFIX}/sbin:${PREFIX}/bin:/usr/local/sbin:/usr/local/bin
MAKE_ENV+= POSTINSTALL="NO"
-EXAMPLESDIR= ${PREFIX:Q}/share/examples/LPRng
+EXAMPLESDIR= ${PREFIX}/share/examples/LPRng
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
RCD_SCRIPTS= LPRng
@@ -61,23 +61,24 @@ pre-patch:
${MV} ${WRKSRC:Q}/man/lpd.conf.n ${WRKSRC:Q}/man/lpd.conf.n.in
post-configure:
- ${SED} -e "s,@FILTER_LD_PATH@,${FILTER_LD_PATH:Q},g" \
- -e "s,@FILTER_PATH@,${FILTER_PATH:Q},g" \
- -e "s,@LPD_PRINTCAP_PATH@,${LPD_PRINTCAP_PATH:Q},g" \
- -e "s,@LPD_PERMS_PATH@,${LPD_PERMS_PATH:Q},g" \
- -e "s,@PRINTCAP_PATH@,${PRINTCAP_PATH:Q},g" \
- -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR:Q},g" \
+ ${SED} -e s,@FILTER_LD_PATH@,${FILTER_LD_PATH:Q},g \
+ -e s,@FILTER_PATH@,${FILTER_PATH:Q},g \
+ -e s,@LPD_PRINTCAP_PATH@,${LPD_PRINTCAP_PATH:Q},g \
+ -e s,@LPD_PERMS_PATH@,${LPD_PERMS_PATH:Q},g \
+ -e s,@PRINTCAP_PATH@,${PRINTCAP_PATH:Q},g \
+ -e s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR:Q},g \
< ${WRKSRC:Q}/man/lpd.conf.n.in > ${WRKSRC:Q}/man/lpd.conf.n
pre-install:
- ${SED} -e "s,@PREFIX@,${PREFIX:Q},g" \
+ ${SED} -e s,@PREFIX@,${PREFIX:Q},g \
< ${FILESDIR:Q}/LPRng.sh > ${WRKDIR:Q}/LPRng.sh
post-install:
- ${INSTALL_DATA_DIR} ${EXAMPLESDIR:Q}
- for file in lpd.conf lpd.perms printcap; do \
- ${INSTALL_DATA} ${WRKSRC:Q}/$${file} \
- ${EXAMPLESDIR:Q}/$${file}.example; \
+ ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
+ set -e; \
+ for file in lpd.conf lpd.perms printcap; do \
+ ${INSTALL_DATA} ${WRKSRC:Q}/"$${file}" \
+ ${EXAMPLESDIR:Q}/"$${file}".example; \
done
.include "../../mk/bsd.pkg.mk"