aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2013-03-24 13:47:35 +0800
committerkoobs <koobs@FreeBSD.org>2013-03-24 13:47:35 +0800
commit4eff4f0cd572acc441aaef52adb4e5101f4431e9 (patch)
tree88fd6a4f81fd1324b4599bc34fe37c39aefb1482 /net-mgmt
parent174c82f75a771af292593eb4b9e00a6a70844cd0 (diff)
downloadfreebsd-ports-gnome-4eff4f0cd572acc441aaef52adb4e5101f4431e9.tar.gz
freebsd-ports-gnome-4eff4f0cd572acc441aaef52adb4e5101f4431e9.tar.zst
freebsd-ports-gnome-4eff4f0cd572acc441aaef52adb4e5101f4431e9.zip
- Update to 0.6
- Take maintainership - Add LICENSE - Add CPPFLAGS to fix pcre preprocessor warning - Add DEBUG OPTION - Update WWW: and Tab->space in pkg-descr - Update COMMENT according to standards - Remove ABI version from pcre LIB_DEPENDS PR: ports/169027 Approved by: rm (mentor)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/bsnmp-regex/Makefile22
-rw-r--r--net-mgmt/bsnmp-regex/distinfo4
-rw-r--r--net-mgmt/bsnmp-regex/pkg-descr2
3 files changed, 18 insertions, 10 deletions
diff --git a/net-mgmt/bsnmp-regex/Makefile b/net-mgmt/bsnmp-regex/Makefile
index d9740e53cdd2..1ad582b94712 100644
--- a/net-mgmt/bsnmp-regex/Makefile
+++ b/net-mgmt/bsnmp-regex/Makefile
@@ -2,23 +2,31 @@
# $FreeBSD$
PORTNAME= bsnmp-regex
-PORTVERSION= 0.5
-PORTREVISION= 2
+PORTVERSION= 0.6
CATEGORIES= net-mgmt
-MASTER_SITES= http://memberwebs.com/stef/software/bsnmp-regex/
+MASTER_SITES= http://thewalter.net/stef/software/bsnmp-regex/
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A bsnmpd module allowing creation of counters from log files
+MAINTAINER= koobs@FreeBSD.org
+COMMENT= bsnmpd module allowing creation of counters from log files
+
+LICENSE= BSD
GNU_CONFIGURE= yes
+CPPFLAGS+= "-I${LOCALBASE}/include"
-OPTIONS_DEFINE= PCRE
+OPTIONS_DEFINE= DEBUG PCRE
PCRE_DESC= Use PCRE instead of the default regex library
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDEBUG}
+CONFIGURE_ARGS+=--enable-debug
+.else
+CONFIGURE_ARGS+=--disable-debug
+.endif
+
.if ${PORT_OPTIONS:MPCRE}
-LIB_DEPENDS+= pcre.3:${PORTSDIR}/devel/pcre
+LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre
CONFIGURE_ARGS+= --enable-pcre
.else
CONFIGURE_ARGS+= --disable-pcre
diff --git a/net-mgmt/bsnmp-regex/distinfo b/net-mgmt/bsnmp-regex/distinfo
index 298ae24f2d0b..c9aca7b460cf 100644
--- a/net-mgmt/bsnmp-regex/distinfo
+++ b/net-mgmt/bsnmp-regex/distinfo
@@ -1,2 +1,2 @@
-SHA256 (bsnmp-regex-0.5.tar.gz) = fefebcb5412c22f7f18cd81177b91310481d3e8d553caf42b9cbf60a0d79cd4f
-SIZE (bsnmp-regex-0.5.tar.gz) = 293547
+SHA256 (bsnmp-regex-0.6.tar.gz) = 5e0ac1112a62c40719e031c04061f5154e5f43d2d6515c4987e774b34ea146bc
+SIZE (bsnmp-regex-0.6.tar.gz) = 326579
diff --git a/net-mgmt/bsnmp-regex/pkg-descr b/net-mgmt/bsnmp-regex/pkg-descr
index 57159b5d1d1f..afbf702782cc 100644
--- a/net-mgmt/bsnmp-regex/pkg-descr
+++ b/net-mgmt/bsnmp-regex/pkg-descr
@@ -3,4 +3,4 @@ files, program output or other text data. The counters use regular expressions
to count the number of matches, or parse out specific text/numbers. The
resulting data can then be queried or graphed with the usual SNMP tools.
-WWW: http://memberwebs.com/stef/software/bsnmp-regex/
+WWW: http://thewalter.net/stef/software/bsnmp-regex/