summaryrefslogtreecommitdiff
path: root/pkgtools/pkgse/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkgse/Makefile')
-rw-r--r--pkgtools/pkgse/Makefile5
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"