From bb8a87c5692438331daa4e56660e6d7ac0110d64 Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Sun, 24 Mar 2013 05:47:35 +0000 Subject: [PATCH] - 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) --- net-mgmt/bsnmp-regex/Makefile | 22 +++++++++++++++------- net-mgmt/bsnmp-regex/distinfo | 4 ++-- net-mgmt/bsnmp-regex/pkg-descr | 2 +- 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 +.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/