b6450d4ca7
- Update to 1.0.18 and pkg-plist accordingly - Add LICENSE (BSD3CLAUSE) and LICENSE_FILE - Add TEST_DEPENDS and regression-test target - Perl is not required, remove USE_PERL and from USES - Split LDFLAGS from CONFIGURE_ENV, they're already set there - Add libmemcachedprotocol to CONFIGURE_ARGS (Now default: off) - Add OPTIONS for hash functions, debug and dtrace - pkg-descr: Update WWW: URL - Add patches for: * alloca.h include not found on FreeBSD * cinttypes include location * clang compatibility - Strip shared libraries manually since upstream install-strip target is fail Changes: https://launchpad.net/libmemcached/+announcements [1] https://bugs.launchpad.net/libmemcached/+bug/1245562 [2] https://bugs.launchpad.net/libmemcached/+bug/1400560 Approved by: Mikhail Tsatsenko <m.tsatsenko@gmail.com> (maintainer, via email)
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# Created by: Tom Judge <tom@tomjudge.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dispatcher
|
|
PORTVERSION= 0.5.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF/razorbacktm/Dispatcher
|
|
PKGNAMEPREFIX= razorback-
|
|
DIST_SUBDIR= razorback
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Framework for an intelligence driven security - Dispatcher
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= librazorback_api.so:${PORTSDIR}/security/razorback-api \
|
|
libjson-c.so:${PORTSDIR}/devel/json-c \
|
|
libmemcached.so:${PORTSDIR}/databases/libmemcached \
|
|
libcli.so:${PORTSDIR}/devel/libcli
|
|
|
|
USES= libtool pathfix pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
USE_AUTOTOOLS= autoconf
|
|
USE_MYSQL= yes
|
|
USE_RC_SUBR= dispatcher dispatcher_safed
|
|
SUB_FILES= pkg-message
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
USERS?= razorback
|
|
GROUPS?= razorback
|
|
|
|
OPTIONS_DEFINE= DEBUG ASSERT ACTIVEMQ
|
|
|
|
ASSERT_DESC= Enable Asserts
|
|
ASSERT_CONFIGURE_ENABLE= assert
|
|
ACTIVEMQ_DESC= ActiveMQ runs locally
|
|
DEBUG_CONFIGURE_ENABLE= debug
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MACTIVEMQ}
|
|
RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/activemq:${PORTSDIR}/net/activemq
|
|
SUB_LIST= ACTIVEMQ="activemq " ACTIVEMQ_LOC="local" \
|
|
ACTIVEMQ_LOCATION="in the ActiveMQ configuration directory:" \
|
|
ACTIVEMQ_CONFIG="${LOCALBASE}/etc/activemq/"
|
|
.else
|
|
SUB_LIST= ACTIVEMQ="" ACTIVEMQ_LOC="remote" \
|
|
ACTIVEMQ_LOCATION="on the remote ActiveMQ host." \
|
|
ACTIVEMQ_CONFIG=""
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|