Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= nnn |
3 |
PORTNAME= nnn |
4 |
DISTVERSIONPREFIX= v |
4 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSION= 2.0 |
5 |
DISTVERSION= 2.2 |
6 |
CATEGORIES= misc shells |
6 |
CATEGORIES= misc shells |
7 |
|
7 |
|
8 |
MAINTAINER= dg@syrec.org |
8 |
MAINTAINER= dg@syrec.org |
Lines 11-39
Link Here
|
11 |
LICENSE= BSD2CLAUSE |
11 |
LICENSE= BSD2CLAUSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
13 |
|
14 |
RUN_DEPENDS= bash:shells/bash \ |
14 |
USES= gmake localbase ncurses |
15 |
xdg-open:devel/xdg-utils |
|
|
16 |
|
17 |
USES= gmake localbase ncurses pkgconfig shebangfix |
18 |
USE_GITHUB= yes |
15 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= jarun |
16 |
GH_ACCOUNT= jarun |
20 |
SHEBANG_FILES= nlay |
|
|
21 |
|
17 |
|
22 |
MAKE_ARGS= PREFIX=${PREFIX} MANPREFIX=${PREFIX}/man |
18 |
MAKE_ARGS= PREFIX=${PREFIX} MANPREFIX=${PREFIX}/man LDLIBS_CURSES=-lncursesw |
23 |
CFLAGS+= -D_WITH_DPRINTF # enable dprintf prototype |
19 |
CFLAGS+= -D_WITH_DPRINTF # enable dprintf prototype |
24 |
|
20 |
|
25 |
OPTIONS_DEFINE= ATOOL DOCS EXAMPLES MEDIAINFO |
21 |
OPTIONS_DEFINE= ATOOL DOCS EXAMPLES MEDIAINFO XDG |
26 |
OPTIONS_DEFAULT= ATOOL MEDIAINFO |
22 |
OPTIONS_DEFAULT= ATOOL MEDIAINFO XDG |
27 |
ATOOL_DESC= List and extract archives |
23 |
ATOOL_DESC= List and extract archives |
|
|
24 |
XDG_DESC= Open files with xdg-open |
28 |
MEDIAINFO_DESC= Show media information |
25 |
MEDIAINFO_DESC= Show media information |
29 |
|
26 |
|
30 |
ATOOL_RUN_DEPENDS= atool:archivers/atool |
27 |
ATOOL_RUN_DEPENDS= atool:archivers/atool |
31 |
MEDIAINFO_RUN_DEPENDS= mediainfo:multimedia/mediainfo |
28 |
MEDIAINFO_RUN_DEPENDS= mediainfo:multimedia/mediainfo |
|
|
29 |
XDG_RUN_DEPENDS= xdg-open:devel/xdg-utils |
32 |
|
30 |
|
33 |
PLIST_FILES= bin/nnn \ |
31 |
PLIST_FILES= bin/nnn \ |
34 |
bin/nlay \ |
|
|
35 |
man/man1/nnn.1.gz \ |
32 |
man/man1/nnn.1.gz \ |
36 |
man/man1/nlay.1.gz \ |
|
|
37 |
etc/bash_completion.d/nnn-completion.bash \ |
33 |
etc/bash_completion.d/nnn-completion.bash \ |
38 |
share/fish/completions/nnn.fish \ |
34 |
share/fish/completions/nnn.fish \ |
39 |
share/zsh/site-functions/_nnn |
35 |
share/zsh/site-functions/_nnn |
Lines 59-64
Link Here
|
59 |
|
55 |
|
60 |
post-install-EXAMPLES-on: |
56 |
post-install-EXAMPLES-on: |
61 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
57 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
62 |
cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} "copier quitcd" ${STAGEDIR}${EXAMPLESDIR} |
58 |
cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} "copier quitcd natool nlay" \ |
|
|
59 |
${STAGEDIR}${EXAMPLESDIR} |
63 |
|
60 |
|
64 |
.include <bsd.port.mk> |
61 |
.include <bsd.port.mk> |