diff options
-rw-r--r-- | sysutils/tphdisk/Makefile | 8 | ||||
-rw-r--r-- | sysutils/user_darwin/Makefile | 12 | ||||
-rw-r--r-- | sysutils/user_interix/Makefile | 6 | ||||
-rw-r--r-- | sysutils/whowatch/Makefile | 8 | ||||
-rw-r--r-- | sysutils/wipe/Makefile | 3 | ||||
-rw-r--r-- | sysutils/wipe/distinfo | 4 | ||||
-rw-r--r-- | sysutils/wipe/patches/patch-aa | 17 |
7 files changed, 37 insertions, 21 deletions
diff --git a/sysutils/tphdisk/Makefile b/sysutils/tphdisk/Makefile index b78fee33b33..c92bf7df7b1 100644 --- a/sysutils/tphdisk/Makefile +++ b/sysutils/tphdisk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/08/21 13:19:33 gdt Exp $ +# $NetBSD: Makefile,v 1.2 2010/01/27 20:28:15 joerg Exp $ DISTNAME= tphdisk PKGNAME= tphdisk-20050112 @@ -10,12 +10,16 @@ MAINTAINER= gdt@NetBSD.org HOMEPAGE= http://samba.anu.edu.au/ftp/unpacked/junkcode/ COMMENT= Create hibernation partitions for Thinkpads +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} +INSTALLATION_DIRS= bin + do-build: cd ${WRKSRC} && cc -o tphdisk tphdisk.c do-install: - cd ${WRKSRC} && ${INSTALL_PROGRAM} tphdisk ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/tphdisk ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/user_darwin/Makefile b/sysutils/user_darwin/Makefile index 5c4b8dc0c51..f54442ca50f 100644 --- a/sysutils/user_darwin/Makefile +++ b/sysutils/user_darwin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2009/04/14 22:35:45 schmonz Exp $ +# $NetBSD: Makefile,v 1.9 2010/01/27 20:30:24 joerg Exp $ # DISTNAME= user-20071026 @@ -9,6 +9,8 @@ DISTFILES= # empty MAINTAINER= schmonz@NetBSD.org COMMENT= Limited NetBSD-compatible useradd/groupadd commands +PKG_DESTDIR_SUPPORT= user-destdir + ONLY_FOR_PLATFORM= Darwin-*-* PKG_INSTALLATION_TYPES= overwrite pkgviews @@ -19,9 +21,9 @@ NO_BUILD= yes INSTALLATION_DIRS= sbin do-install: - ${INSTALL_SCRIPT} ${FILESDIR}/useradd.sh ${PREFIX}/sbin/useradd - ${INSTALL_SCRIPT} ${FILESDIR}/userdel.sh ${PREFIX}/sbin/userdel - ${INSTALL_SCRIPT} ${FILESDIR}/groupadd.sh ${PREFIX}/sbin/groupadd - ${INSTALL_SCRIPT} ${FILESDIR}/groupdel.sh ${PREFIX}/sbin/groupdel + ${INSTALL_SCRIPT} ${FILESDIR}/useradd.sh ${DESTDIR}${PREFIX}/sbin/useradd + ${INSTALL_SCRIPT} ${FILESDIR}/userdel.sh ${DESTDIR}${PREFIX}/sbin/userdel + ${INSTALL_SCRIPT} ${FILESDIR}/groupadd.sh ${DESTDIR}${PREFIX}/sbin/groupadd + ${INSTALL_SCRIPT} ${FILESDIR}/groupdel.sh ${DESTDIR}${PREFIX}/sbin/groupdel .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/user_interix/Makefile b/sysutils/user_interix/Makefile index 2e88eaf0a87..6028d95df11 100644 --- a/sysutils/user_interix/Makefile +++ b/sysutils/user_interix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2009/04/09 00:48:17 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2010/01/27 20:30:47 joerg Exp $ # DISTNAME= user-20040426 @@ -9,6 +9,8 @@ DISTFILES= # empty MAINTAINER= interix-pkg-people@NetBSD.org COMMENT= Limited NetBSD-compatible useradd/groupadd commands +PKG_DESTDIR_SUPPORT= user-destdir + ONLY_FOR_PLATFORM= Interix-*-* PKG_INSTALLATION_TYPES= overwrite pkgviews @@ -20,7 +22,7 @@ INSTALLATION_DIRS= sbin do-install: .for f in useradd userdel groupadd groupdel - ${INSTALL_SCRIPT} ${FILESDIR}/${f}.sh ${PREFIX}/sbin/${f} + ${INSTALL_SCRIPT} ${FILESDIR}/${f}.sh ${DESTDIR}${PREFIX}/sbin/${f} .endfor .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/whowatch/Makefile b/sysutils/whowatch/Makefile index 4eaadcf7bbe..e058d8f1132 100644 --- a/sysutils/whowatch/Makefile +++ b/sysutils/whowatch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2005/04/11 21:47:30 tv Exp $ +# $NetBSD: Makefile,v 1.14 2010/01/27 20:35:10 joerg Exp $ # DISTNAME= whowatch-1.4 @@ -11,7 +11,13 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://wizard.ae.krakow.pl/~mike/\#whowatch COMMENT= Interactive who-like program displaying real-time user information +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES +INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 +INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin \ + mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} + .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/wipe/Makefile b/sysutils/wipe/Makefile index 0b83d5e6a9c..6af0e173a2b 100644 --- a/sysutils/wipe/Makefile +++ b/sysutils/wipe/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2005/04/11 21:47:30 tv Exp $ +# $NetBSD: Makefile,v 1.3 2010/01/27 20:37:48 joerg Exp $ # DISTNAME= wipe-2.2.0 @@ -11,6 +11,7 @@ HOMEPAGE= http://wipe.sourceforge.net/ COMMENT= Secure data destruction PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes diff --git a/sysutils/wipe/distinfo b/sysutils/wipe/distinfo index 163c3293c71..e2b8e43cf95 100644 --- a/sysutils/wipe/distinfo +++ b/sysutils/wipe/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.3 2005/11/10 16:31:25 joerg Exp $ +$NetBSD: distinfo,v 1.4 2010/01/27 20:37:48 joerg Exp $ SHA1 (wipe-2.2.0.tar.bz2) = 4dd18f260ecd91b726336b2788fa33db04d6691a RMD160 (wipe-2.2.0.tar.bz2) = 5d1861bd893e01e94205a7ac2efadb1c756da700 Size (wipe-2.2.0.tar.bz2) = 70134 bytes -SHA1 (patch-aa) = d40a3324eb5e8473d7a3a6acbc307c2ab63d60de +SHA1 (patch-aa) = 4d84f400528b88f376a374f159b72da4237f3b33 SHA1 (patch-ab) = 3116ad02dd0a3514afec440e46ab679395e4bbaa SHA1 (patch-ac) = df59d51a7ee781fd439db1bf2284fb34e26fb8fb SHA1 (patch-ad) = 6288118d9b4a70844bbc94a8e9dc4748fc9459f8 diff --git a/sysutils/wipe/patches/patch-aa b/sysutils/wipe/patches/patch-aa index 207e315793e..f24beb175d1 100644 --- a/sysutils/wipe/patches/patch-aa +++ b/sysutils/wipe/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2004/08/16 20:15:54 minskim Exp $ +$NetBSD: patch-aa,v 1.2 2010/01/27 20:37:48 joerg Exp $ --- Makefile.in.orig 2003-08-30 20:18:03.000000000 -0500 +++ Makefile.in @@ -10,17 +10,18 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/08/16 20:15:54 minskim Exp $ - $(INSTALL_BIN) -s $(BIN_OUT) $(bindir) - $(INSTALL) -d $(mandir)/man1 - $(INSTALL) -o root -m 0644 wipe.1 $(mandir)/man1/ -+ $(BSD_INSTALL_PROGRAM_DIR) $(bindir) -+ $(BSD_INSTALL_PROGRAM) $(BIN_OUT) $(bindir) -+ $(BSD_INSTALL_MAN_DIR) $(mandir)/man1 -+ $(BSD_INSTALL_MAN) wipe.1 $(mandir)/man1/ - rm -rf $(datadir)/doc/wipe* ++ $(BSD_INSTALL_PROGRAM_DIR) ${DESTDIR}$(bindir) ++ $(BSD_INSTALL_PROGRAM) $(BIN_OUT) ${DESTDIR}$(bindir) ++ $(BSD_INSTALL_MAN_DIR) ${DESTDIR}$(mandir)/man1 ++ $(BSD_INSTALL_MAN) wipe.1 ${DESTDIR}$(mandir)/man1/ +- rm -rf $(datadir)/doc/wipe* ++ rm -rf ${DESTDIR}$(datadir)/doc/wipe* - $(INSTALL) -d $(datadir)/doc/wipe -+ $(BSD_INSTALL_DATA_DIR) $(datadir)/doc/wipe ++ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(datadir)/doc/wipe for file in $(DOCS); do \ - $(INSTALL) -o root -m 0644 $$file $(datadir)/doc/wipe/; \ -+ $(BSD_INSTALL_DATA) $$file $(datadir)/doc/wipe/; \ ++ $(BSD_INSTALL_DATA) $$file ${DESTDIR}$(datadir)/doc/wipe/; \ done install_home: $(BIN_OUT) |