- Update to 3.3.8

- Convert to OptionsNG
 - Trim headers

Approved by:	cy (maintainer, via small keyboard),
		crees (mentor, implicit)
Feature safe:	yes
This commit is contained in:
Glen Barber 2012-10-25 02:38:27 +00:00
parent 3bddfe1459
commit 58f0e4e005
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306368
2 changed files with 18 additions and 26 deletions

View File

@ -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

View File

@ -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