diff options
author | abs <abs@pkgsrc.org> | 2008-08-29 15:33:01 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2008-08-29 15:33:01 +0000 |
commit | 889e2f7bb5e68bfc01370480ac616c35e6911694 (patch) | |
tree | a943c2c66c903495c925e39e3bdb789bcfdae8bb /pkgtools | |
parent | db959fdcc67814a3fa8f0bd16a4e1f81fe123e5d (diff) | |
download | pkgsrc-889e2f7bb5e68bfc01370480ac616c35e6911694.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" |