aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/bsnmp-regex/Makefile
blob: 951fefbdb4d1307629d72b7574cea971c6d3b531 (plain) (blame)
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
35
36
# New ports collection makefile for:    bsnmp-regex
# Date created:             11 February 2007
# Whom:                 brock@cotcomsol.com
#
# $FreeBSD$
#

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

MAINTAINER= brock@cotcomsol.com
COMMENT=    A bsnmpd module allowing creation of counters from log files

GNU_CONFIGURE=  yes

OPTIONS=    PCRE    "Use PCRE instead of the default regex library" Off

.include <bsd.port.options.mk>

.if defined(WITH_PCRE)
LIB_DEPENDS+=       pcre.0:${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>