From 3fdb98ff17d93372c7375032162b960f1053a071 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Mon, 1 Jun 2015 13:19:52 +0000 Subject: - Strip binary - Add empty directory to plist --- security/openvas-client/Makefile | 5 ++++- security/openvas-client/pkg-plist | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'security') 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 -- cgit