aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cfengine33
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2012-10-25 02:38:27 +0000
committerGlen Barber <gjb@FreeBSD.org>2012-10-25 02:38:27 +0000
commit58f0e4e0053c9ec95cbf723ce92346537277b3fc (patch)
treefada5e48a5cc3554067efc910ce76b8ca2609ff8 /sysutils/cfengine33
parent3bddfe1459bf96620082ebd0d3d9e74b72a3bff9 (diff)
downloadports-58f0e4e0053c9ec95cbf723ce92346537277b3fc.tar.gz
ports-58f0e4e0053c9ec95cbf723ce92346537277b3fc.zip
Notes
Diffstat (limited to 'sysutils/cfengine33')
-rw-r--r--sysutils/cfengine33/Makefile40
-rw-r--r--sysutils/cfengine33/distinfo4
2 files changed, 18 insertions, 26 deletions
diff --git a/sysutils/cfengine33/Makefile b/sysutils/cfengine33/Makefile
index c75675797eda..2c09c7b57bc1 100644
--- a/sysutils/cfengine33/Makefile
+++ b/sysutils/cfengine33/Makefile
@@ -1,13 +1,9 @@
-
-# Date created: February 2, 2009
-# Whom: jrhett@netconsonance.com
-#
+# Created by: jrhett@netconsonance.com
# $FreeBSD$
#
PORTNAME= cfengine
-PORTVERSION= 3.3.5
-PORTREVISION= 1
+PORTVERSION= 3.3.8
CATEGORIES= sysutils
MASTER_SITES= http://cfengine.com/source-code/download?file=
@@ -35,46 +31,42 @@ CONFIGURE_ARGS= --docdir=${DOCSDIR} \
LIB_DEPENDS+= pcre.1:${PORTSDIR}/devel/pcre
-OPTIONS= TOKYOCABINET "Enable TokyoCabinet support" on \
- QDBM "Enable QDBM support" off \
- PGSQL "Enable PostgreSQL connector" off \
- MYSQL "Enable MySQL connector" off \
- LIBVIRT "Enable libvirt compatibility" off
+OPTIONS_DEFINE= PGSQL MYSQL LIBVIRT
+OPTIONS_SINGLE= DB
+OPTIONS_SINGLE_DB= TOKYOCABINET QDBM
+TOKYOCABINET_DESC= Enable TokyoCabinet database backend
+QDBM_DESC= Enable QDBM database backend
+PGSQL_DESC= Enable PostgreSQL integration
+MYSQL_DESC= Enable MySQL integration
+LIBVIRT_DESC= Enable libvirt integration
+OPTIONS_DEFAULT=TOKYOCABINET
.include <bsd.port.pre.mk>
-.if defined(WITH_TOKYOCABINET) && defined(WITH_QDBM)
-BROKEN= TOKYOCABINET and QDBM are mutuallly exclusive
-.endif
-
-.if !defined(WITH_TOKYOCABINET) && !defined(WITH_QDBM)
-BROKEN= TOKYOCABINET or QDBM must be defined
-.endif
-
-.if defined(WITH_TOKYOCABINET)
+.if ${PORT_OPTIONS:MTOKYOCABINET}
CONFIGURE_ARGS+= --with-tokyocabinet=${LOCALBASE}
LIB_DEPENDS+= tokyocabinet.9:${PORTSDIR}/databases/tokyocabinet
.endif
-.if defined(WITH_QDBM)
+.if ${PORT_OPTIONS:MQDBM}
CONFIGURE_ARGS+= --with-qdbm=${LOCALBASE}
LIB_DEPENDS+= qdbm.14:${PORTSDIR}/databases/qdbm
.endif
-.if defined(WITH_PGSQL)
+.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
CONFIGURE_ARGS+= --with-postgresql=${LOCALBASE}
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql${PGSQL_VER}-client
.endif
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
LIB_DEPENDS+= mysqlclient:${PORTSDIR}/${_MYSQL_CLIENT}
LDFLAGS+= -L${LOCALBASE}/lib/mysql
.endif
-.if defined(WITH_LIBVIRT)
+.if ${PORT_OPTIONS:MLIBVIRT}
CONFIGURE_ARGS+= --with-libvirt=${LOCALBASE}
LIB_DEPENDS+= virt:${PORTSDIR}/devel/libvirt
.endif
diff --git a/sysutils/cfengine33/distinfo b/sysutils/cfengine33/distinfo
index aaa3aa59e0de..46c7c1613f50 100644
--- a/sysutils/cfengine33/distinfo
+++ b/sysutils/cfengine33/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cfengine-3.3.5.tar.gz) = f7d948d85c54ee7b49a03d9b1b8b8cc6d27cdb6a0a9af8f9fefa6485856af6e9
-SIZE (cfengine-3.3.5.tar.gz) = 1254473
+SHA256 (cfengine-3.3.8.tar.gz) = e63d20c49314a36a4e74fe4dc53a1ce2f4e665359f5a1a1d52731dff629ecf6b
+SIZE (cfengine-3.3.8.tar.gz) = 1256694