aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/bsnmp-regex
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2013-03-24 05:47:35 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2013-03-24 05:47:35 +0000
commitbb8a87c5692438331daa4e56660e6d7ac0110d64 (patch)
tree88fd6a4f81fd1324b4599bc34fe37c39aefb1482 /net-mgmt/bsnmp-regex
parent8b519d1fe90a816b1dd37a88e04b7390b614cea8 (diff)
downloadports-bb8a87c5692438331daa4e56660e6d7ac0110d64.tar.gz
ports-bb8a87c5692438331daa4e56660e6d7ac0110d64.zip
Notes
Diffstat (limited to 'net-mgmt/bsnmp-regex')
-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/