dfdb9cd5df
- Add empty directory to plist - Strip binaries
31 lines
772 B
Makefile
31 lines
772 B
Makefile
# Created by: Tomoyuki Sakurai <cherry@trombik.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openvas-server
|
|
PORTVERSION= 2.0.2
|
|
PORTREVISION= 5
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://wald.intevation.org/frs/download.php/593/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Security scanner: a fork of Nessus
|
|
|
|
LICENSE= GPLv2 # only
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libopenvas.so:${PORTSDIR}/security/openvas-libraries \
|
|
libopenvasnasl.so:${PORTSDIR}/security/openvas-libnasl
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gettext pkgconfig
|
|
USE_RC_SUBR= openvasd
|
|
|
|
CONFIGURE_ARGS= --localstatedir=/var
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib -lgcrypt
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/openvas-mkrand \
|
|
${STAGEDIR}${PREFIX}/sbin/openvasd
|
|
|
|
.include <bsd.port.mk>
|