- Add LICENSE

- Strip binaries
This commit is contained in:
Dmitry Marakasov 2015-06-01 13:19:34 +00:00
parent f55ed12d52
commit 5210757db1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388226

View File

@ -3,13 +3,16 @@
PORTNAME= openvas-libnasl
PORTVERSION= 2.0.1
PORTREVISION= 15
PORTREVISION= 16
CATEGORIES= security
MASTER_SITES= http://wald.intevation.org/frs/download.php/561/
MAINTAINER= ports@FreeBSD.org
COMMENT= NASL libraries for OpenVAS
LICENSE= GPLv2 # only
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgnutls.so:${PORTSDIR}/security/gnutls \
libgpg-error.so:${PORTSDIR}/security/libgpg-error \
@ -26,4 +29,8 @@ CONFIGURE_ARGS= --localstatedir=/var
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lgcrypt
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/openvas-nasl
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenvasnasl.so
.include <bsd.port.mk>