freebsd-ports/sysutils/cfengine3-legacy/Makefile
Michael Haro 985047d96a Per the instructions of the software, cfengine is now dependent on BerkleyDB 3.
In fact, the only thing (that I can tell anyway) that uses the DB functions is
cfd. I'm guessing most people don't use it, especially since I haven't heard
any complaints about it.

Also, it was putting some of the docs in / (for some really strange reason).
That should be fixed too. They are now put in {PREFIX}/share/doc/cfengine,
depending on NOPORTSDOC (somewhat reverse logic than normal, but it made the
amount of changes less).

Finally, strip the binaries.

PR:		26189
Submitted by:	    maintainer
2001-04-02 10:21:20 +00:00

40 lines
809 B
Makefile

# New ports collection makefile for: cfengine
# Date created: March 16, 1998
# Whom: jseger@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= cfengine
PORTVERSION= 1.6.3
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iu.hioslo.no/pub/cfengine/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= gordont@bluemtn.net
LIB_DEPENDS= db3:${PORTSDIR}/databases/db3
.if defined(PACKAGE_BUILDING) && !exists(/usr/include/tcpd.h)
LIB_DEPENDS+= wrap.7:${PORTSDIR}/security/tcp_wrapper
.endif
USE_GMAKE= yes
USE_AUTOMAKE= yes
MAN8= cfengine.8
pre-configure:
@cd ${WRKSRC} && aclocal && autoheader
post-install:
.if defined(NOPORTDOCS)
@${RM} -rf ${PREFIX}/share/doc/${PORTNAME}
.endif
.for binary in cfd cfengine cfrun cfkey
@strip ${PREFIX}/sbin/${binary}
.endfor
.include <bsd.port.mk>