- 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)
This commit is contained in:
Kubilay Kocak 2013-03-24 05:47:35 +00:00
parent 8b519d1fe9
commit bb8a87c569
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315101
3 changed files with 18 additions and 10 deletions

View file

@ -2,23 +2,31 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= bsnmp-regex PORTNAME= bsnmp-regex
PORTVERSION= 0.5 PORTVERSION= 0.6
PORTREVISION= 2
CATEGORIES= net-mgmt 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 MAINTAINER= koobs@FreeBSD.org
COMMENT= A bsnmpd module allowing creation of counters from log files COMMENT= bsnmpd module allowing creation of counters from log files
LICENSE= BSD
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CPPFLAGS+= "-I${LOCALBASE}/include"
OPTIONS_DEFINE= PCRE OPTIONS_DEFINE= DEBUG PCRE
PCRE_DESC= Use PCRE instead of the default regex library PCRE_DESC= Use PCRE instead of the default regex library
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+=--enable-debug
.else
CONFIGURE_ARGS+=--disable-debug
.endif
.if ${PORT_OPTIONS:MPCRE} .if ${PORT_OPTIONS:MPCRE}
LIB_DEPENDS+= pcre.3:${PORTSDIR}/devel/pcre LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre
CONFIGURE_ARGS+= --enable-pcre CONFIGURE_ARGS+= --enable-pcre
.else .else
CONFIGURE_ARGS+= --disable-pcre CONFIGURE_ARGS+= --disable-pcre

View file

@ -1,2 +1,2 @@
SHA256 (bsnmp-regex-0.5.tar.gz) = fefebcb5412c22f7f18cd81177b91310481d3e8d553caf42b9cbf60a0d79cd4f SHA256 (bsnmp-regex-0.6.tar.gz) = 5e0ac1112a62c40719e031c04061f5154e5f43d2d6515c4987e774b34ea146bc
SIZE (bsnmp-regex-0.5.tar.gz) = 293547 SIZE (bsnmp-regex-0.6.tar.gz) = 326579

View file

@ -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 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. 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/