aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2018-02-03 02:36:34 +0800
committerpi <pi@FreeBSD.org>2018-02-03 02:36:34 +0800
commitf6d078a707545235c71eb4fdf932523259dc857b (patch)
tree312aeffd76177e10fb807d4b7041cff0d6c78c9a /sysutils
parentcd46e157dbf5e9b900ea4099e77419d6469c26a1 (diff)
downloadfreebsd-ports-gnome-f6d078a707545235c71eb4fdf932523259dc857b.tar.gz
freebsd-ports-gnome-f6d078a707545235c71eb4fdf932523259dc857b.tar.zst
freebsd-ports-gnome-f6d078a707545235c71eb4fdf932523259dc857b.zip
sysutils/ipfs-go: update 0.4.7 -> 0.4.13
PR: 225564 Submitted by: jhixson@gmail.com (maintainer) Relnotes: https://github.com/ipfs/go-ipfs/blob/master/CHANGELOG.md
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ipfs-go/Makefile36
-rw-r--r--sysutils/ipfs-go/distinfo6
2 files changed, 13 insertions, 29 deletions
diff --git a/sysutils/ipfs-go/Makefile b/sysutils/ipfs-go/Makefile
index 91c052735c91..c5b068d6e83a 100644
--- a/sysutils/ipfs-go/Makefile
+++ b/sysutils/ipfs-go/Makefile
@@ -1,44 +1,28 @@
# $FreeBSD$
-PORTNAME= ipfs-go
-PORTVERSION= 0.4.7
+PORTNAME= ipfs
+PORTVERSION= 0.4.13
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
+MASTER_SITES= https://dist.ipfs.io/go-ipfs/${DISTVERSIONPREFIX}${DISTVERSION}/
+PKGNAMESUFFIX= -go
+DISTNAME= go-ipfs_${DISTVERSIONPREFIX}${DISTVERSION}_freebsd-${ARCH}
MAINTAINER= jhixson@gmail.com
COMMENT= IPFS implementation in Go
LICENSE= MIT
-BUILD_DEPENDS= go>=1.7:lang/go
-
ONLY_FOR_ARCHS= amd64
-USES= compiler go
-
-USE_GITHUB= yes
-GH_ACCOUNT= jhixson74
-
-MAKE_ENV+= GOPATH=${WRKSRC}
-
PLIST_FILES= bin/${PORTNAME}
-USE_RC_SUBR= ${PORTNAME}
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/go-ipfs
-do-build:
- cd ${WRKSRC}/src/github.com/ipfs/go-ipfs/cmd/ipfs; \
- ${SETENV} ${BUILD_ENV} ${MAKE_ENV} go build -v -x \
- -ldflags "-X main.GitDescribe=${DISTVERSIONFULL}" -o bin/${PORTNAME}
+USE_RC_SUBR= ${PORTNAME}${PKGNAMESUFFIX}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/ipfs/go-ipfs/cmd/ipfs/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
-.include <bsd.port.pre.mk>
-
-# golang assumes that if clang is in use, it is called "clang" and not "cc". If
-# it's called "cc", go fails.
-.if ${COMPILER_TYPE} == clang
-BUILD_ENV= CC=clang
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/ipfs ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/ipfs-go/distinfo b/sysutils/ipfs-go/distinfo
index 8c3b465a9c86..9a4ac0806422 100644
--- a/sysutils/ipfs-go/distinfo
+++ b/sysutils/ipfs-go/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1489661432
-SHA256 (jhixson74-ipfs-go-v0.4.7_GH0.tar.gz) = 2aeaa4da7593c5d05536af12620896d02df51f05d6b5d2bd5233c90574263372
-SIZE (jhixson74-ipfs-go-v0.4.7_GH0.tar.gz) = 33007329
+TIMESTAMP = 1517328625
+SHA256 (go-ipfs_v0.4.13_freebsd-amd64.tar.gz) = abafe87c44c720b075cac8a4b8c2f31f317fadfcf21a90cd01f3446111ab93f1
+SIZE (go-ipfs_v0.4.13_freebsd-amd64.tar.gz) = 9229641