freebsd-ports/net-mgmt/bsnmp-regex/Makefile
Kubilay Kocak bb8a87c569 - 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)
2013-03-24 05:47:35 +00:00

42 lines
895 B
Makefile

# Created by: brock@cotcomsol.com
# $FreeBSD$
PORTNAME= bsnmp-regex
PORTVERSION= 0.6
CATEGORIES= net-mgmt
MASTER_SITES= http://thewalter.net/stef/software/bsnmp-regex/
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= 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:${PORTSDIR}/devel/pcre
CONFIGURE_ARGS+= --enable-pcre
.else
CONFIGURE_ARGS+= --disable-pcre
.endif
MAN1= sockin.1
MAN5= bsnmp-regex.conf.5
MAN8= bsnmp-regex.8
PLIST_FILES= bin/sockin lib/snmp_regex.so lib/snmp_regex.so.0 \
lib/snmp_regex.a lib/snmp_regex.la
.include <bsd.port.mk>