Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140000473
D7818.id20152.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D7818.id20152.diff
View Options
Index: devel/govendor/Makefile
===================================================================
--- devel/govendor/Makefile
+++ devel/govendor/Makefile
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PORTNAME= govendor
+PORTVERSION= 1.0.7
+DISTVERSIONPREFIX= v
+CATEGORIES= devel
+
+MAINTAINER= rwestlun@gmail.com
+COMMENT= Go vendor tool that works with the standard vendor file
+
+LICENSE= BSD3CLAUSE
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go
+
+USE_GITHUB= yes
+GH_ACCOUNT= kardianos
+
+PLIST_FILES= bin/govendor
+
+STRIP= # stripping can break go binaries
+
+post-patch:
+ @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
+.for src in *.go appveyor.yml .travis.yml LICENSE README.md cliprompt context \
+ doc help internal migrate pkgspec prompt run vcs vendor vendorfile
+ @${MV} ${WRKSRC}/${src} \
+ ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${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>
Index: devel/govendor/distinfo
===================================================================
--- devel/govendor/distinfo
+++ devel/govendor/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1473276490
+SHA256 (kardianos-govendor-v1.0.7_GH0.tar.gz) = a366992fea5db94946dcd8507c9e75d6fbc8323c1582bd0fb1985f035fd60ff0
+SIZE (kardianos-govendor-v1.0.7_GH0.tar.gz) = 113937
Index: devel/govendor/pkg-descr
===================================================================
--- devel/govendor/pkg-descr
+++ devel/govendor/pkg-descr
@@ -0,0 +1,3 @@
+Go vendor tool that works with the standard vendor file.
+
+WWW: https://github.com/kardianos/govendor
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 19, 8:44 PM (1 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27087333
Default Alt Text
D7818.id20152.diff (1 KB)
Attached To
Mode
D7818: devel/govendor: new port
Attached
Detach File
Event Timeline
Log In to Comment