aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cfengine32
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2012-08-31 16:26:07 +0000
committerGlen Barber <gjb@FreeBSD.org>2012-08-31 16:26:07 +0000
commita447c15540e4f8b4fe715afcfed146609907def8 (patch)
treeefedb854309db09d12fecea8ec16d78cd8ab331e /sysutils/cfengine32
parent44bb515cac8917e636713b5a830bfa64abadfbc4 (diff)
downloadports-a447c15540e4f8b4fe715afcfed146609907def8.tar.gz
ports-a447c15540e4f8b4fe715afcfed146609907def8.zip
Notes
Diffstat (limited to 'sysutils/cfengine32')
-rw-r--r--sysutils/cfengine32/Makefile21
1 files changed, 8 insertions, 13 deletions
diff --git a/sysutils/cfengine32/Makefile b/sysutils/cfengine32/Makefile
index 43148bae4087..17075b90cf93 100644
--- a/sysutils/cfengine32/Makefile
+++ b/sysutils/cfengine32/Makefile
@@ -7,22 +7,24 @@
PORTNAME= cfengine
PORTVERSION= 3.2.3
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= sysutils
MASTER_SITES= http://cfengine.com/source-code/download?file=
-PKGNAMESUFFIX= -legacy
MAINTAINER= cy@FreeBSD.org
# gjb@FreeBSD.org is an alternate committer for this port
COMMENT= A systems administration tool for networks
+
LATEST_LINK= cfengine32
FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES}
-CONFLICTS= cfengine-[2]* cfengine-3.[34]* cfengine-devel-*
+CONFLICTS= cfengine-[2]* cfengine-3.[34]* cfengine-devel-*
USE_RC_SUBR= cf-execd cf-serverd
+LIB_DEPENDS= pcre.1:${PORTSDIR}/devel/pcre
+
WITH_BDB_VER?= 47
USE_BDB= yes
USE_OPENSSL= yes
@@ -31,20 +33,13 @@ GNU_CONFIGURE= yes
DOCSDIR= ${PREFIX}/share/doc/cfengine3
CONFIGURE_ARGS= --docdir=${DOCSDIR} \
--htmldir=${DOCSDIR}/html \
- --with-berkeleydb=${LOCALBASE}
+ --with-berkeleydb=${LOCALBASE} \
+ --with-pcre=${LOCALBASE}
CONFIGURE_ENV+= BERKELEY_DB_CFLAGS=-I${BDB_INCLUDE_DIR} \
BERKELEY_DB_LDFLAGS=-L${BDB_LIB_DIR} \
BERKELEY_DB_LIB=-l${BDB_LIB_NAME}
-OPTIONS= PCRE "Enable Perl-compatible regular expressions" on
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_PCRE)
-LIB_DEPENDS+= pcre.1:${PORTSDIR}/devel/pcre
-CONFIGURE_ARGS+= --with-pcre=${LOCALBASE}
-.endif
-
MAN8= cf-agent.8 cf-key.8 cf-monitord.8 \
cf-report.8 cf-serverd.8 cf-execd.8 \
cf-know.8 cf-promises.8 cf-runagent.8
@@ -54,4 +49,4 @@ post-patch:
@${REINPLACE_CMD} -e '/^htmldir/s!=.*!= @htmldir@!'\
${WRKSRC}/docs/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>