aboutsummaryrefslogtreecommitdiffstats
path: root/databases/influxdb/Makefile
diff options
context:
space:
mode:
authorultima <ultima@FreeBSD.org>2017-08-26 08:11:55 +0800
committerultima <ultima@FreeBSD.org>2017-08-26 08:11:55 +0800
commit82ef3b83c31eccecd0528d2928edbebdf01ddebf (patch)
treef513be2ced0715ab9cfd42a05f6016037a4e05a1 /databases/influxdb/Makefile
parent406acf8487c6a98928b7a3dc77f3222f22d02355 (diff)
downloadfreebsd-ports-gnome-82ef3b83c31eccecd0528d2928edbebdf01ddebf.tar.gz
freebsd-ports-gnome-82ef3b83c31eccecd0528d2928edbebdf01ddebf.tar.zst
freebsd-ports-gnome-82ef3b83c31eccecd0528d2928edbebdf01ddebf.zip
* Updated to 1.3.3
* Cleanup Makefile * Removed STRIP var, stripping go is always safe[1]. [1] https://dominik.honnef.co/posts/2016/10/go-and-strip/ PR: 221561 Submitted by: Ari Suutari Reviewed by: matthew (mentor), mat Approved by: matthew (mentor), cheffo (maintainer) Differential Revision: https://reviews.freebsd.org/D12121
Diffstat (limited to 'databases/influxdb/Makefile')
-rw-r--r--databases/influxdb/Makefile42
1 files changed, 20 insertions, 22 deletions
diff --git a/databases/influxdb/Makefile b/databases/influxdb/Makefile
index 5eb4b3f4dc17..9c89655c52d2 100644
--- a/databases/influxdb/Makefile
+++ b/databases/influxdb/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= influxdb
-PORTVERSION= 1.3.0
+PORTVERSION= 1.3.3
DISTVERSIONPREFIX= v
CATEGORIES= databases net-mgmt
@@ -9,25 +9,16 @@ MAINTAINER= cheffo@freebsd-bg.org
COMMENT= Open-source distributed time series database
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= go>=1.8.1:lang/go
-
-OPTIONS_DEFINE= MANPAGES
-OPTIONS_DEFAULT= MANPAGES
-
-MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto \
- asciidoc:textproc/asciidoc \
- docbook-xml>0:textproc/docbook-xml
-MANPAGES_USES= gmake
-OPTIONS_SUB= yes
+ONLY_FOR_ARCHS= amd64 armv6 i386
-ONLY_FOR_ARCHS= i386 amd64 armv6
+BUILD_DEPENDS= go>=1.8.1:lang/go
USE_RC_SUBR= influxd
USE_GITHUB= yes
GH_ACCOUNT= influxdata:DEFAULT
-
GH_TUPLE= BurntSushi:toml:9906417:toml/src/github.com/BurntSushi/toml \
bmizerany:pat:c068ca2:pat/src/github.com/bmizerany/pat \
boltdb:bolt:4b1ebc1:bolt/src/github.com/boltdb/bolt \
@@ -50,7 +41,7 @@ GH_TUPLE= BurntSushi:toml:9906417:toml/src/github.com/BurntSushi/toml \
golang:crypto:9477e0b:crypto/src/golang.org/x/crypto
SUB_FILES= influxd
-SUB_LIST+= INFLUXD_USER=${INFLUXD_USER} \
+SUB_LIST= INFLUXD_USER=${INFLUXD_USER} \
INFLUXD_GROUP=${INFLUXD_GROUP} \
INFLUXD_DBDIR=${INFLUXD_DBDIR} \
INFLUXD_PIDDIR=${INFLUXD_PIDDIR} \
@@ -62,17 +53,24 @@ PLIST_SUB= INFLUXD_USER=${INFLUXD_USER} \
INFLUXD_PIDDIR=${INFLUXD_PIDDIR} \
INFLUXD_LOGDIR=${INFLUXD_LOGDIR}
-INFLUXD_USER?= influxd
-INFLUXD_GROUP?= influxd
-
-INFLUXD_DBDIR= /var/db/${PORTNAME}/
-INFLUXD_LOGDIR= /var/log/${PORTNAME}/
-INFLUXD_PIDDIR= /var/run/${PORTNAME}/
+INFLUXD_USER= influxd
+INFLUXD_GROUP= influxd
USERS= ${INFLUXD_USER}
GROUPS= ${INFLUXD_GROUP}
-STRIP= # stripping can break go binaries
+OPTIONS_DEFINE= MANPAGES
+OPTIONS_DEFAULT= MANPAGES
+OPTIONS_SUB= yes
+
+MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto \
+ asciidoc:textproc/asciidoc \
+ docbook-xml>0:textproc/docbook-xml
+MANPAGES_USES= gmake
+
+INFLUXD_DBDIR= /var/db/${PORTNAME}/
+INFLUXD_LOGDIR= /var/log/${PORTNAME}/
+INFLUXD_PIDDIR= /var/run/${PORTNAME}/
post-patch:
@${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}
@@ -83,7 +81,7 @@ post-patch:
Dockerfile_build_ubuntu32 Dockerfile_build_ubuntu64 \
Dockerfile_build_ubuntu64_git Dockerfile_test_ubuntu32 \
errors.go etc gobuild.sh Godeps importer influxdb.go influxql \
- internal LICENSE LICENSE_OF_DEPENDENCIES.md Makefile man models \
+ internal LICENSE_OF_DEPENDENCIES.md Makefile man models \
monitor nightly.sh node.go pkg QUERIES.md README.md \
scripts services stress tcp test.sh tests TODO.md toml tsdb uuid \
${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}