diff --git a/net/openwbem/Makefile b/net/openwbem/Makefile index 301002a0cedb..4b141af30746 100644 --- a/net/openwbem/Makefile +++ b/net/openwbem/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/12/27 18:54:18 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2010/02/11 22:46:18 joerg Exp $ DISTNAME= openwbem-3.2.2 CATEGORIES= net devel @@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.openwbem.org/ COMMENT= Web-based Enterprise Management software +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes CONFIGURE_ARGS+= ac_cv_path_TRUE_PATHNAME=true ac_cv_path_FALSE_PATHNAME=false USE_TOOLS+= gmake diff --git a/net/openwbem/distinfo b/net/openwbem/distinfo index fb3c40c0e5ba..1220428783bc 100644 --- a/net/openwbem/distinfo +++ b/net/openwbem/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2007/12/27 18:54:18 joerg Exp $ +$NetBSD: distinfo,v 1.3 2010/02/11 22:46:18 joerg Exp $ SHA1 (openwbem-3.2.2.tar.gz) = 3272e5cbcfb2a864cccf71e15e0da0f6623420bb RMD160 (openwbem-3.2.2.tar.gz) = 31ce8c80d47ff7539315e3978b8c1c493bd17f35 @@ -6,5 +6,5 @@ Size (openwbem-3.2.2.tar.gz) = 2919455 bytes SHA1 (patch-aa) = 33cd8d21ed698b511fc662686a7bf7abbf85c232 SHA1 (patch-ab) = c83f632376f12d7378b1f013a0db5d4ae63f15bf SHA1 (patch-ac) = ea2f928b13eaef464e133b0e510fa4b8cfee95b9 -SHA1 (patch-ad) = 52d05017718446076417c140b14ef6296ae2e8e4 +SHA1 (patch-ad) = e8b7c3a3b7fbab6052a9e866c8a1c9f1653db590 SHA1 (patch-ae) = a9d923bdf6e52acff83588605f2913b196c92038 diff --git a/net/openwbem/patches/patch-ad b/net/openwbem/patches/patch-ad index f0a69bb47f0c..166be920abe8 100644 --- a/net/openwbem/patches/patch-ad +++ b/net/openwbem/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.1.1.1 2007/10/29 15:05:21 agc Exp $ +$NetBSD: patch-ad,v 1.2 2010/02/11 22:46:18 joerg Exp $ --- etc/Makefile.in 2007/10/29 14:15:16 1.1 +++ etc/Makefile.in 2007/10/29 14:17:27 @@ -7,7 +7,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2007/10/29 15:05:21 agc Exp $ SUBDIRS = init sysconfig pam.d openwbemconf_DATA = openwbem.conf ssleay.cnf owgencert -openwbemconfdir = $(sysconfdir)/openwbem -+openwbemconfdir = ${DESTDIR}$(prefix)/share/examples/openwbem ++openwbemconfdir = $(prefix)/share/examples/openwbem EXTRA_DIST = openwbem.conf.sh owgencert.sh ssleay.cnf CLEANFILES = openwbem.conf owgencert SUFFIXES = .sh diff --git a/net/sitescooper/Makefile b/net/sitescooper/Makefile index ade2467f0ab6..25586e22939b 100644 --- a/net/sitescooper/Makefile +++ b/net/sitescooper/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/01/07 09:14:06 rillig Exp $ +# $NetBSD: Makefile,v 1.15 2010/02/11 22:46:38 joerg Exp $ # DISTNAME= sitescooper-2.2.8 @@ -10,6 +10,8 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://sitescooper.cx/ COMMENT= Retrieve stories from websites and convert to Palm readable format +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= p5-libwww>=5.46:../../www/p5-libwww DEPENDS+= pilotmgr-[0-9]*:../../comms/pilotmgr @@ -19,7 +21,8 @@ NO_BUILD= yes CONF_FILES+= ${PREFIX}/share/examples/sitescooper/sitescooper.cf \ ${PREFIX}/etc/sitescooper.cf \ -INSTALLATION_DIRS= bin etc ${PKGMANDIR}/man1 +INSTALLATION_DIRS= bin etc ${PKGMANDIR}/man1 share/doc/sitescooper \ + share/examples/sitescooper share/sitescooper/lib do-configure: .for file in sitescooper rss-to-site subs-to-site @@ -37,19 +40,16 @@ do-configure: do-install: .for file in sitescooper rss-to-site subs-to-site - ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/doc/${file}.man ${PREFIX}/${PKGMANDIR}/man1/${file}.1 + ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/doc/${file}.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${file}.1 .endfor - ${INSTALL_DATA_DIR} ${PREFIX}/share/sitescooper/lib - ${CP} -R ${WRKSRC}/site_samples ${PREFIX}/share/sitescooper - ${CP} -R ${WRKSRC}/lib/* ${PREFIX}/share/sitescooper/lib - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sitescooper - ${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/sitescooper + ${CP} -R ${WRKSRC}/site_samples ${DESTDIR}${PREFIX}/share/sitescooper + ${CP} -R ${WRKSRC}/lib/* ${DESTDIR}${PREFIX}/share/sitescooper/lib + ${CP} -R ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/sitescooper .for file in CHANGES.txt README.txt sitescooper.spec - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/sitescooper + ${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/share/doc/sitescooper .endfor - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sitescooper ${INSTALL_DATA} ${WRKSRC}/sitescooper.cf \ - ${PREFIX}/share/examples/sitescooper/sitescooper.cf + ${DESTDIR}${PREFIX}/share/examples/sitescooper/sitescooper.cf .include "../../mk/bsd.pkg.mk" diff --git a/net/slurm/Makefile b/net/slurm/Makefile index ed734c38f256..a95a26161832 100644 --- a/net/slurm/Makefile +++ b/net/slurm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2009/05/19 21:16:27 obache Exp $ +# $NetBSD: Makefile,v 1.14 2010/02/11 22:47:52 joerg Exp $ # DISTNAME= slurm-0.3.3 @@ -9,16 +9,18 @@ MAINTAINER= mail@eckigesauge.de HOMEPAGE= http://www.raisdorf.net/projects/slurm/ COMMENT= Realtime traffic statistics +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/slurm do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/slurm ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/slurm.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/slurm - for theme in black blue cyan foo; do \ - ${INSTALL_DATA} ${WRKSRC}/themes/$${theme}.theme ${PREFIX}/share/slurm ; \ + ${INSTALL_PROGRAM} ${WRKSRC}/slurm ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/slurm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + for theme in black blue cyan foo; do \ + ${INSTALL_DATA} ${WRKSRC}/themes/$${theme}.theme \ + ${DESTDIR}${PREFIX}/share/slurm ; \ done .include "../../devel/ncurses/buildlink3.mk" diff --git a/net/sniffit/Makefile b/net/sniffit/Makefile index f13d1ec6525a..b10a0d688d3b 100644 --- a/net/sniffit/Makefile +++ b/net/sniffit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2007/01/07 09:14:06 rillig Exp $ +# $NetBSD: Makefile,v 1.32 2010/02/11 22:47:49 joerg Exp $ # DISTNAME= sniffit.0.3.5 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://reptile.rug.ac.be/~coder/sniffit/sniffit.html COMMENT= Packet sniffer program +PKG_DESTDIR_SUPPORT= user-destdir + NOT_FOR_PLATFORM= *-*-alpha # severe LP64 loss GNU_CONFIGURE= YES @@ -18,9 +20,9 @@ BUILD_TARGET= INSTALLATION_DIRS= ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 sbin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sniffit ${PREFIX}/sbin/sniffit - ${INSTALL_MAN} ${WRKSRC}/sniffit.5 ${PREFIX}/${PKGMANDIR}/man5 - ${INSTALL_MAN} ${WRKSRC}/sniffit.8 ${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/sniffit ${DESTDIR}${PREFIX}/sbin/sniffit + ${INSTALL_MAN} ${WRKSRC}/sniffit.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 + ${INSTALL_MAN} ${WRKSRC}/sniffit.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/speedtouch/Makefile b/net/speedtouch/Makefile index 72ffdec61f1e..41ef49c941d0 100644 --- a/net/speedtouch/Makefile +++ b/net/speedtouch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2009/08/25 11:57:45 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2010/02/11 22:50:54 joerg Exp $ DISTNAME= speedtouch-1.3.1 PKGREVISION= 4 @@ -6,6 +6,8 @@ CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=speedtouch/} DISTFILES= ${DISTNAME}.tar.bz2 +PKG_DESTDIR_SUPPORT= user-destdir + # # Firmware license and link from: # http://www.speedtouch.com/driver_upgrade_lx_3.0.1.2.htm @@ -45,6 +47,8 @@ pre-extract: SAMPLECONF= ${WRKSRC}/doc-bsd/ppp.conf.sample INSTALLATION_DIRS= libdata/speedtouch +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \ + mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} post-build: ${CP} ${SAMPLECONF} ${SAMPLECONF}.pre diff --git a/net/stripes/Makefile b/net/stripes/Makefile index ebe81e74540a..c219b5eff6cb 100644 --- a/net/stripes/Makefile +++ b/net/stripes/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2006/10/17 07:00:19 rillig Exp $ +# $NetBSD: Makefile,v 1.13 2010/02/11 22:50:43 joerg Exp $ # DISTNAME= stripes-2.1 @@ -9,6 +9,8 @@ MAINTAINER= kim@tac.nyc.ny.us HOMEPAGE= http://www.gw.com/sw/stripes/ COMMENT= Looking Glass for Zebra and Cisco Routers +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= {p5-CGI>=2.66,perl>=5.6.1nb2}:../../www/p5-CGI DEPENDS+= p5-Net-Telnet>=3.02:../../net/p5-Net-Telnet @@ -23,4 +25,8 @@ REPLACE_PERL= lg.pl INSTALLATION_DIRS= libexec/cgi-bin ${PKGMANDIR}/man8 +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/lg ${DESTDIR}${PREFIX}/libexec/cgi-bin + ${INSTALL_MAN} ${WRKSRC}/lg.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + .include "../../mk/bsd.pkg.mk" diff --git a/net/sup/Makefile b/net/sup/Makefile index 4f82ba8da2ac..16706f248c8a 100644 --- a/net/sup/Makefile +++ b/net/sup/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2008/05/30 14:25:26 christos Exp $ +# $NetBSD: Makefile,v 1.7 2010/02/11 22:52:52 joerg Exp $ # DISTNAME= sup-0.3 @@ -8,6 +8,8 @@ MASTER_SITES= ftp://ftp.astron.com/pub/sup/ MAINTAINER= christos@NetBSD.org COMMENT= Network file distribution/synchronisation utility -AUTO_MKDIRS= yes +PKG_DESTDIR_SUPPORT= user-destdir + +INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 .include "../../mk/bsd.pkg.mk" diff --git a/net/sup/distinfo b/net/sup/distinfo index 5fd144381755..04e588c6f329 100644 --- a/net/sup/distinfo +++ b/net/sup/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.8 2009/07/20 18:19:25 hasso Exp $ +$NetBSD: distinfo,v 1.9 2010/02/11 22:52:52 joerg Exp $ SHA1 (sup-0.3.tar.gz) = 4672de4c7ab2b7b382acfd1b39efb83536b485ae RMD160 (sup-0.3.tar.gz) = 81a0c200a0c82bf57e5f258a2b99ccad5db56c65 Size (sup-0.3.tar.gz) = 95124 bytes -SHA1 (patch-aa) = 75aa0c905c7dc72832cc2a6861bdef66f000fa34 +SHA1 (patch-aa) = 2281eec2a4c2ff3501b3507caf9161cc45e73330 SHA1 (patch-ab) = 94801c8650bd6920a1b58d07abf24445ac9245f7 diff --git a/net/sup/patches/patch-aa b/net/sup/patches/patch-aa index f837acabcdcc..9461b9f8172d 100644 --- a/net/sup/patches/patch-aa +++ b/net/sup/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2007/12/20 20:29:37 christos Exp $ +$NetBSD: patch-aa,v 1.3 2010/02/11 22:52:52 joerg Exp $ --- Makefile.orig 2007-12-20 15:16:34.000000000 -0500 +++ Makefile 2007-12-20 15:21:40.000000000 -0500 @@ -20,9 +20,9 @@ $NetBSD: patch-aa,v 1.2 2007/12/20 20:29:37 christos Exp $ - install -cs -m 555 -o bin -g bin ${PROGRAMS} ${NETBSD_BINDIR} - install -c -m 444 -o bin -g bin ${MAN1} ${NETBSD_MAN1} - install -c -m 444 -o bin -g bin ${MAN8} ${NETBSD_MAN8} -+ ${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${NETBSD_BINDIR} -+ ${BSD_INSTALL_MAN} ${MAN1} ${NETBSD_MAN1} -+ ${BSD_INSTALL_MAN} ${MAN8} ${NETBSD_MAN8} ++ ${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${DESTDIR}${NETBSD_BINDIR} ++ ${BSD_INSTALL_MAN} ${MAN1} ${DESTDIR}${NETBSD_MAN1} ++ ${BSD_INSTALL_MAN} ${MAN8} ${DESTDIR}${NETBSD_MAN8} netcrypt.c: @echo "[ Using netcryptvoid.c ]" diff --git a/net/tcpdmerge/Makefile b/net/tcpdmerge/Makefile index 208c2eaf56bd..c111597a7334 100644 --- a/net/tcpdmerge/Makefile +++ b/net/tcpdmerge/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/11/09 09:36:41 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2010/02/11 22:54:36 joerg Exp $ DISTNAME= tcpdmerge-1.0 CATEGORIES= net @@ -9,8 +9,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://phantom.nemoto.ecei.tohoku.ac.jp/~akiraka/tcpdmerge/ COMMENT= Merge two tcpdump output files +PKG_DESTDIR_SUPPORT= user-destdir + +USE_BSD_MAKEFILE= yes + WRKSRC= ${WRKDIR} -MAKE_ENV+= ${BSD_MAKE_ENV} + +INSTALLATION_DIRS+= bin post-extract: cp ${FILESDIR}/Makefile ${WRKSRC}