summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_tarup
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-09 13:29:02 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-09 13:29:02 +0000
commita50b83c42f84e9dc720a3e6ba1b8b63646eea36c (patch)
treea10c8515bc78f2793a7a4fda3af753151ff94a2b /pkgtools/pkg_tarup
parent37fcba077cadf2632e0e7384463e35bd5ea38d50 (diff)
downloadpkgsrc-a50b83c42f84e9dc720a3e6ba1b8b63646eea36c.tar.gz
Add DESTDIR support.
Diffstat (limited to 'pkgtools/pkg_tarup')
-rw-r--r--pkgtools/pkg_tarup/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/pkg_tarup/Makefile b/pkgtools/pkg_tarup/Makefile
index 81d2747d7c9..ef1205e529c 100644
--- a/pkgtools/pkg_tarup/Makefile
+++ b/pkgtools/pkg_tarup/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2007/02/22 19:27:02 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2007/08/09 13:29:02 joerg Exp $
DISTNAME= pkg_tarup-1.6.6
CATEGORIES= pkgtools
@@ -8,6 +8,8 @@ DISTFILES= # empty
MAINTAINER= hubertf@NetBSD.org
COMMENT= Generates binary package(s) from installed pkg(s)
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
@@ -48,8 +50,8 @@ do-configure:
> ${WRKSRC}/pkg_tarup.1
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/pkg_tarup ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/pkg_tarup_all ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/pkg_tarup.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/pkg_tarup ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/pkg_tarup_all ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/pkg_tarup.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"