aboutsummaryrefslogtreecommitdiff
path: root/security/bro
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-04-01 14:25:16 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-04-01 14:25:16 +0000
commit597afc47baba19000afd8ec4880a2c47975b0367 (patch)
treeeb9a806366343ecfc3a5146e70b637f09d4e62c7 /security/bro
parent8d6597e0bb9591c40fc6d0c6e2159fca51178d56 (diff)
downloadports-597afc47baba19000afd8ec4880a2c47975b0367.tar.gz
ports-597afc47baba19000afd8ec4880a2c47975b0367.zip
Notes
Diffstat (limited to 'security/bro')
-rw-r--r--security/bro/Makefile36
1 files changed, 18 insertions, 18 deletions
diff --git a/security/bro/Makefile b/security/bro/Makefile
index bbc88b6341de..f1613d399ca3 100644
--- a/security/bro/Makefile
+++ b/security/bro/Makefile
@@ -11,9 +11,9 @@ COMMENT= System for detecting network intruders in real-time
LICENSE= BSD3CLAUSE
-BUILD_DEPENDS= ${LOCALBASE}/bin/bison:${PORTSDIR}/devel/bison \
- ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
-LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP
+BUILD_DEPENDS= ${LOCALBASE}/bin/bison:devel/bison \
+ ${LOCALBASE}/bin/swig:devel/swig13
+LIB_DEPENDS= libGeoIP.so:net/GeoIP
USES= cmake:outsource compiler:c++11-lang perl5 python
@@ -69,7 +69,7 @@ OPTIONS_EXCLUDE=NLS DOCS
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MBROCCOLI}
-LIB_DEPENDS+= libbroccoli.so:${PORTSDIR}/security/broccoli
+LIB_DEPENDS+= libbroccoli.so:security/broccoli
.endif
.if ${PORT_OPTIONS:MBROCTL}
@@ -79,10 +79,10 @@ IGNORE= the BROCTL option requires BROCCOLI
.if empty(PORT_OPTIONS:MIPSUMDUMP)
IGNORE= the BROCTL option requires IPSUMDUMP
.endif
-BUILD_DEPENDS+= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
- ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
-RUN_DEPENDS+= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
- ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
+BUILD_DEPENDS+= ${LOCALBASE}/bin/bash:shells/bash \
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3
+RUN_DEPENDS+= ${LOCALBASE}/bin/bash:shells/bash \
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3
PLIST_SUB+= BROCTL=""
USE_LDCONFIG= yes
CMAKE_ARGS+= -D INSTALL_BROCTL:BOOL=true
@@ -93,13 +93,13 @@ PLIST_SUB+= BROCTL="@comment "
.if ${PORT_OPTIONS:MBROKER}
CMAKE_ARGS+= -D ENABLE_BROKER:BOOL=true
-BUILD_DEPENDS+= caf>=0.14.1:${PORTSDIR}/devel/caf
+BUILD_DEPENDS+= caf>=0.14.1:devel/caf
PLIST_SUB+= BROKER=""
.if ${OSVERSION} < 1001000
# Bro 2.4 with BROKER requires caf, clang and libc++
-BUILD_DEPENDS+= ${LOCALBASE}/bin/clang++34:${PORTSDIR}/lang/clang34 \
- ${LOCALBASE}/lib/c++/libstdc++.so:${PORTSDIR}/devel/libc++
+BUILD_DEPENDS+= ${LOCALBASE}/bin/clang++34:lang/clang34 \
+ ${LOCALBASE}/lib/c++/libstdc++.so:devel/libc++
CXXFLAGS+= -stdlib=libc++ -I${LOCALBASE}/include/c++/v1 -L${LOCALBASE}/lib
CXX= ${LOCALBASE}/bin/clang++34
@@ -116,24 +116,24 @@ CMAKE_ARGS+= -D ENABLE_DEBUG:BOOL=false
.endif
.if ${PORT_OPTIONS:MLBL_HF}
-RUN_DEPENDS+= ${LOCALBASE}/bin/hf:${PORTSDIR}/sysutils/lbl-hf
+RUN_DEPENDS+= ${LOCALBASE}/bin/hf:sysutils/lbl-hf
.endif
.if ${PORT_OPTIONS:MLBL_CF}
-RUN_DEPENDS+= ${LOCALBASE}/bin/cf:${PORTSDIR}/sysutils/lbl-cf
+RUN_DEPENDS+= ${LOCALBASE}/bin/cf:sysutils/lbl-cf
.endif
.if ${PORT_OPTIONS:MPERFTOOLS}
CMAKE_ARGS+= -D ENABLE_PERFTOOLS:BOOL=true
-RUN_DEPENDS+= ${LOCALBASE}/bin/pprof:${PORTSDIR}/devel/google-perftools
+RUN_DEPENDS+= ${LOCALBASE}/bin/pprof:devel/google-perftools
.else
CMAKE_ARGS+= -D ENABLE_PERFTOOLS:BOOL=false
.endif
.if ${PORT_OPTIONS:MPORTS_SSL}
CMAKE_ARGS+= -D CMAKE_EXE_LINKER_FLAGS="${OPENSSL_LDFLAGS}"
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libcrypto.so:${PORTSDIR}/security/openssl
-RUN_DEPENDS+= ${LOCALBASE}/lib/libcrypto.so:${PORTSDIR}/security/openssl
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libcrypto.so:security/openssl
+RUN_DEPENDS+= ${LOCALBASE}/lib/libcrypto.so:security/openssl
.else
.if defined(WITH_OPENSSL_PORT)
IGNORE= the SSL option is requred when WITH_OPENSSL_PORT is enabled
@@ -141,8 +141,8 @@ IGNORE= the SSL option is requred when WITH_OPENSSL_PORT is enabled
.endif
.if ${PORT_OPTIONS:MIPSUMDUMP}
-BUILD_DEPENDS+= ipsumdump:${PORTSDIR}/net/ipsumdump
-RUN_DEPENDS+= ipsumdump:${PORTSDIR}/net/ipsumdump
+BUILD_DEPENDS+= ipsumdump:net/ipsumdump
+RUN_DEPENDS+= ipsumdump:net/ipsumdump
.endif
post-install-BROCTL-on: