diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-08 14:48:13 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-08 14:48:13 +0000 |
commit | d918866e3fe2529da38f23eab56e6c76deb367ad (patch) | |
tree | 2cb6bf813b1cd3a476228aae62bd2c0f677f7467 /net | |
parent | c2c2d866b6420ba77146f5a1013445938332bad6 (diff) | |
download | pkgsrc-d918866e3fe2529da38f23eab56e6c76deb367ad.tar.gz |
Convert to options framework.
USE_PERL5 -> USE_TOOLS+=perl.
Diffstat (limited to 'net')
-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 |