aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-01 21:19:52 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-01 21:19:52 +0800
commit3fdb98ff17d93372c7375032162b960f1053a071 (patch)
treedaa4c488d19b2410c876cb4405067b21ab55218c /security
parentaa291517ea4818d24ec4afccfa681ef94f1b476d (diff)
downloadfreebsd-ports-gnome-3fdb98ff17d93372c7375032162b960f1053a071.tar.gz
freebsd-ports-gnome-3fdb98ff17d93372c7375032162b960f1053a071.tar.zst
freebsd-ports-gnome-3fdb98ff17d93372c7375032162b960f1053a071.zip
- Strip binary
- Add empty directory to plist
Diffstat (limited to 'security')
-rw-r--r--security/openvas-client/Makefile5
-rw-r--r--security/openvas-client/pkg-plist1
2 files changed, 4 insertions, 2 deletions
diff --git a/security/openvas-client/Makefile b/security/openvas-client/Makefile
index ca3b078db997..a2e29dcd620a 100644
--- a/security/openvas-client/Makefile
+++ b/security/openvas-client/Makefile
@@ -3,7 +3,7 @@
PORTNAME= openvas-client
PORTVERSION= 2.0.4
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= security
MASTER_SITES= http://wald.intevation.org/frs/download.php/595/
@@ -41,8 +41,11 @@ post-patch:
post-build:
@(cd ${WRKSRC}/po && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
+.endif
post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/OpenVAS-Client
+.if ${PORT_OPTIONS:MNLS}
@(cd ${WRKSRC}/po && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
.endif
diff --git a/security/openvas-client/pkg-plist b/security/openvas-client/pkg-plist
index 03f36410ba87..44532d9462eb 100644
--- a/security/openvas-client/pkg-plist
+++ b/security/openvas-client/pkg-plist
@@ -9,4 +9,3 @@ man/man1/openvasclient-mkcert.1.gz
%%NLS%%share/locale/he/LC_MESSAGES/OpenVAS-Client.mo
%%NLS%%share/locale/hr/LC_MESSAGES/OpenVAS-Client.mo
%%NLS%%share/locale/sv/LC_MESSAGES/OpenVAS-Client.mo
-@dirrmtry lib/openvas