security/openvas-plugins: fix build

- Fix build, add pkgconfig to USES [1]
- Trim Makefile header

PR:		ports/179811 [1]
Submitted by:	John Marino <draco@marino.st>
This commit is contained in:
William Grzybowski 2013-06-21 17:48:03 +00:00
parent 24e305725e
commit a9db62d9e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321486

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: openvas-plugins
# Date created: 2008-04-27
# Whom: Tomoyuki Sakurai <cherry@trombik.org>
#
# Created by: Tomoyuki Sakurai <cherry@trombik.org>
# $FreeBSD$
#
PORTNAME= openvas-plugins
PORTVERSION= 1.0.7
@ -23,6 +19,7 @@ RUN_DEPENDS= openvasd:${PORTSDIR}/security/openvas-server \
${LOCALBASE}/bin/gmd5sum:${PORTSDIR}/sysutils/coreutils \
${LOCALBASE}/bin/rsync:${PORTSDIR}/net/rsync
USES= pkgconfig
GNU_CONFIGURE= yes
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
CPPFLAGS+= "`${LIBNET_CONFIG} --cflags`"