1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Update to 2.1.20

- Utilize USE_BDB infrastructure instead of using home-grown autodetection
  mechanism
- Remove unneeded USE_REINPLACE
This commit is contained in:
Sergei Kolobov 2006-04-30 23:30:22 +00:00
parent f7161f3303
commit 2970e8d096
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160986
3 changed files with 8 additions and 19 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= cfengine
PORTVERSION= 2.1.17
PORTVERSION= 2.1.20
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iu.hio.no/pub/cfengine/ \
${MASTER_SITE_GNU}
@ -15,11 +15,13 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= sergei@FreeBSD.org
COMMENT= A systems administration tool for networks
USE_BDB= yes
USE_OPENSSL= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-berkeleydb=${LOCALBASE} --with-docs
CPPFLAGS+= -I${BDB_INCLUDE_DIR}
LDFLAGS+= -L${BDB_LIB_DIR} -l${BDB_LIB_NAME}
.if !defined(NOPORTDOCS)
INFO= cfengine-Anomalies cfengine-Reference cfengine-Tutorial
@ -30,18 +32,4 @@ MAN8= cfagent.8 cfengine.8 cfenvd.8 cfenvgraph.8 cfetoolcheck.8 \
cfetoolinfo.8 cfetoolupdate.8 cfexecd.8 cfkey.8 \
cfrun.8 cfservd.8 cfshow.8
WITH_BDB_VER?= 42
.if ${WITH_BDB_VER} == 42
LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42
CPPFLAGS+= -I${LOCALBASE}/include/db42
LDFLAGS+= -L${LOCALBASE}/lib/db42 -ldb-4.2
.elif ${WITH_BDB_VER} == 41
LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41
CPPFLAGS+= -I${LOCALBASE}/include/db41
LDFLAGS+= -L${LOCALBASE}/lib/db41 -ldb41
.else
IGNORE= WITH_BDB_VER must be 41 or 42
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (cfengine-2.1.17.tar.gz) = 3b2c2cc852901382053133227f092535
SHA256 (cfengine-2.1.17.tar.gz) = 2136d3f0bfae1055bf7000276a7c3701b3a2ca3eb7ce025ffb04f23de3ea9072
SIZE (cfengine-2.1.17.tar.gz) = 3613861
MD5 (cfengine-2.1.20.tar.gz) = 2510349fef9ccc47d80f133d4a35322e
SHA256 (cfengine-2.1.20.tar.gz) = 61bdca73ab60f7a707e02490ada8a357505121759ab0c2a4e6c14afc391253a0
SIZE (cfengine-2.1.20.tar.gz) = 3684594

View File

@ -1,5 +1,6 @@
@comment $FreeBSD$
sbin/cfagent
sbin/cfconvert
sbin/cfdoc
sbin/cfenvd
sbin/cfenvgraph