blob: 33820bf8aa2f466d55f6c9345e9d7cbb3380d643 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $FreeBSD$
PORTNAME= git-codereview
PORTVERSION= 0.0.0.2015062601
CATEGORIES= devel
MAINTAINER= swills@FreeBSD.org
COMMENT= Command-line tool for working with Gerrit
BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
USE_GITHUB= yes
GH_ACCOUNT= golang
GH_PROJECT= review
GH_TAGNAME= 719edc3
PLIST_FILES= bin/git-codereview
STRIP= # stripping can break go binaries
post-patch:
@${MKDIR} ${WRKSRC}/src/golang.org/x/review
.for src in .gitattributes AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE PATENTS \
README codereview.cfg git-codereview
@${MV} ${WRKSRC}/${src} ${WRKSRC}/src/golang.org/x/review
.endfor
do-build:
cd ${WRKSRC}/src/golang.org/x/review ; ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go install ./...
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
|