597afc47ba
With hat: portmgr Sponsored by: Absolight
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# Created by: Tom Judge <tom@tomjudge.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= swfScanner
|
|
PORTVERSION= 0.5.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF/razorbacktm/Nuggets
|
|
PKGNAMEPREFIX= razorback-
|
|
DIST_SUBDIR= razorback
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Framework for an intelligence driven security - SWF Detection
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= librazorback_api.so:security/razorback-api \
|
|
libjson-c.so:devel/json-c
|
|
BUILD_DEPENDS= razorback-masterNugget>=0.5.0:security/razorback-masterNugget
|
|
RUN_DEPENDS= razorback-masterNugget>=0.5.0:security/razorback-masterNugget
|
|
|
|
RB_LIBDIR?= ${PREFIX}/lib/razorback
|
|
GNU_CONFIGURE= yes
|
|
USES= autoreconf libtool pkgconfig
|
|
USE_LDCONFIG= ${RB_LIBDIR}
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= DEBUG ASSERT
|
|
|
|
ASSERT_DESC= Enable Asserts
|
|
ASSERT_CONFIGURE_ENABLE= assert
|
|
DEBUG_CONFIGURE_ENABLE= debug
|
|
|
|
post-install:
|
|
${LN} -sf ${RB_LIBDIR}/swfScanner.so.2 \
|
|
${STAGEDIR}${RB_LIBDIR}/swfScanner.so.2.0.0
|
|
|
|
.include <bsd.port.mk>
|