summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/mrtg/Makefile29
-rw-r--r--net/netgroup/Makefile7
-rw-r--r--net/netname/Makefile4
-rw-r--r--net/netname/distinfo4
-rw-r--r--net/netname/patches/patch-aa4
-rw-r--r--net/netpipes/Makefile4
-rw-r--r--net/netpipes/distinfo4
-rw-r--r--net/netpipes/patches/patch-aa4
-rw-r--r--net/nfdump/Makefile4
-rw-r--r--net/nidentd/Makefile10
-rw-r--r--net/nipper/Makefile4
-rw-r--r--net/nprobe/Makefile6
-rw-r--r--net/nstx/Makefile13
13 files changed, 59 insertions, 38 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile
index 93cdf2b9667..0419f682e44 100644
--- a/net/mrtg/Makefile
+++ b/net/mrtg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.94 2010/01/18 09:59:20 wiz Exp $
+# $NetBSD: Makefile,v 1.95 2010/02/11 22:14:30 joerg Exp $
DISTNAME= mrtg-2.16.2
PKGREVISION= 4
@@ -11,6 +11,8 @@ HOMEPAGE= http://oss.oetiker.ch/mrtg/
COMMENT= The Multi-Router Traffic Grapher
LICENSE= gnu-gpl-v2
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl:run
GNU_CONFIGURE= YES
@@ -40,7 +42,7 @@ SUBST_SED.files= -e "s|@PREFIX@|${PREFIX}|g"
SUBST_MESSAGE.files= Fixing default configuration files.
INSTALLATION_DIRS= bin libexec ${PKGMANDIR}/man1 ${EGDIR}
-INSTALLATION_DIRS+= share/mrtg share/doc/mrtg
+INSTALLATION_DIRS+= share/mrtg share/doc/mrtg ${PERL5_INSTALLVENDORLIB}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
@@ -53,34 +55,33 @@ post-extract:
do-install:
for FILE in ${WRKSRC}/doc/*.??*; do \
- ${INSTALL_DATA} $$FILE ${PREFIX}/share/doc/mrtg; \
+ ${INSTALL_DATA} $$FILE ${DESTDIR}${PREFIX}/share/doc/mrtg; \
done
- ${INSTALL_DATA} ${WRKSRC}/doc/mrtg*.1 ${PREFIX}/${PKGMANDIR}/man1/
+ ${INSTALL_DATA} ${WRKSRC}/doc/mrtg*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
for FILE in cfgmaker.1 indexmaker.1; do \
- ${INSTALL_DATA} ${WRKSRC}/doc/$$FILE ${PREFIX}/${PKGMANDIR}/man1/mrtg$$FILE; \
+ ${INSTALL_DATA} ${WRKSRC}/doc/$$FILE ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mrtg$$FILE; \
done
for FILE in CHANGES COPYING COPYRIGHT README; do \
- ${INSTALL_DATA} ${WRKSRC}/$$FILE ${PREFIX}/share/doc/mrtg; \
+ ${INSTALL_DATA} ${WRKSRC}/$$FILE ${DESTDIR}${PREFIX}/share/doc/mrtg; \
done
for FILE in ${WRKSRC}/images/*.png; do \
- ${INSTALL_DATA} $$FILE ${PREFIX}/share/mrtg; \
+ ${INSTALL_DATA} $$FILE ${DESTDIR}${PREFIX}/share/mrtg; \
done
- ${INSTALL_DATA} ${WRKDIR}/mrtg.conf.example ${EGDIR}/mrtg.conf
+ ${INSTALL_DATA} ${WRKDIR}/mrtg.conf.example ${DESTDIR}${EGDIR}/mrtg.conf
for FILE in netstat2mrtg sys2mrtg envstat2mrtg; do \
- ${INSTALL_SCRIPT} ${WRKDIR}/$$FILE ${PREFIX}/libexec; \
+ ${INSTALL_SCRIPT} ${WRKDIR}/$$FILE ${DESTDIR}${PREFIX}/libexec; \
done
- ${INSTALL_DATA_DIR} ${PERL5_INSTALLVENDORLIB}
${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/BER.pm \
${WRKSRC}/lib/mrtg2/SNMP_Session.pm \
${WRKSRC}/lib/mrtg2/SNMP_util.pm \
${WRKSRC}/lib/mrtg2/Net_SNMP_util.pm \
${WRKSRC}/lib/mrtg2/MRTG_lib.pm \
${WRKSRC}/lib/mrtg2/locales_mrtg.pm \
- ${PERL5_INSTALLVENDORLIB}
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/rateup ${PREFIX}/libexec/
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/mrtg ${PREFIX}/bin/
+ ${DESTDIR}${PERL5_INSTALLVENDORLIB}
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/rateup ${DESTDIR}${PREFIX}/libexec/
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/mrtg ${DESTDIR}${PREFIX}/bin/
for FILE in cfgmaker indexmaker; do \
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/$$FILE ${PREFIX}/bin/mrtg$$FILE; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/$$FILE ${DESTDIR}${PREFIX}/bin/mrtg$$FILE; \
done
.include "../../mk/bsd.pkg.mk"
diff --git a/net/netgroup/Makefile b/net/netgroup/Makefile
index ee6553ccab8..8096b817173 100644
--- a/net/netgroup/Makefile
+++ b/net/netgroup/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/11/03 17:00:38 tv Exp $
+# $NetBSD: Makefile,v 1.4 2010/02/11 22:17:29 joerg Exp $
#
DISTNAME= netgroup-0.0
@@ -8,8 +8,13 @@ MASTER_SITES= ftp://ftp.astron.com/pub/netgroup/
MAINTAINER= christos@NetBSD.org
COMMENT= Netgroup membership listing and testing functions
+PKG_DESTDIR_SUPPORT= user-destdir
+
NOT_FOR_PLATFORM= Interix-*-* # no netgroups
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
INSTALL_TARGET= inst-all
+INSTALL_MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin \
+ MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff --git a/net/netname/Makefile b/net/netname/Makefile
index 52fb929abd8..aa7b38c0b19 100644
--- a/net/netname/Makefile
+++ b/net/netname/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/12/24 08:47:31 obache Exp $
+# $NetBSD: Makefile,v 1.9 2010/02/11 22:18:35 joerg Exp $
#
DISTNAME= netname-1.7
@@ -9,6 +9,8 @@ MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/
MAINTAINER= kim@tac.nyc.ny.us
COMMENT= Return the canonical network name of a host
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
diff --git a/net/netname/distinfo b/net/netname/distinfo
index 083019de63b..30927fa0f63 100644
--- a/net/netname/distinfo
+++ b/net/netname/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2007/12/24 08:47:31 obache Exp $
+$NetBSD: distinfo,v 1.6 2010/02/11 22:18:35 joerg Exp $
SHA1 (netname-1.7.tar.gz) = cc3bca5ceb11bdb05f39a9904a5b46f02e3a8dff
RMD160 (netname-1.7.tar.gz) = 7809a80146e2096a010ec3c40a8e9c583255b919
Size (netname-1.7.tar.gz) = 2362 bytes
-SHA1 (patch-aa) = 998ca7e23281d474d3a262d426a4de5b67c9dfe4
+SHA1 (patch-aa) = abfaab5aaa6edc64d5ee39e5ce0439c4477ee4ac
diff --git a/net/netname/patches/patch-aa b/net/netname/patches/patch-aa
index 07ac017ea6f..2b5e39d20a8 100644
--- a/net/netname/patches/patch-aa
+++ b/net/netname/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2007/12/24 08:47:31 obache Exp $
+$NetBSD: patch-aa,v 1.4 2010/02/11 22:18:35 joerg Exp $
--- Makefile.orig 1999-09-15 03:15:12.000000000 +0000
+++ Makefile
@@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.3 2007/12/24 08:47:31 obache Exp $
-INSTALL = install
-
-DEST = /usr/local
-+DEST = $(PREFIX)
++DEST = ${DESTDIR}$(PREFIX)
BINDIR = $(DEST)/bin
-MANDIR = $(DEST)/man/man$(MANEXT)
+MANDIR = $(DEST)/$(PKGMANDIR)/man$(MANEXT)
diff --git a/net/netpipes/Makefile b/net/netpipes/Makefile
index 2d4b1e5c55e..1952be47763 100644
--- a/net/netpipes/Makefile
+++ b/net/netpipes/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/03/14 16:00:41 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2010/02/11 22:17:36 joerg Exp $
DISTNAME= netpipes-4.2-export
PKGNAME= ${DISTNAME:S/-export//}
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://web.purplefrog.com/~thoth/netpipes/netpipes.html
COMMENT= Utilities for communicating via sockets
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
USE_TOOLS+= tbl
diff --git a/net/netpipes/distinfo b/net/netpipes/distinfo
index cf3742a2cc1..8b8259652e0 100644
--- a/net/netpipes/distinfo
+++ b/net/netpipes/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.2 2005/12/18 22:02:35 joerg Exp $
+$NetBSD: distinfo,v 1.3 2010/02/11 22:17:36 joerg Exp $
SHA1 (netpipes-4.2-export.tar.gz) = e8a52168b2893a12d943cc31e5d3a7f0bb3502b0
RMD160 (netpipes-4.2-export.tar.gz) = 26c982c0b9e4382d96335f10a5e54813f776db29
Size (netpipes-4.2-export.tar.gz) = 74977 bytes
-SHA1 (patch-aa) = 08b395d0c47e4099461bd0c31f6bea600cab043e
+SHA1 (patch-aa) = 25c4760f1a50f1e120b691b49088f149b5c54029
SHA1 (patch-ab) = e2ff692a1153687c5c42da9df06cdc3012c6989a
SHA1 (patch-ac) = 4cc8af134622dec798094dc043ad65c1e1154cf0
SHA1 (patch-ad) = dfa0eeb9b6a723b6d91fa234e4cfeaad66e6ec8c
diff --git a/net/netpipes/patches/patch-aa b/net/netpipes/patches/patch-aa
index d8d5431ad7d..e2b0d93bd1f 100644
--- a/net/netpipes/patches/patch-aa
+++ b/net/netpipes/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/11/06 23:58:34 jlam Exp $
+$NetBSD: patch-aa,v 1.2 2010/02/11 22:17:36 joerg Exp $
--- Makefile.orig 1998-10-28 15:30:03.000000000 -0500
+++ Makefile
@@ -9,7 +9,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/11/06 23:58:34 jlam Exp $
-INSTROOT = /depot/collections0/netpipes4.1
-#INSTROOT = /usr/local
+#INSTROOT = /depot/collections0/netpipes4.1
-+INSTROOT = ${PREFIX}
++INSTROOT = ${DESTDIR}${PREFIX}
INSTBIN = ${INSTROOT}/bin
-INSTMAN = ${INSTROOT}/man
+INSTMAN = ${INSTROOT}/${PKGMANDIR}
diff --git a/net/nfdump/Makefile b/net/nfdump/Makefile
index e770100a099..2e9cb774f39 100644
--- a/net/nfdump/Makefile
+++ b/net/nfdump/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/02/24 20:38:49 seb Exp $
+# $NetBSD: Makefile,v 1.7 2010/02/11 22:18:47 joerg Exp $
#
DISTNAME= nfdump-1.5.7
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://nfdump.sourceforge.net/
COMMENT= Tools to collect and process netflow data
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
TEST_TARGET= test
USE_TOOLS+= lex
diff --git a/net/nidentd/Makefile b/net/nidentd/Makefile
index 5295f02d5c1..ce303d0f193 100644
--- a/net/nidentd/Makefile
+++ b/net/nidentd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/06/17 03:50:26 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2010/02/11 22:19:14 joerg Exp $
#
DISTNAME= nidentd-1.0
@@ -10,6 +10,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= symka@NetBSD.org
COMMENT= identd that supports IPv4, IPv6, NAT, fake and random
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= lsof>=4.61:../../sysutils/lsof
INSTALLATION_DIRS= etc libexec
@@ -21,8 +23,8 @@ do-build:
${MV} ${WRKSRC}/nidentd.tmp ${WRKSRC}/nidentd
do-install:
- ${INSTALL_DATA} ${WRKSRC}/nidentd.nat ${PREFIX}/etc/nidentd.nat.example ; \
- ${INSTALL_DATA} ${WRKSRC}/nidentd.fake ${PREFIX}/etc/nidentd.fake.example ; \
- ${INSTALL_SCRIPT} ${WRKSRC}/nidentd ${PREFIX}/libexec
+ ${INSTALL_DATA} ${WRKSRC}/nidentd.nat ${DESTDIR}${PREFIX}/etc/nidentd.nat.example ; \
+ ${INSTALL_DATA} ${WRKSRC}/nidentd.fake ${DESTDIR}${PREFIX}/etc/nidentd.fake.example ; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/nidentd ${DESTDIR}${PREFIX}/libexec
.include "../../mk/bsd.pkg.mk"
diff --git a/net/nipper/Makefile b/net/nipper/Makefile
index bf6497378c8..80ab3096ddb 100644
--- a/net/nipper/Makefile
+++ b/net/nipper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/07/17 18:00:22 adrianp Exp $
+# $NetBSD: Makefile,v 1.4 2010/02/11 22:19:49 joerg Exp $
#
DISTNAME= nipper-cli-0.12.0
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://nipper.sourceforge.net/
COMMENT= Performs security audits of network device configuration
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c++ c
USE_CMAKE= yes
diff --git a/net/nprobe/Makefile b/net/nprobe/Makefile
index 46267ea5d4d..c71b5e9cd3f 100644
--- a/net/nprobe/Makefile
+++ b/net/nprobe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/05/12 09:19:54 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2010/02/11 22:19:44 joerg Exp $
DISTNAME= nProbe-source-1.3.1
PKGREVISION= 4
@@ -11,6 +11,8 @@ MAINTAINER= cjs@NetBSD.org
HOMEPAGE= http://www.ntop.org/nProbe.html
COMMENT= Monitor a network interface and generate NetFlow data
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/nProbe
GNU_CONFIGURE= YES
USE_LIBTOOL= yes
@@ -23,7 +25,7 @@ INSTALLATION_DIRS= sbin
#CFLAGS+= -DMAX_DEMO_FLOWS=1000 -DDEMO_MODE
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nprobe ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/nprobe ${DESTDIR}${PREFIX}/sbin
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/nstx/Makefile b/net/nstx/Makefile
index eda2665342a..eacc13c88eb 100644
--- a/net/nstx/Makefile
+++ b/net/nstx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/11/16 02:09:49 minskim Exp $
+# $NetBSD: Makefile,v 1.4 2010/02/11 22:20:52 joerg Exp $
#
DISTNAME= nstx-1.1-beta6
@@ -11,10 +11,13 @@ MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://nstx.dereference.de/nstx/
COMMENT= Nameserver Transfer Protocol
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS+= bin share/doc/nstx
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nstxcd ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/nstxd ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nstx
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nstx/
+ ${INSTALL_PROGRAM} ${WRKSRC}/nstxcd ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/nstxd ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/nstx
.include "../../mk/bsd.pkg.mk"