View | Details | Raw Unified | Return to bug 212515
Collapse All | Expand All

(-)devel/godep/Makefile (-18 / +6 lines)
Lines 1-33 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	godep
3
PORTNAME=	godep
4
PORTVERSION=	72
4
PORTVERSION=	74
5
DISTVERSIONPREFIX=	v
5
CATEGORIES=	devel
6
CATEGORIES=	devel
6
DISTVERSIONPREFIX=	v
7
7
8
MAINTAINER=	swills@FreeBSD.org
8
MAINTAINER=	swills@FreeBSD.org
9
COMMENT=	Godep helps build packages reproducibly
9
COMMENT=	Godep helps build packages reproducibly
10
10
11
BUILD_DEPENDS=	${LOCALBASE}/bin/go:lang/go
11
LICENSE=	BSD3CLAUSE
12
12
13
USES=		go
14
GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
15
13
USE_GITHUB=	yes
16
USE_GITHUB=	yes
14
GH_ACCOUNT=	tools
17
GH_ACCOUNT=	tools
15
18
16
PLIST_FILES=	bin/godep
19
PLIST_FILES=	bin/godep
17
20
18
STRIP=		# stripping can break go binaries
19
20
post-patch:
21
	@${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
22
.for src in *.go .gitignore .travis.yml Changelog.md Godeps License Readme.md
23
	@${MV} ${WRKSRC}/${src} \
24
		${WRKSRC}/src/github.com/tools/${PORTNAME}
25
.endfor
26
27
do-build:
28
	@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build
29
30
do-install:
31
	${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
32
33
.include <bsd.port.mk>
21
.include <bsd.port.mk>
(-)devel/godep/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1464442110
1
TIMESTAMP = 1473404553
2
SHA256 (tools-godep-v72_GH0.tar.gz) = 9c429009ebd42b4f79160010ece5c1d0b563ccf4a128ee2d63c561412bf84197
2
SHA256 (tools-godep-v74_GH0.tar.gz) = e68c7766c06c59327a4189fb929d390e1cc7a0c4910e33cada54cf40f40ca546
3
SIZE (tools-godep-v72_GH0.tar.gz) = 71317
3
SIZE (tools-godep-v74_GH0.tar.gz) = 71366

Return to bug 212515