freebsd-ports/security/greenbone-security-assistant8/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

34 lines
874 B
Makefile

# $FreeBSD$
PORTNAME?= greenbone-security-assistant8
PORTVERSION?= 6.0.12
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES?= http://wald.intevation.org/frs/download.php/2442/
DISTNAME= ${PORTNAME:S/${OPENVAS_VER}//}-${PORTVERSION}
DIST_SUBDIR= openvas${OPENVAS_VER}
MAINTAINER= acm@FreeBSD.org
COMMENT?= OpenVAS 8 web interface
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING.GPL
LIB_DEPENDS= libgnutls.so:security/gnutls \
libgcrypt.so:security/libgcrypt \
libopenvas_base.so:security/openvas${OPENVAS_VER}-libraries \
libmicrohttpd.so:www/libmicrohttpd
CONFLICTS?= ${PORTNAME:S/${OPENVAS_VER}/9/}-*
USES= cmake gettext gnome pkgconfig
USE_GNOME= glib20 libxml2 libxslt
USE_RC_SUBR= gsad
ETCDIR= ${PREFIX}/etc/openvas
OPENVAS_VER?= 8
post-install:
${MV} ${STAGEDIR}${ETCDIR}/gsad_log.conf ${STAGEDIR}${ETCDIR}/gsad_log.conf.sample
.include <bsd.port.mk>