summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-05-24 21:24:30 +0000
committerrillig <rillig@pkgsrc.org>2005-05-24 21:24:30 +0000
commitdb31dbdd4b886e857a5f9982c857139c1375f601 (patch)
tree807ae13606d495642ebca87c0a654b26e00d0b53 /pkgtools
parent5c413007cc0feda4a741fdf09e60b7b003b1f2cf (diff)
downloadpkgsrc-db31dbdd4b886e857a5f9982c857139c1375f601.tar.gz
Converted USE_PERL5 into USE_TOOLS. Changed the SUBST stage to
post-configure. Removed DISTVER variable.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 5cd3fd0949b..9ca9ae6ff6c 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.239 2005/05/24 15:39:05 rillig Exp $
+# $NetBSD: Makefile,v 1.240 2005/05/24 21:24:30 rillig Exp $
#
DISTNAME= pkglint-4.17
@@ -14,27 +14,24 @@ DEPENDS+= digest>=20010101:../../pkgtools/digest
PKG_INSTALLATION_TYPES= overwrite pkgviews
-USE_PERL5= yes
+USE_TOOLS+= perl
WRKSRC= ${WRKDIR}
NO_CHECKSUM= yes
-NO_CONFIGURE= yes
NO_TOOLS= yes
NO_BUILD= yes
USE_LANGUAGES= # empty
-DISTVER= ${DISTNAME:S/pkglint-//}
-
INSTALLATION_DIRS= bin man/cat1 man/man1 share/pkglint
SUBST_CLASSES+= pkglint
-SUBST_STAGE.pkglint= post-patch
+SUBST_STAGE.pkglint= post-configure
SUBST_FILES.pkglint+= lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
SUBST_FILES.pkglint+= pkglint.0 pkglint.1 pkglint.pl
SUBST_FILES.pkglint+= plist-clash.pl
SUBST_SED.pkglint+= -e 's|@PREFIX@|${PREFIX}|g'
SUBST_SED.pkglint+= -e 's|@PKGSRCDIR@|${PKGSRCDIR}|g'
-SUBST_SED.pkglint+= -e 's|@DISTVER@|${DISTVER}|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'