aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/godep/Makefile24
-rw-r--r--devel/godep/distinfo6
2 files changed, 9 insertions, 21 deletions
diff --git a/devel/godep/Makefile b/devel/godep/Makefile
index 2d19c877718f..017184fd3126 100644
--- a/devel/godep/Makefile
+++ b/devel/godep/Makefile
@@ -1,33 +1,21 @@
# $FreeBSD$
PORTNAME= godep
-PORTVERSION= 72
-CATEGORIES= devel
+PORTVERSION= 74
DISTVERSIONPREFIX= v
+CATEGORIES= devel
MAINTAINER= swills@FreeBSD.org
COMMENT= Godep helps build packages reproducibly
-BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go
+LICENSE= BSD3CLAUSE
+
+USES= go
+GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
USE_GITHUB= yes
GH_ACCOUNT= tools
PLIST_FILES= bin/godep
-STRIP= # stripping can break go binaries
-
-post-patch:
- @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
-.for src in *.go .gitignore .travis.yml Changelog.md Godeps License Readme.md
- @${MV} ${WRKSRC}/${src} \
- ${WRKSRC}/src/github.com/tools/${PORTNAME}
-.endfor
-
-do-build:
- @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
.include <bsd.port.mk>
diff --git a/devel/godep/distinfo b/devel/godep/distinfo
index 42dc1f4e5c9a..07f02959b1d1 100644
--- a/devel/godep/distinfo
+++ b/devel/godep/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1464442110
-SHA256 (tools-godep-v72_GH0.tar.gz) = 9c429009ebd42b4f79160010ece5c1d0b563ccf4a128ee2d63c561412bf84197
-SIZE (tools-godep-v72_GH0.tar.gz) = 71317
+TIMESTAMP = 1473404553
+SHA256 (tools-godep-v74_GH0.tar.gz) = e68c7766c06c59327a4189fb929d390e1cc7a0c4910e33cada54cf40f40ca546
+SIZE (tools-godep-v74_GH0.tar.gz) = 71366