diff options
author | abs <abs> | 2008-08-29 15:33:01 +0000 |
---|---|---|
committer | abs <abs> | 2008-08-29 15:33:01 +0000 |
commit | e791b0ef94847d721f2ea5d19be3f76f93a7d9cf (patch) | |
tree | a943c2c66c903495c925e39e3bdb789bcfdae8bb /pkgtools | |
parent | 540093a076559e21e3eb2adaba91e1f4ccbb737d (diff) | |
download | pkgsrc-e791b0ef94847d721f2ea5d19be3f76f93a7d9cf.tar.gz |
PKG_DESTDIR_SUPPORT=user-destdir
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/lintpkgsrc/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/lintpkgsrc/Makefile b/pkgtools/lintpkgsrc/Makefile index a17c266cb95..8cd70d95047 100644 --- a/pkgtools/lintpkgsrc/Makefile +++ b/pkgtools/lintpkgsrc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/01/03 17:43:15 rillig Exp $ +# $NetBSD: Makefile,v 1.2 2008/08/29 15:33:01 abs Exp $ # DISTNAME= lintpkgsrc-4.82 @@ -36,16 +36,18 @@ SUBST_SED.lp+= -e s\|@PREFIX@\|${PREFIX}\|g SUBST_SED.lp+= -e s\|@MAKE@\|${MAKE:Q}\|g SUBST_SED.lp+= -e s\|@PERL@\|${PERL5:Q}\|g +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../mk/bsd.prefs.mk" do-extract: cd ${FILESDIR} && cp lintpkgsrc.* ${WRKSRC}/ do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc.pl ${PREFIX}/bin/lintpkgsrc - ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/${PKGMANDIR}/cat1 + ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc.pl ${DESTDIR}${PREFIX}/bin/lintpkgsrc + ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1 .if !empty(MANINSTALL:Mmaninstall) - ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .endif .include "../../mk/bsd.pkg.mk" |