pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/cfiles: import cfiles-1.3
Module Name: pkgsrc-wip
Committed By: ng0 <ng0%n0.is@localhost>
Pushed By: ng0
Date: Thu Feb 21 02:59:56 2019 +0000
Changeset: 8362acc83256606700cbf86c7f20bde82ec949e8
Modified Files:
Makefile
Added Files:
cfiles/DESCR
cfiles/Makefile
cfiles/PLIST
cfiles/distinfo
cfiles/patches/patch-aa
Log Message:
wip/cfiles: import cfiles-1.3
Ncurses file manager written in C with vim like keybindings
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8362acc83256606700cbf86c7f20bde82ec949e8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
cfiles/DESCR | 1 +
cfiles/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++
cfiles/PLIST | 3 +++
cfiles/distinfo | 7 +++++++
cfiles/patches/patch-aa | 14 ++++++++++++++
6 files changed, 71 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 835f72c17c..bbbde9ec11 100644
--- a/Makefile
+++ b/Makefile
@@ -358,6 +358,7 @@ SUBDIR+= cdpr
SUBDIR+= cedet
SUBDIR+= centrifuge
SUBDIR+= cereal
+SUBDIR+= cfiles
SUBDIR+= cgal
SUBDIR+= cglib
SUBDIR+= cgnslib
diff --git a/cfiles/DESCR b/cfiles/DESCR
new file mode 100644
index 0000000000..2fc8f08d26
--- /dev/null
+++ b/cfiles/DESCR
@@ -0,0 +1 @@
+Ncurses file manager written in C with vim like keybindings
diff --git a/cfiles/Makefile b/cfiles/Makefile
new file mode 100644
index 0000000000..ef0582682c
--- /dev/null
+++ b/cfiles/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD$
+
+GITHUB_PROJECT= cfiles
+DISTNAME= v1.3
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mananapr/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= ng0%n0.is@localhost
+HOMEPAGE= https://github.com/mananapr/cfiles/
+COMMENT= Ncurses file manager written in C with vim like keybindings
+LICENSE= mit
+
+DEPENDS= fzf-[0-9]*:../../sysutils/fzf
+
+USE_LANGUAGES= c
+
+WRKSRC= ${WRKDIR}/cfiles-1.3
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+SUBST_CLASSES+= gcc
+SUBST_STAGE.gcc= pre-configure
+SUBST_FILES.gcc+= Makefile
+SUBST_SED.gcc+= -e 's|CC = gcc|CC = cc|g'
+
+SUBST_CLASSES+= ncurses
+SUBST_STAGE.ncurses= pre-configure
+SUBST_MESSAGE.ncurses= Link with the proper curses type
+SUBST_FILES.ncurses= Makefile
+SUBST_SED.ncurses= -e 's|LIBS = -lncursesw|LIBS = -l${BUILDLINK_LIBNAME.curses}|g'
+
+SUBST_CLASSES+= install
+SUBST_STAGE.install= pre-configure
+SUBST_FILES.install= Makefile
+SUBST_SED.install+= -e 's|DEST = /usr/local|DEST = ${DESTDIR}${PREFIX}|g'
+SUBST_SED.install+= -e 's|cp -v|${INSTALL_PROGRAM}|g'
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cfiles ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/cfiles.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/cfiles/PLIST b/cfiles/PLIST
new file mode 100644
index 0000000000..e50cf6449b
--- /dev/null
+++ b/cfiles/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/cfiles
+man/man1/cfiles.1
diff --git a/cfiles/distinfo b/cfiles/distinfo
new file mode 100644
index 0000000000..95d74c5294
--- /dev/null
+++ b/cfiles/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (cfiles/v1.3.tar.gz) = d961707ed2a684d850301afcfe6bcb70cc052e25
+RMD160 (cfiles/v1.3.tar.gz) = 91b07847eba9e74f37f66a38595474cda8e89167
+SHA512 (cfiles/v1.3.tar.gz) = 0f36f7dca89bd71465e6d25569911fb6322bc139f132a559fda0c31b96caf3f2854d7a071bc8e5d8c0535c72cadc748f9775c4ca5d19f86921a43fc9a3f1136c
+Size (cfiles/v1.3.tar.gz) = 277136 bytes
+SHA1 (patch-aa) = 5e5b838261ffdd04c5ac0b4bf9486646b553396b
diff --git a/cfiles/patches/patch-aa b/cfiles/patches/patch-aa
new file mode 100644
index 0000000000..6232c69b22
--- /dev/null
+++ b/cfiles/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD$
+
+* include <signal.h>
+
+--- cf.c.orig
++++ cf.c
+@@ -15,6 +15,7 @@
+ #include <dirent.h>
+ #include <curses.h>
+ #include <unistd.h>
++#include <signal.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <strings.h>
Home |
Main Index |
Thread Index |
Old Index