diff options
author | atatat <atatat@pkgsrc.org> | 2003-01-27 17:59:01 +0000 |
---|---|---|
committer | atatat <atatat@pkgsrc.org> | 2003-01-27 17:59:01 +0000 |
commit | 7fc6b6a0bb633ea15626432776d464e4d821216a (patch) | |
tree | d47fb68b960311ed963fce7480faf58292a307bf /pkgtools/pkglint | |
parent | 53648a4faad57bbe1a50066b760d24e6f2cbfe72 (diff) | |
download | pkgsrc-7fc6b6a0bb633ea15626432776d464e4d821216a.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.
Diffstat (limited to 'pkgtools/pkglint')
-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 |