diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-10 17:47:59 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-10 17:47:59 +0000 |
commit | 646c0ed7cb6b15e03ab0df3d0046a40c813137f6 (patch) | |
tree | 2aa4ab8fd3339bbbd82ec5e22943f7b92a19b9c9 /net | |
parent | 6349537452cc743484a4b2cd03e4735bdd763fc5 (diff) | |
download | pkgsrc-646c0ed7cb6b15e03ab0df3d0046a40c813137f6.tar.gz |
DESTDIR support. Install the former content of /var to
${PREFIX}/etc/argus for now, so that it is included in the package.
Someone else can clean this up. Bump revision.
Diffstat (limited to 'net')
-rw-r--r-- | net/argus/Makefile | 12 | ||||
-rw-r--r-- | net/argus/PLIST | 26 |
2 files changed, 35 insertions, 3 deletions
diff --git a/net/argus/Makefile b/net/argus/Makefile index 3e6674e4700..67ad6ccb9d8 100644 --- a/net/argus/Makefile +++ b/net/argus/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.12 2007/03/18 18:59:05 adam Exp $ +# $NetBSD: Makefile,v 1.13 2009/02/10 17:47:59 joerg Exp $ DISTNAME= argus-3.4 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.tcp4me.com/code/argus-archive/ EXTRACT_SUFX= .tgz @@ -9,6 +10,8 @@ MAINTAINER= argus@tcp4me.com HOMEPAGE= http://argus.tcp4me.com/ COMMENT= System and Network Monitoring Application +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= fping>=2.4b2:../../net/fping DEPENDS+= p5-GD>=2.11:../../graphics/p5-GD DEPENDS+= p5-Net-SSLeay-[0-9]*:../../security/p5-Net-SSLeay @@ -22,12 +25,17 @@ CONFIGURE_SCRIPT= ${WRKSRC}/Configure CONFIGURE_ARGS+= --bin_dir ${PREFIX}/bin CONFIGURE_ARGS+= --sbin_dir ${PREFIX}/sbin CONFIGURE_ARGS+= --lib_dir ${PREFIX}/lib/argus -CONFIGURE_ARGS+= --data_dir ${VARBASE}/argus +CONFIGURE_ARGS+= --data_dir ${PREFIX}/etc/argus CONFIGURE_ENV+= PERL=${TOOLS_PERL5:Q} REPLACE_PERL+= ${WRKSRC}/built/argus-config RCD_SCRIPTS= argusd +INSTALL_MAKE_FLAGS+= INSTALL_BIN=${DESTDIR}${PREFIX}/bin \ + INSTALL_SBIN=${DESTDIR}${PREFIX}/sbin \ + INSTALL_LIB=${DESTDIR}${PREFIX}/lib/argus \ + INSTALL_DATA=${DESTDIR}${PREFIX}/etc/argus + .include "options.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/argus/PLIST b/net/argus/PLIST index 6392d411911..128c72b821d 100644 --- a/net/argus/PLIST +++ b/net/argus/PLIST @@ -1,5 +1,15 @@ -@comment $NetBSD: PLIST,v 1.3 2007/03/18 18:45:14 adam Exp $ +@comment $NetBSD: PLIST,v 1.4 2009/02/10 17:47:59 joerg Exp $ bin/argus-config +etc/argus/config.example +etc/argus/locale/de_DE +etc/argus/locale/el_gr +etc/argus/locale/eubonics +etc/argus/locale/piglatin +etc/argus/locale/sp_ar +etc/argus/locale/template +etc/argus/log +etc/argus/notno +etc/argus/users.example lib/argus/Alias.pm lib/argus/Argus/Agent.pm lib/argus/Argus/Asterisk.pm @@ -72,3 +82,17 @@ share/examples/rc.d/argusd @dirrm lib/argus/Argus/RPC @dirrm lib/argus/Argus @dirrm lib/argus +@exec ${MKDIR} %D/etc/argus/stats +@dirrm etc/argus/stats +@exec ${MKDIR} %D/etc/argus/perl +@dirrm etc/argus/perl +@exec ${MKDIR} %D/etc/argus/notify +@dirrm etc/argus/notify +@dirrm etc/argus/locale +@exec ${MKDIR} %D/etc/argus/html +@dirrm etc/argus/html +@exec ${MKDIR} %D/etc/argus/gdata +@dirrm etc/argus/gdata +@exec ${MKDIR} %D/etc/argus/gcache +@dirrm etc/argus/gcache +@dirrm etc/argus |