summaryrefslogtreecommitdiffstats
path: root/security/ftimes/Makefile
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-06-18 13:09:09 +0000
committerjylefort <jylefort@FreeBSD.org>2005-06-18 13:09:09 +0000
commit7d9d665267e5e94978b4e2fb8fe297c82daec40e (patch)
tree9c568ec71e2eac91bc58e1402a67ba92206b3c78 /security/ftimes/Makefile
parent22179565dd0445cf4c782ef077f3f2d403697341 (diff)
downloadFreeBSD-ports-7d9d665267e5e94978b4e2fb8fe297c82daec40e.zip
FreeBSD-ports-7d9d665267e5e94978b4e2fb8fe297c82daec40e.tar.gz
- Update to 3.5.0 [1]
- OPTIONSify - Use USE_PERL5_RUN - Add missing pcre dependency - Do not use -static PR: ports/82346 [1] Submitted by: maintainer [1]
Diffstat (limited to 'security/ftimes/Makefile')
-rw-r--r--security/ftimes/Makefile54
1 files changed, 43 insertions, 11 deletions
diff --git a/security/ftimes/Makefile b/security/ftimes/Makefile
index af3f1b4..0a29ff1 100644
--- a/security/ftimes/Makefile
+++ b/security/ftimes/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ftimes
-PORTVERSION= 3.4.0
+PORTVERSION= 3.5.0
CATEGORIES= security sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ftimes
@@ -15,24 +15,56 @@ EXTRACT_SUFX= .tgz
MAINTAINER= klm@uidzero.org
COMMENT= A system baselining and evidence collection tool
-GNU_CONFIGURE= YES
+GNU_CONFIGURE= yes
+USE_PERL5_RUN= yes
-.if defined(WITHOUT_SSL)
-CONFIGURE_ARGS+= --without-ssl
+MAN1= ftimes.1
+
+OPTIONS= DIG_TOOLS "install dig tools" on \
+ HASHDIG_TOOLS "install hashdig tools" on \
+ MAP_TOOLS "install map tools" on \
+ PCRE "PCRE support" on \
+ SSL "OpenSSL support" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_DIG_TOOLS)
+PLIST_SUB+= DIG_TOOLS=""
+CONFIGURE_ARGS+= --with-dig-tools
.else
-USE_OPENSSL= YES
-CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
+PLIST_SUB+= DIG_TOOLS="@comment "
.endif
-.if defined(NO_STATIC)
-CFLAGS+=
+.if defined(WITH_HASHDIG_TOOLS)
+PLIST_SUB+= HASHDIG_TOOLS=""
+CONFIGURE_ARGS+= --with-hashdig-tools
.else
-CFLAGS+= -static
+PLIST_SUB+= HASHDIG_TOOLS="@comment "
.endif
-MAN1= ftimes.1
+.if defined(WITH_MAP_TOOLS)
+PLIST_SUB+= MAP_TOOLS=""
+CONFIGURE_ARGS+= --with-map-tools
+.else
+PLIST_SUB+= MAP_TOOLS="@comment "
+.endif
+
+.if defined(WITH_PCRE)
+LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
+CONFIGURE_ARGS+= --with-pcre=${LOCALBASE}
+.else
+CONFIGURE_ARGS+= --without-pcre
+.endif
+
+.if defined(WITH_SSL)
+# we can't use USE_OPENSSL=yes after including bsd.port.pre.mk
+.include "${PORTSDIR}/Mk/bsd.openssl.mk"
+CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
+.else
+CONFIGURE_ARGS+= --without-ssl
+.endif
post-install:
${STRIP_CMD} ${PREFIX}/bin/ftimes
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud