# New ports collection makefile for: razorback-clamavNugget # Date created: 2011/06/8 # Whom: Tom Judge # # $FreeBSD$ # PORTNAME= clamavNugget PORTVERSION= 0.5.0 CATEGORIES= security MASTER_SITES= SF/razorbacktm/Nuggets PKGNAMEPREFIX= razorback- DIST_SUBDIR= razorback MAINTAINER= tj@FreeBSD.org COMMENT= Framework for an intelligence driven security - ClamAV Detection LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= razorback_api:${PORTSDIR}/security/razorback-api \ clamav:${PORTSDIR}/security/clamav BUILD_DEPENDS= razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget RUN_DEPENDS= razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget OPTIONS_DEFINE= DEBUG ASSERT ASSERT_DESC= Enable Asserts .include RB_LIBDIR?= ${PREFIX}/lib/razorback GNU_CONFIGURE= yes USE_AUTOTOOLS= libtool USE_LDCONFIG= ${RB_LIBDIR} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug .endif .if ${PORT_OPTIONS:MASSERT} CONFIGURE_ARGS+=--enable-assert .endif post-install: ${LN} -sf ${RB_LIBDIR}/clamavNugget.so.2 ${RB_LIBDIR}/clamavNugget.so.2.0.0 @if [ ! -f ${PREFIX}/etc/razorback/clamav.conf ]; then \ ${CP} -p ${PREFIX}/etc/razorback/clamav.conf.sample ${PREFIX}/etc/razorback/clamav.conf ; \ fi .include