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

(-)misc/nnn/Makefile (-12 / +9 lines)
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>
(-)misc/nnn/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1540057424
1
TIMESTAMP = 1547657008
2
SHA256 (jarun-nnn-v2.0_GH0.tar.gz) = 0029efd3d009c197b1646d260350f3f87edca76eef3be6b81846af133d58d6a9
2
SHA256 (jarun-nnn-v2.2_GH0.tar.gz) = 88dd08d624ae7a61ef749b1e258e4b29ed61ba9fcc5a18813f291ce80efc5e74
3
SIZE (jarun-nnn-v2.0_GH0.tar.gz) = 45791
3
SIZE (jarun-nnn-v2.2_GH0.tar.gz) = 50955
(-)misc/nnn/files/patch-Makefile (-11 lines)
Lines 1-11 Link Here
1
--- Makefile.orig	2018-10-20 20:30:24 UTC
2
+++ Makefile
3
@@ -13,7 +13,7 @@
4
 	CFLAGS += $(shell $(PKG_CONFIG) --cflags ncursesw)
5
 	LDLIBS += $(shell $(PKG_CONFIG) --libs   ncursesw)
6
 else
7
-	LDLIBS += -lncurses
8
+	LDLIBS += -lncursesw
9
 endif
10
 
11
 DISTFILES = nlay nlay.1 nnn.c nnn.h nnn.1 Makefile README.md LICENSE

Return to bug 235022