# $Id: Portfile,v 1.1 2003/07/20 00:23:13 fkr Exp $ PortSystem 1.0 name cfengine version 2.0.7p3 categories sysutils maintainers robert@or.homeip.net description a tool for setting up and maintaining computer systems long_description Cfengine, or the configuration engine is an autonomous agent \ and a middle to high level policy language for building \ expert systems which administrate and configure large \ computer networks. master_sites ftp://ftp.iu.hio.no/pub/cfengine/ \ http://sunsite.utk.edu/ftp/pub/cfengine/cfengine-ftp/ \ ftp://ftp.cfengine.webmotion.net/pub/cfengine/ checksums md5 f21b3775ad2a5288ac8f794a9f36f168 depends_lib lib:libdb:db4 patch { cd ${worksrcpath} reinplace "s%/usr/local%${prefix}%g" configure reinplace "s%BERKELEY_DB_LIB=\"-l\$v\"%if \[ \"x\$v\" == \"xdb4\" ]; \ then BERKELEY_DB_LIB=\"-ldb-4\"; else &; fi%" configure } configure.args --with-berkeleydb=yes