2013-05-05 00:22:03 +02:00
|
|
|
# Created by: jrhett@netconsonance.com
|
2006-10-09 15:19:33 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cfengine
|
2012-04-25 03:33:04 +02:00
|
|
|
PORTVERSION= 3.2.3
|
2014-08-22 00:50:29 +02:00
|
|
|
PORTREVISION= 5
|
2012-04-25 03:33:04 +02:00
|
|
|
PORTEPOCH= 1
|
2006-10-09 15:19:33 +02:00
|
|
|
CATEGORIES= sysutils
|
2014-06-03 01:50:01 +02:00
|
|
|
MASTER_SITES= https://s3.amazonaws.com/cfengine.package-repos/tarballs/
|
2013-01-08 14:48:05 +01:00
|
|
|
PKGNAMESUFFIX= 32
|
2006-10-09 15:19:33 +02:00
|
|
|
|
2009-11-14 01:12:04 +01:00
|
|
|
MAINTAINER= cy@FreeBSD.org
|
2012-08-15 21:44:22 +02:00
|
|
|
# gjb@FreeBSD.org is an alternate committer for this port
|
2014-07-17 10:57:51 +02:00
|
|
|
COMMENT= Systems administration tool for networks
|
2012-08-31 18:26:07 +02:00
|
|
|
|
2012-08-15 19:28:43 +02:00
|
|
|
LATEST_LINK= cfengine32
|
2014-08-22 00:50:29 +02:00
|
|
|
FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES}
|
2012-04-19 06:21:15 +02:00
|
|
|
|
2013-07-03 17:12:04 +02:00
|
|
|
CONFLICTS= cfengine-[2]* cfengine-3.[345]* cfengine-devel-*
|
2006-10-09 15:19:33 +02:00
|
|
|
|
2009-02-10 22:37:55 +01:00
|
|
|
USE_RC_SUBR= cf-execd cf-serverd
|
2007-06-15 20:18:57 +02:00
|
|
|
|
2014-07-14 20:42:04 +02:00
|
|
|
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
2012-08-31 18:26:07 +02:00
|
|
|
|
2014-05-29 07:20:25 +02:00
|
|
|
USES= libtool
|
2014-08-22 00:50:29 +02:00
|
|
|
USE_BDB= 48+
|
2006-10-09 15:19:33 +02:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2009-11-14 01:12:04 +01:00
|
|
|
# EXAMPLESDIR= ${PREFIX}/share/examples/cfengine3
|
2012-04-25 03:33:04 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/cfengine3
|
2009-02-10 22:37:55 +01:00
|
|
|
CONFIGURE_ARGS= --docdir=${DOCSDIR} \
|
|
|
|
--htmldir=${DOCSDIR}/html \
|
2012-08-31 18:26:07 +02:00
|
|
|
--with-berkeleydb=${LOCALBASE} \
|
|
|
|
--with-pcre=${LOCALBASE}
|
2012-04-19 17:00:56 +02:00
|
|
|
|
2012-04-25 03:33:04 +02:00
|
|
|
CONFIGURE_ENV+= BERKELEY_DB_CFLAGS=-I${BDB_INCLUDE_DIR} \
|
|
|
|
BERKELEY_DB_LDFLAGS=-L${BDB_LIB_DIR} \
|
|
|
|
BERKELEY_DB_LIB=-l${BDB_LIB_NAME}
|
2009-02-10 22:37:55 +01:00
|
|
|
|
2007-03-20 04:34:48 +01:00
|
|
|
post-patch:
|
2008-07-02 05:08:53 +02:00
|
|
|
@${REINPLACE_CMD} -e '/^htmldir/s!=.*!= @htmldir@!'\
|
2009-02-10 22:37:55 +01:00
|
|
|
${WRKSRC}/docs/Makefile.in
|
2007-03-20 04:34:48 +01:00
|
|
|
|
2012-08-31 18:26:07 +02:00
|
|
|
.include <bsd.port.mk>
|