pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jul 23 12:38:44 UTC 2020

Modified Files:
        pkgsrc/sysutils: Makefile
Added Files:
        pkgsrc/sysutils/cfm: DESCR Makefile PLIST distinfo
        pkgsrc/sysutils/cfm/patches: patch-Makefile

Log Message:
sysutils: Add cfm

Cactus File Manager (cfm) is a TUI file manager with the goal of being
simple, easy, and bloat-free, utilizing Vi-inspired keybinds.


To generate a diff of this commit:
cvs rdiff -u -r1.891 -r1.892 pkgsrc/sysutils/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/cfm/DESCR pkgsrc/sysutils/cfm/Makefile \
    pkgsrc/sysutils/cfm/PLIST pkgsrc/sysutils/cfm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/cfm/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/Makefile
diff -u pkgsrc/sysutils/Makefile:1.891 pkgsrc/sysutils/Makefile:1.892
--- pkgsrc/sysutils/Makefile:1.891      Wed Jul  1 08:52:38 2020
+++ pkgsrc/sysutils/Makefile    Thu Jul 23 12:38:44 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.891 2020/07/01 08:52:38 adam Exp $
+# $NetBSD: Makefile,v 1.892 2020/07/23 12:38:44 nia Exp $
 #
 
 COMMENT=       System utilities
@@ -82,6 +82,7 @@ SUBDIR+=      cdrkit
 SUBDIR+=       cdrtools
 SUBDIR+=       cfengine2
 SUBDIR+=       cfengine3
+SUBDIR+=       cfm
 SUBDIR+=       checkpassword
 SUBDIR+=       checkpassword-pam
 SUBDIR+=       checkperms

Added files:

Index: pkgsrc/sysutils/cfm/DESCR
diff -u /dev/null pkgsrc/sysutils/cfm/DESCR:1.1
--- /dev/null   Thu Jul 23 12:38:44 2020
+++ pkgsrc/sysutils/cfm/DESCR   Thu Jul 23 12:38:44 2020
@@ -0,0 +1,2 @@
+Cactus File Manager (cfm) is a TUI file manager with the goal of being
+simple, easy, and bloat-free, utilizing Vi-inspired keybinds.
Index: pkgsrc/sysutils/cfm/Makefile
diff -u /dev/null pkgsrc/sysutils/cfm/Makefile:1.1
--- /dev/null   Thu Jul 23 12:38:44 2020
+++ pkgsrc/sysutils/cfm/Makefile        Thu Jul 23 12:38:44 2020
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2020/07/23 12:38:44 nia Exp $
+
+DISTNAME=      cfm-0.6.3
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=willeccles/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://eccles.dev/cfm/
+COMMENT=       Simple and fast TUI file manager with no dependencies
+LICENSE=       mpl-2.0
+
+MAKE_FLAGS+=   MANDIR=${PKGMANDIR}
+
+CPPFLAGS.NetBSD+=      -D_NETBSD_SOURCE # dirfd
+
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/cfm/PLIST
diff -u /dev/null pkgsrc/sysutils/cfm/PLIST:1.1
--- /dev/null   Thu Jul 23 12:38:44 2020
+++ pkgsrc/sysutils/cfm/PLIST   Thu Jul 23 12:38:44 2020
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/23 12:38:44 nia Exp $
+bin/cfm
+man/man1/cfm.1
Index: pkgsrc/sysutils/cfm/distinfo
diff -u /dev/null pkgsrc/sysutils/cfm/distinfo:1.1
--- /dev/null   Thu Jul 23 12:38:44 2020
+++ pkgsrc/sysutils/cfm/distinfo        Thu Jul 23 12:38:44 2020
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/07/23 12:38:44 nia Exp $
+
+SHA1 (cfm-0.6.3.tar.gz) = 864747d2fbd8b6905e6a28b3e25fb5ce49830feb
+RMD160 (cfm-0.6.3.tar.gz) = 5d43bf4625dad5cc87da8b88426ba4f8a1d59773
+SHA512 (cfm-0.6.3.tar.gz) = 7e9db3f49b107d97917683870176fb05a21a664cf610e76234bdc74b98a4d254bb4bb7efffb9fe34f314c0316bbc5e9b3a6f523e867b13de32578cab8e4615e3
+Size (cfm-0.6.3.tar.gz) = 72922 bytes
+SHA1 (patch-Makefile) = f60dbb3f7c800742ba7ce6d27355d72154b5f3cd

Index: pkgsrc/sysutils/cfm/patches/patch-Makefile
diff -u /dev/null pkgsrc/sysutils/cfm/patches/patch-Makefile:1.1
--- /dev/null   Thu Jul 23 12:38:44 2020
+++ pkgsrc/sysutils/cfm/patches/patch-Makefile  Thu Jul 23 12:38:44 2020
@@ -0,0 +1,36 @@
+$NetBSD: patch-Makefile,v 1.1 2020/07/23 12:38:44 nia Exp $
+
+- Don't pass -O3 unconditionally
+- Support PKGMANDIR
+
+--- Makefile.orig      2020-07-07 20:26:19.000000000 +0000
++++ Makefile
+@@ -3,9 +3,10 @@ SRC = cfm.c
+ CONF = config.h
+ DEFCONF = config.def.h
+ MANPAGE = cfm.1
++MANDIR = share/man
+ PREFIX ?= /usr/local
+ 
+-CFLAGS += -O3 -std=c11 -Wall -W -pedantic
++CFLAGS += -std=c11 -Wall -W -pedantic
+ CPPFLAGS += -D_XOPEN_SOURCE=700
+ 
+ .PHONY: all install uninstall clean
+@@ -20,13 +21,13 @@ $(CONF):
+ 
+ install: $(TARGET)
+       mkdir -p $(DESTDIR)$(PREFIX)/bin
+-      mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
++      mkdir -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
+       install -m755 $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET)
+-      install -m644 $(MANPAGE) $(DESTDIR)$(PREFIX)/share/man/man1/$(MANPAGE)
++      install -m644 $(MANPAGE) $(DESTDIR)$(PREFIX)/$(MANDIR)/man1/$(MANPAGE)
+ 
+ uninstall:
+       $(RM) $(DESTDIR)$(PREFIX)/bin/$(TARGET)
+-      $(RM) $(DESTDIR)$(PREFIX)/share/man/man1/$(MANPAGE)
++      $(RM) $(DESTDIR)$(PREFIX)/$(MANDIR)/man1/$(MANPAGE)
+ 
+ clean:
+       $(RM) $(TARGET)



Home | Main Index | Thread Index | Old Index