diff options
author | joerg <joerg> | 2007-08-09 13:29:02 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-08-09 13:29:02 +0000 |
commit | 73d531b8fd9d1e3bc7e3c017e00455e0e4b238a2 (patch) | |
tree | a10c8515bc78f2793a7a4fda3af753151ff94a2b | |
parent | 19e3eb98e9d379d6ab86f6039b3637d933382d38 (diff) | |
download | pkgsrc-73d531b8fd9d1e3bc7e3c017e00455e0e4b238a2.tar.gz |
Add DESTDIR support.
-rw-r--r-- | pkgtools/pkg_tarup/Makefile | 10 |
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" |