diff options
author | wiz <wiz> | 2005-06-08 14:48:13 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-06-08 14:48:13 +0000 |
commit | 1da30a69a393a8198ed4387b9016d7b6d7b7e58d (patch) | |
tree | 2cb6bf813b1cd3a476228aae62bd2c0f677f7467 /net/argus | |
parent | f36431d2fd69773f52f03965ce650a4eca1e1882 (diff) | |
download | pkgsrc-1da30a69a393a8198ed4387b9016d7b6d7b7e58d.tar.gz |
Convert to options framework.
USE_PERL5 -> USE_TOOLS+=perl.
Diffstat (limited to 'net/argus')
-rw-r--r-- | net/argus/Makefile | 14 | ||||
-rw-r--r-- | net/argus/options.mk | 11 |
2 files changed, 14 insertions, 11 deletions
diff --git a/net/argus/Makefile b/net/argus/Makefile index ad903d06264..554e14fd0b7 100644 --- a/net/argus/Makefile +++ b/net/argus/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2005/04/11 21:46:44 tv Exp $ +# $NetBSD: Makefile,v 1.5 2005/06/08 14:48:13 wiz Exp $ # DISTNAME= argus-3.3 @@ -18,7 +18,7 @@ BUILD_DEPENDS+= p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC BUILD_DEPENDS+= p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES BUILD_DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI -USE_PERL5= yes +USE_TOOLS+= perl USE_PKGINSTALL= yes HAS_CONFIGURE= yes CONFIGURE_SCRIPT= ${WRKSRC}/Configure @@ -30,13 +30,5 @@ CONFIGURE_ARGS+= --data_dir ${VARBASE}/argus RCD_SCRIPTS= argusd -.include "../../mk/bsd.prefs.mk" - -BUILD_DEFS+= USE_INET6 - -.if !empty(USE_INET6:M[Yy][Ee][Ss]) -BUILD_DEPENDS+= fping6-[0-9]*:../../net/fping6 -BUILD_DEPENDS+= p5-Socket6>=0.12:../../net/p5-Socket6 -.endif - +.include "options.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/argus/options.mk b/net/argus/options.mk new file mode 100644 index 00000000000..a3036042dc3 --- /dev/null +++ b/net/argus/options.mk @@ -0,0 +1,11 @@ +# $NetBSD: options.mk,v 1.1 2005/06/08 14:48:13 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.argus +PKG_SUPPORTED_OPTIONS= inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +BUILD_DEPENDS+= fping6-[0-9]*:../../net/fping6 +BUILD_DEPENDS+= p5-Socket6>=0.12:../../net/p5-Socket6 +.endif |