nnn is probably the fastest and most resource-sensitive (with all its capabilities) file browser you have ever used. It's extremely flexible too - integrates with your DE and favourite GUI utilities, works with the desktop opener, supports bookmarks, has smart navigation shortcuts, navigate-as-you-type mode, disk usage analyzer mode, comprehensive file details and much more. From Ljuba Nedeljkovic, thanks! With feedback from sthen and me. OK sthen
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2018/05/07 18:29:00 kn Exp $
|
|
|
|
COMMENT = the missing terminal file browser for X
|
|
|
|
V = 1.8
|
|
DISTNAME = nnn-v${V}
|
|
PKGNAME = nnn-${V}
|
|
|
|
CATEGORIES = sysutils
|
|
|
|
HOMEPAGE = https://github.com/jarun/nnn/
|
|
|
|
MAINTAINER = Ljuba Nedeljkovic <ljuba.bsd@gmail.com>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB = c curses readline
|
|
|
|
MASTER_SITES = https://github.com/jarun/nnn/releases/download/v${V}/
|
|
|
|
RUN_DEPENDS = shells/bash
|
|
|
|
USE_GMAKE = Yes
|
|
NO_TEST = Yes
|
|
|
|
WRKDIST = ${WRKDIR}/nnn
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/nlay
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/nnn ${PREFIX}/bin/
|
|
${INSTALL_SCRIPT} ${WRKSRC}/nlay ${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/nnn.1 ${PREFIX}/man/man1/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/bash-completion/completions/
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/auto-completion/bash/nnn-completion.bash \
|
|
${PREFIX}/share/bash-completion/completions/nnn
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/fish/completions/
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/auto-completion/fish/nnn.fish \
|
|
${PREFIX}/share/fish/completions/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/site-functions/
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/auto-completion/zsh/_nnn \
|
|
${PREFIX}/share/zsh/site-functions/
|
|
|
|
.include <bsd.port.mk>
|