1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

- Fix wrong path searching for logback.xml

- While here remove unused sed line
- Bump PORTREVISION

PR:		205868
Submitted by:	Davide D'Amico (based on)
Approved by:	Johannes Jost Meixner (maintainer)
This commit is contained in:
Martin Wilke 2016-01-06 08:50:23 +00:00
parent b654a36ca1
commit 48ab24dea6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405340
2 changed files with 6 additions and 3 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= opentsdb
PORTVERSION= 2.1.3
PORTREVISION= 1
CATEGORIES= databases java
MASTER_SITES= https://github.com/OpenTSDB/opentsdb/releases/download/v${PORTVERSION}/
@ -45,7 +46,6 @@ 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}/Makefile.in
${REINPLACE_CMD} -i "" -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/src/utils/Config.java
${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

View File

@ -1,8 +1,11 @@
--- Makefile.in.orig 2015-11-11 20:54:56 UTC
+++ Makefile.in
@@ -1315,7 +1315,9 @@ printdeps:
@@ -1313,9 +1313,11 @@ printdeps:
# This is kind of a hack, but I couldn't find a better way to adjust the paths
# in the script before it gets installed...
install-exec-hook:
script=tsdb; pkgdatadir='$(pkgdatadir)'; configdir='$(sysconfigdir)/etc/opentsdb'; \
- script=tsdb; pkgdatadir='$(pkgdatadir)'; configdir='$(sysconfigdir)/etc/opentsdb'; \
+ script=tsdb; pkgdatadir='$(pkgdatadir)'; configdir='$(sysconfdir)/opentsdb'; \
abs_srcdir=''; abs_builddir=''; $(edit_tsdb_script)
+ chmod u+w "$(DESTDIR)$(bindir)/tsdb"
cat tsdb.tmp >"$(DESTDIR)$(bindir)/tsdb"