pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/argus Convert to options framework.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4eb9537f020b
branches: trunk
changeset: 495399:4eb9537f020b
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Jun 08 14:48:13 2005 +0000
description:
Convert to options framework.
USE_PERL5 -> USE_TOOLS+=perl.
diffstat:
net/argus/Makefile | 14 +++-----------
net/argus/options.mk | 11 +++++++++++
2 files changed, 14 insertions(+), 11 deletions(-)
diffs (48 lines):
diff -r 15918f6a8c72 -r 4eb9537f020b net/argus/Makefile
--- a/net/argus/Makefile Wed Jun 08 14:43:43 2005 +0000
+++ b/net/argus/Makefile Wed Jun 08 14:48:13 2005 +0000
@@ -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-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 @@
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 -r 15918f6a8c72 -r 4eb9537f020b net/argus/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/argus/options.mk Wed Jun 08 14:48:13 2005 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index