1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

New port: deskutils/cfiles: Ncurses file manager written in C with vim-like keybindings

This commit is contained in:
Yuri Victorovich 2019-07-17 06:36:25 +00:00
parent 9101f45242
commit 22f97c847c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506792
4 changed files with 51 additions and 0 deletions

View File

@ -27,6 +27,7 @@
SUBDIR += calcurse
SUBDIR += calibre
SUBDIR += cartotheque
SUBDIR += cfiles
SUBDIR += charmtimetracker
SUBDIR += chart
SUBDIR += cherrytree

39
deskutils/cfiles/Makefile Normal file
View File

@ -0,0 +1,39 @@
# $FreeBSD$
PORTNAME= cfiles
DISTVERSIONPREFIX= v
DISTVERSION= 1.7.2
CATEGORIES= deskutils
MAINTAINER= yuri@FreeBSD.org
COMMENT= Ncurses file manager written in C with vim-like keybindings
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
#RUN_DEPENDS= ${LOCALBASE}/libexec/w3m/w3mimgdisplay:www/w3m # w3mimgdisplay is used from scripts/displayimg but www/w3m doesn't install it by default
RUN_DEPENDS= bash:shells/bash
USES= ncurses:port pkgconfig shebangfix
SHEBANG_FILES= scripts/*
USE_GITHUB= yes
GH_ACCOUNT= mananapr
MAKE_ARGS= CC=${CC}
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz \
${DATADIR}/scripts/clearimg \
${DATADIR}/scripts/clearimg_uberzug \
${DATADIR}/scripts/displayimg \
${DATADIR}/scripts/displayimg_uberzug
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${PREFIX}/share/cfiles/scripts
.for s in clearimg displayimg displayimg_uberzug clearimg_uberzug
${INSTALL_SCRIPT} ${WRKSRC}/scripts/${s} ${STAGEDIR}${PREFIX}/share/cfiles/scripts
.endfor
${INSTALL_MAN} ${WRKSRC}/cfiles.1 ${STAGEDIR}${MAN5PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1563338623
SHA256 (mananapr-cfiles-v1.7.2_GH0.tar.gz) = 65f141e1deef8fec0bd35264a3837d98fd59fcb993d117deeb0a0a4b9543e383
SIZE (mananapr-cfiles-v1.7.2_GH0.tar.gz) = 237829

View File

@ -0,0 +1,8 @@
cfiles is a terminal file manager with vim like keybindings, written in C using
the ncurses library. It aims to provide an interface like ranger while being
lightweight, fast and minimal.
Due to a missing libexec/w3m/w3mimgdisplay, not installed by www/w3m by default,
the image display feature is broken.
WWW: https://github.com/mananapr/cfiles