misc/nnn: Update to 3.1

- Pet portfmt and portclippy while here.

Changes:	https://github.com/jarun/nnn/releases/tag/v3.1
Reported by:	portscout
This commit is contained in:
Dmitri Goutnik 2020-04-13 12:58:06 +00:00
parent 3121c2db62
commit 176b7648bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531603
2 changed files with 21 additions and 19 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= nnn
DISTVERSIONPREFIX= v
DISTVERSION= 3.0
DISTVERSION= 3.1
CATEGORIES= misc shells
MAINTAINER= dmgk@FreeBSD.org
@ -15,30 +15,32 @@ USES= gmake localbase ncurses readline
USE_GITHUB= yes
GH_ACCOUNT= jarun
MAKE_ARGS= PREFIX=${PREFIX} MANPREFIX=${PREFIX}/man \
LDLIBS_CURSES=-lncursesw CFLAGS_OPTIMIZATION=
CFLAGS+= -D_WITH_DPRINTF # enable dprintf prototype
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
MAKE_ARGS= CFLAGS_OPTIMIZATION= \
LDLIBS_CURSES=-lncursesw \
MANPREFIX=${PREFIX}/share/man
# enable dprintf prototype
CFLAGS+= -D_WITH_DPRINTF
PLIST_FILES= bin/nnn \
man/man1/nnn.1.gz \
etc/bash_completion.d/nnn-completion.bash \
share/fish/completions/nnn.fish \
share/man/man1/nnn.1.gz \
share/zsh/site-functions/_nnn
PORTDOCS= README.md
PORTEXAMPLES= *
OPTIONS_DEFINE= ATOOL DOCS EXAMPLES MEDIAINFO XDG
OPTIONS_DEFAULT= ATOOL MEDIAINFO XDG
ATOOL_DESC= List and extract archives
MEDIAINFO_DESC= Show media information
XDG_DESC= Open files with xdg-open
ATOOL_RUN_DEPENDS= atool:archivers/atool
MEDIAINFO_RUN_DEPENDS= mediainfo:multimedia/mediainfo
XDG_RUN_DEPENDS= xdg-open:devel/xdg-utils
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/nnn
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1581515917
SHA256 (jarun-nnn-v3.0_GH0.tar.gz) = 04db6d6710ce1232c779bf70137a86557e486614e20327717122bb63f36348f7
SIZE (jarun-nnn-v3.0_GH0.tar.gz) = 102636
TIMESTAMP = 1586780327
SHA256 (jarun-nnn-v3.1_GH0.tar.gz) = d70c21b4afa30fa733ab17bb8b45291e8651f2b823fad748ffbdb3b5c3fb0489
SIZE (jarun-nnn-v3.1_GH0.tar.gz) = 110005