freebsd-ports/security/libprelude/Makefile
Piotr Kubaj d200276187 security/libprelude: unbreak on armv{6,7}
Builds fine.

Approved by:	mentors (implicit approval)
2019-07-14 09:06:26 +00:00

48 lines
1.2 KiB
Makefile

# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
# $FreeBSD$
PORTNAME= libprelude
PORTVERSION= 1.2.6
CATEGORIES= security
MASTER_SITES= http://www.prelude-siem.org/attachments/download/410/
MAINTAINER= koobs@FreeBSD.org
COMMENT= Sensor support library from Prelude SIEM
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libltdl.so:devel/libltdl \
libgnutls.so:security/gnutls \
libgcrypt.so:security/libgcrypt
OPTIONS_DEFINE= DOCS PERL PYTHON
OPTIONS_SUB= yes
USES= charsetfix gettext-runtime gmake iconv libtool pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-lua \
--without-python3 \
--without-swig \
--without-valgrind \
ac_cv_path_RUBY=
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
ETCDIR= ${PREFIX}/etc/prelude
PERL_CONFIGURE_WITH= perl=${PERL}
PERL_USES= perl5
PYTHON_CONFIGURE_WITH= python2=${PYTHON_CMD}
PYTHON_USES= python:2.7
PYTHON_PLIST_SUB= VERSION="${PORTVERSION}"
post-install:
.for f in client.conf global.conf idmef-client.conf tls.conf
${MV} ${STAGEDIR}${ETCDIR}/default/${f} \
${STAGEDIR}${ETCDIR}/default/${f}.sample
.endfor
.include <bsd.port.mk>