diff --git a/misc/nnn/Makefile b/misc/nnn/Makefile index e212ee27df0d..d60cb0b63ca4 100644 --- a/misc/nnn/Makefile +++ b/misc/nnn/Makefile @@ -1,66 +1,67 @@ PORTNAME= nnn DISTVERSIONPREFIX= v -DISTVERSION= 4.9 +DISTVERSION= 5.0 CATEGORIES= misc shells +MASTER_SITES= GH -MAINTAINER= dmgk@FreeBSD.org +MAINTAINER= thindil@laeran.pl.eu.org COMMENT= Missing terminal file browser for X WWW= https://github.com/jarun/nnn LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= gsed:textproc/gsed USES= compiler:c11 gmake localbase ncurses readline USE_GITHUB= yes GH_ACCOUNT= jarun MAKE_ARGS= CFLAGS_OPTIMIZATION= \ LDLIBS_CURSES=-lncursesw \ MANPREFIX=${PREFIX}/share/man \ - PKG_CONFIG=/usr/bin/true + PKG_CONFIG=/usr/bin/true \ + STRIP_CMD="${STRIP_CMD}" PLIST_FILES= bin/nnn \ 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 ${INSTALL_DATA} ${WRKSRC}/misc/auto-completion/bash/nnn-completion.bash \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions ${INSTALL_DATA} ${WRKSRC}/misc/auto-completion/fish/nnn.fish \ ${STAGEDIR}${PREFIX}/share/fish/completions @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/misc/auto-completion/zsh/_nnn \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/scripts cd ${WRKSRC}/misc && ${COPYTREE_SHARE} "natool quitcd" \ ${STAGEDIR}${EXAMPLESDIR}/scripts cd ${WRKSRC} && ${COPYTREE_SHARE} plugins ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/misc/nnn/distinfo b/misc/nnn/distinfo index 98e8a2ef7add..faf1674f5e33 100644 --- a/misc/nnn/distinfo +++ b/misc/nnn/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1702803500 -SHA256 (jarun-nnn-v4.9_GH0.tar.gz) = 9e25465a856d3ba626d6163046669c0d4010d520f2fb848b0d611e1ec6af1b22 -SIZE (jarun-nnn-v4.9_GH0.tar.gz) = 255144 +TIMESTAMP = 1725880044 +SHA256 (jarun-nnn-v5.0_GH0.tar.gz) = 31e8fd85f3dd7ab2bf0525c3c0926269a1e6d35a5343a6714315642370d8605a +SIZE (jarun-nnn-v5.0_GH0.tar.gz) = 258474