pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Fixed pkglint warnings.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa2eb39ff3e9
branches:  trunk
changeset: 508756:aa2eb39ff3e9
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Feb 24 21:59:49 2006 +0000

description:
Fixed pkglint warnings.

diffstat:

 pkgtools/pkglint/Makefile |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (50 lines):

diff -r 815254b764ce -r aa2eb39ff3e9 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Fri Feb 24 21:56:40 2006 +0000
+++ b/pkgtools/pkglint/Makefile Fri Feb 24 21:59:49 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.330 2006/02/24 20:36:29 reed Exp $
+# $NetBSD: Makefile,v 1.331 2006/02/24 21:59:49 rillig Exp $
 #
 
 DISTNAME=      pkglint-4.57
@@ -22,7 +22,7 @@
 NO_BUILD=      yes
 USE_LANGUAGES= # empty
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1 share/pkglint
+INSTALLATION_DIRS=     bin ${PKGMANDIR:Q}/cat1 ${PKGMANDIR:Q}/man1 share/pkglint
 
 SUBST_CLASSES+=                pkglint
 SUBST_STAGE.pkglint=   post-configure
@@ -30,15 +30,15 @@
 SUBST_FILES.pkglint+=  pkglint.0 pkglint.1 pkglint.pl
 SUBST_FILES.pkglint+=  plist-clash.pl
 .if defined(BATCH)
-SUBST_SED.pkglint+=    -e 's|@PKGSRCDIR@|/usr/pkgsrc|g'
+SUBST_SED.pkglint+=    -e s|@PKGSRCDIR@|/usr/pkgsrc|g
 .else
-SUBST_SED.pkglint+=    -e 's|@PKGSRCDIR@|${PKGSRCDIR}|g'
+SUBST_SED.pkglint+=    -e s|@PKGSRCDIR@|${PKGSRCDIR:Q}|g
 .endif
-SUBST_SED.pkglint+=    -e 's|@PREFIX@|${PREFIX}|g'
-SUBST_SED.pkglint+=    -e 's|@DISTVER@|${DISTNAME:S/pkglint-//}|g'
-SUBST_SED.pkglint+=    -e 's|@MAKE@|${MAKE}|g'
-SUBST_SED.pkglint+=    -e 's|@PERL@|${PERL5}|g'
-SUBST_SED.pkglint+=    -e 's|@DATADIR@|${PREFIX}/share/pkglint|g'
+SUBST_SED.pkglint+=    -e s|@PREFIX@|${PREFIX:Q}|g
+SUBST_SED.pkglint+=    -e s|@DISTVER@|${DISTNAME:S/pkglint-//:Q}|g
+SUBST_SED.pkglint+=    -e s|@MAKE@|${MAKE:Q}|g
+SUBST_SED.pkglint+=    -e s|@PERL@|${PERL5:Q}|g
+SUBST_SED.pkglint+=    -e s|@DATADIR@|${PREFIX:Q}/share/pkglint|g
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -58,7 +58,7 @@
        ${INSTALL_SCRIPT} ${WRKSRC:Q}/plist-clash.pl ${PREFIX:Q}/bin/plist-clash
        ${INSTALL_MAN} ${WRKSRC:Q}/lintpkgsrc.0 ${PREFIX:Q}/${PKGMANDIR:Q}/cat1
 .if !empty(MANINSTALL:Mmaninstall)
-       ${INSTALL_MAN} ${WRKSRC:Q}/lintpkgsrc.1 ${PREFIX:Q}/${PKGMANDIR:}/man1
+       ${INSTALL_MAN} ${WRKSRC:Q}/lintpkgsrc.1 ${PREFIX:Q}/${PKGMANDIR:Q}/man1
        ${INSTALL_MAN} ${WRKSRC:Q}/pkglint.1 ${PREFIX:Q}/${PKGMANDIR:Q}/man1
 .endif
        ${INSTALL_MAN} ${WRKSRC:Q}/pkglint.0 ${PREFIX:Q}/${PKGMANDIR:Q}/cat1



Home | Main Index | Thread Index | Old Index