diff options
author | Lars Engels <lme@FreeBSD.org> | 2016-04-23 12:01:12 +0000 |
---|---|---|
committer | Lars Engels <lme@FreeBSD.org> | 2016-04-23 12:01:12 +0000 |
commit | 54a069cd04ade7be9631cb3b00fb7a48962b972c (patch) | |
tree | 48cd1953d8a9b79aea96600bddfc592e28e1d17c /databases/opentsdb | |
parent | 4bf8d88460528eae816996e687591ca01cc3c493 (diff) | |
download | ports-54a069cd04ade7be9631cb3b00fb7a48962b972c.tar.gz ports-54a069cd04ade7be9631cb3b00fb7a48962b972c.zip |
- Use shebangfix for check_tsd
- Use Java 1.8+
- Bump PORTREVISION
PR: 208531
Submitted by: Johan Ström <johan@stromnet.se>
Approved by: maintainer
Sponsored by: Essen Linuxhotel Hackathon 2016
Notes
Notes:
svn path=/head/; revision=413866
Diffstat (limited to 'databases/opentsdb')
-rw-r--r-- | databases/opentsdb/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/databases/opentsdb/Makefile b/databases/opentsdb/Makefile index f618d78416c1..6659ad2ed9c4 100644 --- a/databases/opentsdb/Makefile +++ b/databases/opentsdb/Makefile @@ -3,7 +3,7 @@ PORTNAME= opentsdb PORTVERSION= 2.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases java MASTER_SITES= https://github.com/OpenTSDB/opentsdb/releases/download/v${PORTVERSION}/ @@ -18,8 +18,11 @@ BUILD_DEPENDS= bash:shells/bash \ LIB_DEPENDS= libhadoop.so:devel/hadoop2 RUN_DEPENDS= hbase>0:databases/hbase -USES= gmake python +USES= gmake python shebangfix USE_JAVA= yes +JAVA_VERSION= 1.8+ +SHEBANG_FILES= tools/check_tsd tools/opentsdb_restart.py \ + tools/tsddrain.py OPTIONS_DEFINE= GNUPLOT OPTIONS_DEFAULT= GNUPLOT @@ -47,6 +50,7 @@ SUB_LIST= OPENTSDB_USER="${OPENTSDB_USER}" \ post-patch: ${REINPLACE_CMD} -i "" -e "s|python|${PYTHON_CMD}|" ${WRKSRC}/build-aux/gen_build_data.sh ${REINPLACE_CMD} -i "" -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/src/utils/Config.java + ${REINPLACE_CMD} -e "s#%%JAVA_VERSION%%#${JAVA_VERSION}#" ${WRKSRC}/tsdb.in ${REINPLACE_CMD} -i "" -e "s|tsd.http.staticroot =|tsd.http.staticroot = ${DATADIR}/static|; s|tsd.http.cachedir =|tsd.http.cachedir = /tmp/opentsdb|; s|tsd.network.port =|tsd.network.port = 4242|;" ${WRKSRC}/src/opentsdb.conf post-install: |