1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/security/openvas-plugins/Makefile
Tijl Coosemans 3ab1b8443e - Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and
  adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
  developers)

PR:		191274
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-07-23 09:54:02 +00:00

37 lines
1.1 KiB
Makefile

# Created by: Tomoyuki Sakurai <cherry@trombik.org>
# $FreeBSD$
PORTNAME= openvas-plugins
PORTVERSION= 1.0.7
PORTREVISION= 7
CATEGORIES= security
MASTER_SITES= http://wald.intevation.org/frs/download.php/588/
MAINTAINER= ports@FreeBSD.org
COMMENT= Plugins for OpenVAS
BUILD_DEPENDS= openvasd:${PORTSDIR}/security/openvas-server
LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet \
libopenvas.so:${PORTSDIR}/security/openvas-libraries \
libopenvasnasl.so:${PORTSDIR}/security/openvas-libnasl \
libgnutls.so:${PORTSDIR}/security/gnutls
RUN_DEPENDS= openvasd:${PORTSDIR}/security/openvas-server \
${LOCALBASE}/bin/gmd5sum:${PORTSDIR}/sysutils/coreutils \
${LOCALBASE}/bin/rsync:${PORTSDIR}/net/rsync
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
USES= libtool pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var
CPPFLAGS+= "`${LIBNET_CONFIG} --cflags`" -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|-lnet|`${LIBNET_CONFIG} --libs`|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|' \
${WRKSRC}/plugins/3com_hub/Makefile
.include <bsd.port.mk>