aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2016-05-28 12:57:06 +0000
committerSteve Wills <swills@FreeBSD.org>2016-05-28 12:57:06 +0000
commit71a8b69dd6eeb7c39c92c92788ce50255529d63c (patch)
treeb85de289c32726733a724c6bd2850d22ff640a46 /net
parentbce1ae34e08435520e8450b8ae55cebcc7c1ff85 (diff)
downloadports-71a8b69dd6eeb7c39c92c92788ce50255529d63c.tar.gz
ports-71a8b69dd6eeb7c39c92c92788ce50255529d63c.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/syncthing-discosrv/Makefile14
-rw-r--r--net/syncthing-discosrv/distinfo5
2 files changed, 14 insertions, 5 deletions
diff --git a/net/syncthing-discosrv/Makefile b/net/syncthing-discosrv/Makefile
index b099f3a5b40e..74d174672217 100644
--- a/net/syncthing-discosrv/Makefile
+++ b/net/syncthing-discosrv/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= syncthing-discosrv
-PORTVERSION= 0.12.2
+PORTVERSION= 0.13.0
DISTVERSIONPREFIX= v
CATEGORIES= net
@@ -23,9 +23,17 @@ GROUPS= syncthing
STRIP= # stripping can break go binaries
+post-patch:
+ @cd ${WRKSRC} ; ${MKDIR} src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \
+ ${MV} .gitignore CONTRIBUTORS LICENSE README.md build.sh \
+ clean.go db.go main.go psql.go ql.go querysrv.go stats.go \
+ vendor \
+ src/github.com/${GH_ACCOUNT}/${GH_PROJECT}
+
do-build:
- @cd ${WRKSRC} ; ${SETENV} GOPATH=${WRKSRC}/Godeps/_workspace:${WRKSRC} go build
- @${MV} ${WRKSRC}/discosrv-${PORTVERSION} ${WRKSRC}/syncthing-discosrv
+ @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \
+ ${SETENV} GOPATH=${WRKSRC} go build
+ @${MV} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/discosrv ${WRKSRC}/syncthing-discosrv
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/syncthing-discosrv ${STAGEDIR}${PREFIX}/bin/
diff --git a/net/syncthing-discosrv/distinfo b/net/syncthing-discosrv/distinfo
index 6a883da8707f..45c54168503d 100644
--- a/net/syncthing-discosrv/distinfo
+++ b/net/syncthing-discosrv/distinfo
@@ -1,2 +1,3 @@
-SHA256 (syncthing-discosrv-v0.12.2_GH0.tar.gz) = 429632dd1d6bd61f41ba3288e78bdd9a5ab0be00013f9f061e5affeccf6266b1
-SIZE (syncthing-discosrv-v0.12.2_GH0.tar.gz) = 970007
+TIMESTAMP = 1464113564
+SHA256 (syncthing-discosrv-v0.13.0_GH0.tar.gz) = dfcbfd3d334844e8e7ab377bb48ec01391e4e5322fa978272911f68a2ea4cbcb
+SIZE (syncthing-discosrv-v0.13.0_GH0.tar.gz) = 2401348