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

(-)Makefile (-8 / +13 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fzf
4
PORTNAME=	fzf
5
PORTVERSION=	0.16.5
5
PORTVERSION=	0.16.10
6
CATEGORIES=	textproc
6
CATEGORIES=	textproc
7
7
8
MAINTAINER=	sascha@root-login.org
8
MAINTAINER=	sascha@root-login.org
Lines 17-25 Link Here
17
GH_ACCOUNT=	junegunn
17
GH_ACCOUNT=	junegunn
18
GH_SUBDIR:=	src/github.com/${GH_ACCOUNT}/${PORTNAME}
18
GH_SUBDIR:=	src/github.com/${GH_ACCOUNT}/${PORTNAME}
19
19
20
GH_TUPLE=	junegunn:go-runewidth:63c378b:runwidth/src/github.com/junegunn/go-runewidth \
20
GH_TUPLE=	mattn:go-runewidth:14207d2:runwidth/src/github.com/mattn/go-runewidth \
21
    		junegunn:go-shellwords:35d512a:shellwords/src/github.com/junegunn/go-shellwords \
21
    		mattn:go-shellwords:02e3cf0:shellwords/src/github.com/mattn/go-shellwords \
22
		junegunn:go-isatty:66b8e73:isatty/src/github.com/junegunn/go-isatty \
22
		mattn:go-isatty:66b8e73:isatty/src/github.com/mattn/go-isatty \
23
		gdamore:tcell:44772c1:tcell/src/github.com/gdamore/tcell \
23
		golang:crypto:b8a2a83:terminal/src/golang.org/x/crypto
24
		golang:crypto:b8a2a83:terminal/src/golang.org/x/crypto
24
25
25
PLIST_FILES=	bin/fzf man/man1/fzf.1.gz
26
PLIST_FILES=	bin/fzf man/man1/fzf.1.gz
Lines 34-46 Link Here
34
TMUX_RUN_DEPENDS=	bash:shells/bash
35
TMUX_RUN_DEPENDS=	bash:shells/bash
35
TMUX_PLIST_FILES=	bin/fzf-tmux man/man1/fzf-tmux.1.gz
36
TMUX_PLIST_FILES=	bin/fzf-tmux man/man1/fzf-tmux.1.gz
36
37
38
GOENV=          GOPATH=${WRKSRC} CGO_CFLAGS="${CGO_CFLAGS}" \
39
		CGO_LDFLAGS="${CGO_LDFLAGS}" GOBIN=""
40
37
do-build:
41
do-build:
38
	(cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/src/fzf && \
42
	cd ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} && \
39
		${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} \
43
	${SETENV} ${MAKE_ENV} ${GOENV} ${GO_CMD} build -a \
40
		go build -o bin/${PORTNAME})
44
		-ldflags "-X main.revision=6dbc108 -w" -o bin/${PORTNAME}
41
45
42
do-install:
46
do-install:
43
	${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/src/${PORTNAME}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
47
	${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}/bin/${PORTNAME} \
48
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
44
49
45
post-install:
50
post-install:
46
	${INSTALL_MAN} ${WRKSRC}/man/man1/fzf.1 ${STAGEDIR}${MANPREFIX}/man/man1
51
	${INSTALL_MAN} ${WRKSRC}/man/man1/fzf.1 ${STAGEDIR}${MANPREFIX}/man/man1
(-)distinfo (-9 / +11 lines)
Lines 1-11 Link Here
1
TIMESTAMP = 1487638535
1
TIMESTAMP = 1500632154
2
SHA256 (junegunn-fzf-0.16.5_GH0.tar.gz) = 7add1b5290af779fc1c6a3e306d696fb0e833d4efb5b60d94f9c424ac1b6f9fe
2
SHA256 (junegunn-fzf-0.16.10_GH0.tar.gz) = a6b9d8abcba4239d30201cc7911e9c305a5cd750081ce5cd389f8e7425f4dc93
3
SIZE (junegunn-fzf-0.16.5_GH0.tar.gz) = 124727
3
SIZE (junegunn-fzf-0.16.10_GH0.tar.gz) = 130154
4
SHA256 (junegunn-go-runewidth-63c378b_GH0.tar.gz) = e7cba5116e6f7051984005f5ab6c23d448307a6fced09eb9bd1bf49f3317b36d
4
SHA256 (mattn-go-runewidth-14207d2_GH0.tar.gz) = e665c10f4ccefe1d320fe8fe69403754c499fe79bc737f8f1d199d86ecfb7efb
5
SIZE (junegunn-go-runewidth-63c378b_GH0.tar.gz) = 4503
5
SIZE (mattn-go-runewidth-14207d2_GH0.tar.gz) = 22365
6
SHA256 (junegunn-go-shellwords-35d512a_GH0.tar.gz) = ea496265b81c60c0d590e369ca7cbcf3e87ec39d6f49c7462a7ab0483582b6fa
6
SHA256 (mattn-go-shellwords-02e3cf0_GH0.tar.gz) = e2e905e992b7892307a883f4a9c0d6c46ab592cade2d063aceb2b21c234a0913
7
SIZE (junegunn-go-shellwords-35d512a_GH0.tar.gz) = 2340
7
SIZE (mattn-go-shellwords-02e3cf0_GH0.tar.gz) = 3273
8
SHA256 (junegunn-go-isatty-66b8e73_GH0.tar.gz) = 261ec4d11cc7615205c67a1dd9ffe1f88166fc50db0022700a82f39ab7e47b0d
8
SHA256 (mattn-go-isatty-66b8e73_GH0.tar.gz) = 261ec4d11cc7615205c67a1dd9ffe1f88166fc50db0022700a82f39ab7e47b0d
9
SIZE (junegunn-go-isatty-66b8e73_GH0.tar.gz) = 1956
9
SIZE (mattn-go-isatty-66b8e73_GH0.tar.gz) = 1956
10
SHA256 (gdamore-tcell-44772c1_GH0.tar.gz) = 5c8edfc7aa1049dcbe3c4d888484e73f79e967add351c1cd3548a908558edac9
11
SIZE (gdamore-tcell-44772c1_GH0.tar.gz) = 164791
10
SHA256 (golang-crypto-b8a2a83_GH0.tar.gz) = 9c6b4a4f6daf7dbd0c3606184076c3dc2694a0e811061e1c8723940170f33f58
12
SHA256 (golang-crypto-b8a2a83_GH0.tar.gz) = 9c6b4a4f6daf7dbd0c3606184076c3dc2694a0e811061e1c8723940170f33f58
11
SIZE (golang-crypto-b8a2a83_GH0.tar.gz) = 1305071
13
SIZE (golang-crypto-b8a2a83_GH0.tar.gz) = 1305071

Return to bug 220903