Line 0
Link Here
|
|
|
1 |
# Created by: Oleh Hushchenkov <gor@clogic.com.ua> |
2 |
# $FreeBSD$ |
3 |
|
4 |
PORTNAME= fzy |
5 |
PORTVERSION= 0.9 |
6 |
CATEGORIES= textproc |
7 |
|
8 |
MAINTAINER= gor@clogic.com.ua |
9 |
COMMENT= Better fuzzy finder |
10 |
|
11 |
LICENSE= MIT |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
14 |
USE_GITHUB= yes |
15 |
GH_ACCOUNT= jhawthorn |
16 |
|
17 |
USES= gmake pkgconfig |
18 |
|
19 |
PLIST_FILES= bin/fzy man/man1/fzy.1.gz |
20 |
|
21 |
OPTIONS_DEFINE= TMUX DVTM |
22 |
OPTIONS_DEFAULT= TMUX |
23 |
|
24 |
TMUX_DESC= Install fzy-tmux |
25 |
DVTM_DESC= Install fzy-dvtm |
26 |
|
27 |
TMUX_PLIST_FILES= bin/fzy-tmux |
28 |
DVTM_PLIST_FILES= bin/fzy-dvtm |
29 |
|
30 |
post-extract: |
31 |
${CP} ${WRKSRC}/src/config.def.h ${WRKSRC}/config.h |
32 |
|
33 |
do-install: |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/fzy ${STAGEDIR}${PREFIX}/bin |
35 |
|
36 |
post-install: |
37 |
${INSTALL_MAN} ${WRKSRC}/fzy.1 ${STAGEDIR}${MANPREFIX}/man/man1/ |
38 |
|
39 |
post-install-TMUX-on: |
40 |
${INSTALL_SCRIPT} ${WRKSRC}/contrib/fzy-tmux ${STAGEDIR}${PREFIX}/bin |
41 |
|
42 |
post-install-DVTM-on: |
43 |
${INSTALL_SCRIPT} ${WRKSRC}/contrib/fzy-dvtm ${STAGEDIR}${PREFIX}/bin |
44 |
|
45 |
.include <bsd.port.mk> |