|
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 |