pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/LPRng-core Fixed all pkglint warnings, based on ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3d95cb8004ec
branches: trunk
changeset: 508367:3d95cb8004ec
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Feb 18 14:22:13 2006 +0000
description:
Fixed all pkglint warnings, based on the previous revision, since martti's
changes have been incorrect in some places.
diffstat:
print/LPRng-core/Makefile | 39 ++++++++++++++++++++-------------------
1 files changed, 20 insertions(+), 19 deletions(-)
diffs (69 lines):
diff -r e6b731595747 -r 3d95cb8004ec print/LPRng-core/Makefile
--- a/print/LPRng-core/Makefile Sat Feb 18 14:18:44 2006 +0000
+++ b/print/LPRng-core/Makefile Sat Feb 18 14:22:13 2006 +0000
@@ -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 @@
# 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 @@
${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"
Home |
Main Index |
Thread Index |
Old Index