summaryrefslogtreecommitdiffstats
path: root/net-mgmt/bsnmp-regex/Makefile
blob: 47b80b7f18bfcaed9373be4474b77d09285058e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: brock@cotcomsol.com
# $FreeBSD$

PORTNAME=	bsnmp-regex
PORTVERSION=	0.5
PORTREVISION=	1
CATEGORIES=	net-mgmt
MASTER_SITES=	http://memberwebs.com/stef/software/bsnmp-regex/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A bsnmpd module allowing creation of counters from log files

GNU_CONFIGURE=	yes

OPTIONS_DEFINE=	PCRE
PCRE_DESC=	Use PCRE instead of the default regex library

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPCRE}
LIB_DEPENDS+=		pcre.1:${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>
OpenPOWER on IntegriCloud