diff options
author | atatat <atatat> | 2003-01-27 17:59:01 +0000 |
---|---|---|
committer | atatat <atatat> | 2003-01-27 17:59:01 +0000 |
commit | 294624b1305e061474e3f1b8a479bb611cc35296 (patch) | |
tree | d47fb68b960311ed963fce7480faf58292a307bf | |
parent | 8d30a5f6abb9e31b763858ac6596bcea2b3af9f2 (diff) | |
download | pkgsrc-294624b1305e061474e3f1b8a479bb611cc35296.tar.gz |
Add a simple "extract" step so that local patches can be maintained
easily. This only affects the build process, so PKGREVISION is not
bumped.
-rw-r--r-- | pkgtools/pkglint/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index bcf4999177b..d84c4483c63 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.150 2003/01/24 15:16:31 wiz Exp $ +# $NetBSD: Makefile,v 1.151 2003/01/27 17:59:01 atatat Exp $ # DISTNAME= pkglint-3.45 @@ -14,7 +14,6 @@ DEPENDS+= digest>=20010101:../../pkgtools/digest USE_PERL5= YES -EXTRACT_ONLY= # empty WRKSRC= ${WRKDIR} NO_CHECKSUM= yes NO_CONFIGURE= yes @@ -33,20 +32,26 @@ NROFF= nroff -man NROFF= nroff -mandoc .endif +do-extract: + @${MKDIR} ${WRKSRC}/src +.for FILE in lintpkgsrc.1 lintpkgsrc.pl pkglint.1 pkglint.pl plist-clash.pl + ${CP} ${FILESDIR}/${FILE} ${WRKSRC}/src/${FILE} +.endfor + do-build: .for FILE in pkglint lintpkgsrc plist-clash ${SED} -e 's|@PREFIX@|${PREFIX}|g' \ -e 's|@PORTSDIR@|${_PKGSRCDIR}|g' \ -e 's|@DISTVER@|${DISTVER}|g' \ -e 's|@MAKE@|${MAKE}|g' \ - < ${FILESDIR}/${FILE}.pl \ + < ${WRKSRC}/src/${FILE}.pl \ > ${WRKSRC}/${FILE} .endfor .for FILE in pkglint lintpkgsrc ${SED} -e 's|@PREFIX@|${PREFIX}|g' \ -e 's|@PORTSDIR@|${_PKGSRCDIR}|g' \ -e 's|@MAKE@|${MAKE}|g' \ - < ${FILESDIR}/${FILE}.1 \ + < ${WRKSRC}/src/${FILE}.1 \ > ${WRKSRC}/${FILE}.1 ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0 .endfor |