Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= git-lfs |
3 |
PORTNAME= git-lfs |
4 |
DISTVERSIONPREFIX= v |
4 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSION= 2.4.2 |
5 |
DISTVERSION= 2.5.0 |
6 |
CATEGORIES= devel |
6 |
CATEGORIES= devel |
7 |
|
7 |
|
8 |
MAINTAINER= kenji@k2r.org |
8 |
MAINTAINER= kenji@k2r.org |
Lines 13-28
Link Here
|
13 |
|
13 |
|
14 |
BUILD_DEPENDS= bash:shells/bash |
14 |
BUILD_DEPENDS= bash:shells/bash |
15 |
|
15 |
|
16 |
USES= go |
16 |
USES= go gmake |
17 |
USE_GITHUB= yes |
17 |
USE_GITHUB= yes |
18 |
PLIST_FILES= bin/git-lfs |
18 |
PLIST_FILES= bin/git-lfs |
19 |
|
19 |
|
20 |
GO_PKGNAME= github.com/${PORTNAME}/${PORTNAME} |
20 |
GO_PKGNAME= github.com/${PORTNAME}/${PORTNAME} |
21 |
|
21 |
|
22 |
# see https://github.com/git-lfs/git-lfs/wiki/Installation |
22 |
# See https://github.com/git-lfs/git-lfs/issues/3159 |
23 |
|
23 |
|
24 |
do-build: |
24 |
do-build: |
25 |
@cd ${WRKSRC} && ${MKDIR} ${WRKSRC}/.tmp && ${SETENV} ${MAKE_ENV} ${GO_ENV} TMPDIR=${WRKSRC}/.tmp script/bootstrap |
25 |
@cd ${GO_WRKSRC} && ${MKDIR} ${WRKSRC}/.tmp && \ |
|
|
26 |
${SETENV} ${MAKE_ENV} ${GO_ENV} \ |
27 |
TMPDIR=${WRKSRC}/.tmp GOARCH=${GOARCH} GOOS="freebsd" \ |
28 |
VERSION="" GIT_LFS_SHA="" GO=${GO_CMD} \ |
29 |
sh -c "${GO_CMD} generate ${GO_PKGNAME}/commands && \ |
30 |
${MAKE_CMD} bin/git-lfs" |
26 |
|
31 |
|
27 |
do-install: |
32 |
do-install: |
28 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/git-lfs ${STAGEDIR}${PREFIX}/bin/git-lfs |
33 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/git-lfs ${STAGEDIR}${PREFIX}/bin/git-lfs |