2002-07-30 20:34:24 +02:00
|
|
|
# New ports collection makefile for: cfengine2
|
|
|
|
# Date created: 2002-07-29
|
|
|
|
# Whom: fanf@FreeBSD.org
|
1998-03-17 03:13:27 +01:00
|
|
|
#
|
1999-08-31 04:00:46 +02:00
|
|
|
# $FreeBSD$
|
1998-03-17 03:13:27 +01:00
|
|
|
#
|
|
|
|
|
2005-03-14 16:20:09 +01:00
|
|
|
PORTNAME= cfengine
|
2005-11-08 17:37:09 +01:00
|
|
|
PORTVERSION= 2.1.17
|
1998-03-17 03:13:27 +01:00
|
|
|
CATEGORIES= sysutils
|
2002-04-20 03:12:33 +02:00
|
|
|
MASTER_SITES= ftp://ftp.iu.hio.no/pub/cfengine/ \
|
2000-04-25 22:57:38 +02:00
|
|
|
${MASTER_SITE_GNU}
|
2001-01-23 09:58:29 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1998-03-17 03:13:27 +01:00
|
|
|
|
2005-09-12 14:44:28 +02:00
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
2003-12-12 15:51:48 +01:00
|
|
|
COMMENT= A systems administration tool for networks
|
2000-10-11 08:49:39 +02:00
|
|
|
|
2002-07-30 20:34:24 +02:00
|
|
|
USE_OPENSSL= yes
|
2005-10-07 08:58:31 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-12-12 15:51:48 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-10-12 02:11:04 +02:00
|
|
|
CONFIGURE_ARGS= --with-berkeleydb=${LOCALBASE} --with-docs
|
1998-03-17 03:13:27 +01:00
|
|
|
|
2005-10-07 08:58:31 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-11-21 03:57:29 +01:00
|
|
|
INFO= cfengine-Anomalies cfengine-Reference cfengine-Tutorial
|
2005-10-07 08:58:31 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN8= cfagent.8 cfengine.8 cfenvd.8 cfenvgraph.8 cfetoolcheck.8 \
|
|
|
|
cfetoolcreate.8 cfetooldump.8 cfetoolgraph.8 cfetoolimport.8 \
|
|
|
|
cfetoolinfo.8 cfetoolupdate.8 cfexecd.8 cfkey.8 \
|
2005-03-14 16:20:09 +01:00
|
|
|
cfrun.8 cfservd.8 cfshow.8
|
2001-01-21 01:38:16 +01:00
|
|
|
|
2004-10-12 02:11:04 +02:00
|
|
|
WITH_BDB_VER?= 42
|
|
|
|
|
|
|
|
.if ${WITH_BDB_VER} == 42
|
2005-03-14 16:20:09 +01:00
|
|
|
LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/db42
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib/db42 -ldb-4.2
|
2004-10-12 02:11:04 +02:00
|
|
|
.elif ${WITH_BDB_VER} == 41
|
2005-03-14 16:20:09 +01:00
|
|
|
LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/db41
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib/db41 -ldb41
|
2004-10-12 02:11:04 +02:00
|
|
|
.else
|
2005-09-12 14:44:28 +02:00
|
|
|
IGNORE= WITH_BDB_VER must be 41 or 42
|
2004-10-12 02:11:04 +02:00
|
|
|
.endif
|
|
|
|
|
2005-07-08 21:21:14 +02:00
|
|
|
.include <bsd.port.mk>
|