Skip to content

Commit

Permalink
- Update to 0.6
Browse files Browse the repository at this point in the history
- 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)
  • Loading branch information
koobs committed Mar 24, 2013
1 parent 174c82f commit 4eff4f0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
22 changes: 15 additions & 7 deletions net-mgmt/bsnmp-regex/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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= [email protected]
COMMENT= A bsnmpd module allowing creation of counters from log files
MAINTAINER= [email protected]
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
Expand Down
4 changes: 2 additions & 2 deletions net-mgmt/bsnmp-regex/distinfo
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion net-mgmt/bsnmp-regex/pkg-descr
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit 4eff4f0

Please sign in to comment.