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 | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/autoswc/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/binpatch/Makefile | 3 | ||||
-rw-r--r-- | pkgtools/cdpack/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/dfdisk/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkg_alternatives/Makefile | 3 | ||||
-rw-r--r-- | pkgtools/pkg_chk/Makefile | 3 | ||||
-rw-r--r-- | pkgtools/pkg_comp/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkg_notify/Makefile | 13 | ||||
-rw-r--r-- | pkgtools/pkg_select/Makefile | 13 | ||||
-rw-r--r-- | pkgtools/pkgse/Makefile | 5 |
10 files changed, 34 insertions, 22 deletions
diff --git a/pkgtools/autoswc/Makefile b/pkgtools/autoswc/Makefile index a05d37255a0..895956a20a7 100644 --- a/pkgtools/autoswc/Makefile +++ b/pkgtools/autoswc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2007/01/07 09:14:08 rillig Exp $ +# $NetBSD: Makefile,v 1.14 2008/06/12 02:14:42 joerg Exp $ DISTNAME= autoswc-1.5 CATEGORIES= pkgtools sysutils @@ -8,6 +8,8 @@ DISTFILES= # empty MAINTAINER= jmmv@NetBSD.org COMMENT= Generates system wide cache files for GNU autoconf +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= autoconf>=2.59:../../devel/autoconf DEPENDS+= automake>=1.8.2:../../devel/automake DEPENDS+= libtool-base>=1.5.2:../../devel/libtool-base diff --git a/pkgtools/binpatch/Makefile b/pkgtools/binpatch/Makefile index f2d57aafc81..98fb49090b9 100644 --- a/pkgtools/binpatch/Makefile +++ b/pkgtools/binpatch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/01/07 09:14:08 rillig Exp $ +# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:42 joerg Exp $ # DISTNAME= binpatch-1.0 @@ -10,6 +10,7 @@ MAINTAINER= atatat@NetBSD.org HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html COMMENT= Trivial binary patch applicator +PKG_DESTDIR_SUPPORT= user-destdir NO_CHECKSUM= yes diff --git a/pkgtools/cdpack/Makefile b/pkgtools/cdpack/Makefile index 9baed31bb6f..44d863de9fc 100644 --- a/pkgtools/cdpack/Makefile +++ b/pkgtools/cdpack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2008/01/28 23:06:13 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.27 2008/06/12 02:14:42 joerg Exp $ # DISTNAME= cdpack-1.8 @@ -10,6 +10,8 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://www.NetBSD.org/ COMMENT= Utility to create multi-cd/dvd binary package collections +PKG_DESTDIR_SUPPORT= user-destdir + # for mkisofs DEPENDS+= cdrtools-[0-9]*:../../sysutils/cdrtools diff --git a/pkgtools/dfdisk/Makefile b/pkgtools/dfdisk/Makefile index ac818d61431..6525fc9ef9c 100644 --- a/pkgtools/dfdisk/Makefile +++ b/pkgtools/dfdisk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/01/07 09:14:08 rillig Exp $ +# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:42 joerg Exp $ # DISTNAME= dfdisk-1.0 @@ -9,6 +9,8 @@ DISTFILES= # empty MAINTAINER= jmmv@NetBSD.org COMMENT= Fetch distfiles from multiple locations +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_CHECKSUM= yes NO_CONFIGURE= yes diff --git a/pkgtools/pkg_alternatives/Makefile b/pkgtools/pkg_alternatives/Makefile index 336d97c3d10..6aac15784f5 100644 --- a/pkgtools/pkg_alternatives/Makefile +++ b/pkgtools/pkg_alternatives/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/01/15 02:50:06 rillig Exp $ +# $NetBSD: Makefile,v 1.13 2008/06/12 02:14:42 joerg Exp $ # DISTNAME= pkg_alternatives-1.4 @@ -10,6 +10,7 @@ MAINTAINER= jmmv@NetBSD.org COMMENT= Generic wrappers for programs with similar interfaces PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir EXTRACT_ONLY= # empty NO_CHECKSUM= YES diff --git a/pkgtools/pkg_chk/Makefile b/pkgtools/pkg_chk/Makefile index d997843ace4..b171277677b 100644 --- a/pkgtools/pkg_chk/Makefile +++ b/pkgtools/pkg_chk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.65 2008/05/26 09:25:43 tron Exp $ +# $NetBSD: Makefile,v 1.66 2008/06/12 02:14:42 joerg Exp $ DISTNAME= pkg_chk-1.94 CATEGORIES= pkgtools @@ -10,6 +10,7 @@ HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html COMMENT= Check installed package versions against pkgsrc PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR} EXTRACT_ONLY= # empty diff --git a/pkgtools/pkg_comp/Makefile b/pkgtools/pkg_comp/Makefile index 856026d17f6..681e64b2bb1 100644 --- a/pkgtools/pkg_comp/Makefile +++ b/pkgtools/pkg_comp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2007/10/27 17:11:24 seb Exp $ +# $NetBSD: Makefile,v 1.40 2008/06/12 02:14:42 joerg Exp $ DISTNAME= pkg_comp-1.30 CATEGORIES= pkgtools @@ -9,6 +9,8 @@ MAINTAINER= jmmv@NetBSD.org COMMENT= Build packages inside a chroot jail PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir + ONLY_FOR_PLATFORM= NetBSD-*-* WRKSRC= ${WRKDIR} diff --git a/pkgtools/pkg_notify/Makefile b/pkgtools/pkg_notify/Makefile index 03271e9efc5..0e0bb354555 100644 --- a/pkgtools/pkg_notify/Makefile +++ b/pkgtools/pkg_notify/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/10/04 21:54:59 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:42 joerg Exp $ # DISTNAME= pkg_notify-0.4.2 @@ -12,6 +12,7 @@ COMMENT= Notifies package maintainer when a new version is available DEPENDS+= p5-libwww>=5.76:../../www/p5-libwww PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir NO_BUILD= yes NO_CONFIGURE= yes @@ -31,13 +32,11 @@ SUBST_SED.pkg_notify= -e 's|/usr/pkgsrc|${PKGSRCDIR}|' \ -e 's|/usr/bin/make|${MAKE}|g' \ -e 's|/usr/pkg/bin/perl|${PERL5}|g' -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin ${EXAMPLEDIR} share/doc/pkg_notify do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/pkg_notify ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${EXAMPLEDIR} - ${INSTALL_DATA} ${WRKSRC}/${PKGBASE}.list ${EXAMPLEDIR} - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE} - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PKGBASE} + ${INSTALL_SCRIPT} ${WRKSRC}/pkg_notify ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/pkg_notify.list ${DESTDIR}${EXAMPLEDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/pkg_notify .include "../../mk/bsd.pkg.mk" diff --git a/pkgtools/pkg_select/Makefile b/pkgtools/pkg_select/Makefile index d7562341eed..920e77b798c 100644 --- a/pkgtools/pkg_select/Makefile +++ b/pkgtools/pkg_select/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/03/16 20:22:16 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2008/06/12 02:14:42 joerg Exp $ # DISTNAME= pkg_select-20050817 @@ -10,6 +10,7 @@ MAINTAINER= imil@gcu.info COMMENT= Curses based pkgsrc system browser / manager PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/pkg_select @@ -33,11 +34,11 @@ SUBST_SED.path+= -e "s|/usr/bin/make|${MAKE}|g" CFLAGS+= -DPKGTOOLS_PATH=\"${PKG_TOOLS_BIN}\" do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pkg_select ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/${PKGBASE}.conf.example ${EXAMPLEDIR} - ${INSTALL_DATA} ${WRKSRC}/mirrors.cvs ${PREFIX}/share/pkg_select - ${INSTALL_DATA} ${WRKSRC}/mirrors.ftp ${PREFIX}/share/pkg_select - ${INSTALL_MAN} ${WRKSRC}/pkg_select.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/pkg_select ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/${PKGBASE}.conf.example ${DESTDIR}${EXAMPLEDIR} + ${INSTALL_DATA} ${WRKSRC}/mirrors.cvs ${DESTDIR}${PREFIX}/share/pkg_select + ${INSTALL_DATA} ${WRKSRC}/mirrors.ftp ${DESTDIR}${PREFIX}/share/pkg_select + ${INSTALL_MAN} ${WRKSRC}/pkg_select.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk" 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" |