summaryrefslogtreecommitdiff
path: root/security/openvas8-scanner/Makefile
blob: bebb1f8de8b332699c1687e7d2e2b44f68eb3756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Created by: Tomoyuki Sakurai <cherry@trombik.org>
# $FreeBSD$

PORTNAME?=	openvas8-scanner
PORTVERSION?=	5.0.8
PORTREVISION=	3
CATEGORIES=	security
MASTER_SITES?=	http://wald.intevation.org/frs/download.php/2436/
DISTNAME=	${PORTNAME:S/${OPENVAS_VER}//}-${PORTVERSION}
DIST_SUBDIR=	openvas${OPENVAS_VER}

MAINTAINER=	acm@FreeBSD.org
COMMENT?=	OpenVAS 8 scanner

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING.GPLv2

LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
		libopenvas_base.so:security/openvas${OPENVAS_VER}-libraries
RUN_DEPENDS=	redis-server:databases/redis \
		curl:ftp/curl \
		rsync:net/rsync \
		wget:ftp/wget \
		nmap:security/nmap

CONFLICTS?=	${PORTNAME:S/${OPENVAS_VER}/9/}-*

USES=		cmake gettext-runtime gnome pkgconfig
USE_GNOME=	glib20
USE_RC_SUBR=	openvassd
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME:S/${OPENVAS_VER}//}

OPENVAS_VER?=	8

OPTIONS_DEFINE=	DOCS

post-install:
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>