blob: 7ed652a05a25acfcb3fa1f16f01db39071f03bd8 (
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
35
36
37
38
39
40
41
42
43
44
45
46
|
# $FreeBSD$
PORTNAME= fzy
DISTVERSION= 1.0
CATEGORIES= textproc
MAINTAINER= o.hushchenkov@gmail.com
COMMENT= Interactive fuzzy text selector for the terminal
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= jhawthorn
PLIST_FILES= bin/fzy man/man1/fzy.1.gz
OPTIONS_DEFINE= TMUX DVTM
OPTIONS_DEFAULT= TMUX
TMUX_DESC= Install fzy-tmux
DVTM_DESC= Install fzy-dvtm
TMUX_PLIST_FILES= bin/fzy-tmux
DVTM_PLIST_FILES= bin/fzy-dvtm
post-extract:
${CP} ${WRKSRC}/src/config.def.h ${WRKSRC}/config.h
post-patch:
@${REINPLACE_CMD} \
-e 's, -g,,g' \
-e 's, -O3,,g' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fzy ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/fzy.1 ${STAGEDIR}${MANPREFIX}/man/man1/
do-install-TMUX-on:
${INSTALL_SCRIPT} ${WRKSRC}/contrib/fzy-tmux ${STAGEDIR}${PREFIX}/bin
do-install-DVTM-on:
${INSTALL_SCRIPT} ${WRKSRC}/contrib/fzy-dvtm ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
|