summaryrefslogtreecommitdiffstats
path: root/sysutils/cfengine2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cfengine2/Makefile')
-rw-r--r--sysutils/cfengine2/Makefile20
1 files changed, 16 insertions, 4 deletions
diff --git a/sysutils/cfengine2/Makefile b/sysutils/cfengine2/Makefile
index 31d29f3..976e903 100644
--- a/sysutils/cfengine2/Makefile
+++ b/sysutils/cfengine2/Makefile
@@ -6,15 +6,13 @@
#
PORTNAME= cfengine
-PORTVERSION= 1.5.4
+PORTVERSION= 1.6.1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iu.hioslo.no/pub/cfengine/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= cfengine
-MAINTAINER= jseger@FreeBSD.org
-
-FORBIDDEN= "Remote root vulnerability"
+MAINTAINER= ports@FreeBSD.org
.if defined(PACKAGE_BUILDING) && !exists(/usr/include/tcpd.h)
LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper
@@ -22,6 +20,20 @@ LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper
CFLAGS+= -pthread
USE_AUTOCONF=yes
+USE_GMAKE=yes
MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+MAN8= cfengine.8
+
+post-install:
+.for binary in cfengine cfd cfrun cfkey
+ strip ${PREFIX}/sbin/${binary}
+.endfor
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+.for docfile in cf-security.html cfengine-Reference.html cfengine-Tutorial.html
+ ${INSTALL_MAN} ${WRKSRC}/doc/${docfile} ${PREFIX}/share/doc/${PORTNAME}
+.endfor
+.endif
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud