diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /pkgtools/pkgse | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'pkgtools/pkgse')
-rw-r--r-- | pkgtools/pkgse/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/pkgse/Makefile b/pkgtools/pkgse/Makefile index d42b7da38da..1a2a4d35174 100644 --- a/pkgtools/pkgse/Makefile +++ b/pkgtools/pkgse/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2008/01/31 19:01:05 rillig Exp $ +# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:42 joerg Exp $ # DISTNAME= pkgse-0.3 @@ -14,6 +14,7 @@ COMMENT= Fetch informations about a NetBSD package from pkgsrc.netbsd.se DEPENDS+= p5-libwww>=5.76:../../www/p5-libwww PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir NO_BUILD= yes USE_TOOLS+= perl:run @@ -22,6 +23,6 @@ INSTALLATION_DIRS= bin REPLACE_PERL= pkgse do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/pkgse ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/pkgse ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |