misc/nnn: update to 2.2
PR: 235022 Submitted by: Sijmen J. Mulder <ik@sjmulder.nl> Approved by: Dmitri Goutnik <dg@syrec.org> (maintainer)
This commit is contained in:
parent
4ff1d1354c
commit
a01331d6ef
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= nnn
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.0
|
||||
DISTVERSION= 2.2
|
||||
CATEGORIES= misc shells
|
||||
|
||||
MAINTAINER= dg@syrec.org
|
||||
@ -11,29 +11,25 @@ COMMENT= Missing terminal file browser for X
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= bash:shells/bash \
|
||||
xdg-open:devel/xdg-utils
|
||||
|
||||
USES= gmake localbase ncurses pkgconfig shebangfix
|
||||
USES= gmake localbase ncurses
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= jarun
|
||||
SHEBANG_FILES= nlay
|
||||
|
||||
MAKE_ARGS= PREFIX=${PREFIX} MANPREFIX=${PREFIX}/man
|
||||
MAKE_ARGS= PREFIX=${PREFIX} MANPREFIX=${PREFIX}/man LDLIBS_CURSES=-lncursesw
|
||||
CFLAGS+= -D_WITH_DPRINTF # enable dprintf prototype
|
||||
|
||||
OPTIONS_DEFINE= ATOOL DOCS EXAMPLES MEDIAINFO
|
||||
OPTIONS_DEFAULT= ATOOL MEDIAINFO
|
||||
OPTIONS_DEFINE= ATOOL DOCS EXAMPLES MEDIAINFO XDG
|
||||
OPTIONS_DEFAULT= ATOOL MEDIAINFO XDG
|
||||
ATOOL_DESC= List and extract archives
|
||||
XDG_DESC= Open files with xdg-open
|
||||
MEDIAINFO_DESC= Show media information
|
||||
|
||||
ATOOL_RUN_DEPENDS= atool:archivers/atool
|
||||
MEDIAINFO_RUN_DEPENDS= mediainfo:multimedia/mediainfo
|
||||
XDG_RUN_DEPENDS= xdg-open:devel/xdg-utils
|
||||
|
||||
PLIST_FILES= bin/nnn \
|
||||
bin/nlay \
|
||||
man/man1/nnn.1.gz \
|
||||
man/man1/nlay.1.gz \
|
||||
etc/bash_completion.d/nnn-completion.bash \
|
||||
share/fish/completions/nnn.fish \
|
||||
share/zsh/site-functions/_nnn
|
||||
@ -59,6 +55,7 @@ post-install-DOCS-on:
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} "copier quitcd" ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} "copier quitcd natool nlay" \
|
||||
${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1540057424
|
||||
SHA256 (jarun-nnn-v2.0_GH0.tar.gz) = 0029efd3d009c197b1646d260350f3f87edca76eef3be6b81846af133d58d6a9
|
||||
SIZE (jarun-nnn-v2.0_GH0.tar.gz) = 45791
|
||||
TIMESTAMP = 1547657008
|
||||
SHA256 (jarun-nnn-v2.2_GH0.tar.gz) = 88dd08d624ae7a61ef749b1e258e4b29ed61ba9fcc5a18813f291ce80efc5e74
|
||||
SIZE (jarun-nnn-v2.2_GH0.tar.gz) = 50955
|
||||
|
||||
@ -1,11 +0,0 @@
|
||||
--- Makefile.orig 2018-10-20 20:30:24 UTC
|
||||
+++ Makefile
|
||||
@@ -13,7 +13,7 @@
|
||||
CFLAGS += $(shell $(PKG_CONFIG) --cflags ncursesw)
|
||||
LDLIBS += $(shell $(PKG_CONFIG) --libs ncursesw)
|
||||
else
|
||||
- LDLIBS += -lncurses
|
||||
+ LDLIBS += -lncursesw
|
||||
endif
|
||||
|
||||
DISTFILES = nlay nlay.1 nnn.c nnn.h nnn.1 Makefile README.md LICENSE
|
||||
Loading…
x
Reference in New Issue
Block a user