diff options
author | abs <abs> | 2008-08-29 15:33:01 +0000 |
---|---|---|
committer | abs <abs> | 2008-08-29 15:33:01 +0000 |
commit | f8f3d292b8ee5cc54766594800398eff5412033b (patch) | |
tree | a943c2c66c903495c925e39e3bdb789bcfdae8bb /pkgtools/lintpkgsrc | |
parent | 5c976d17344078acda986999f7d173a41f57595f (diff) | |
download | pkgsrc-f8f3d292b8ee5cc54766594800398eff5412033b.tar.gz |
PKG_DESTDIR_SUPPORT=user-destdir
Diffstat (limited to 'pkgtools/lintpkgsrc')
-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" |