pkgsrc-WIP-changes archive

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

fff: new package



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Thu Sep 17 09:22:52 2020 +0200
Changeset:	5f496174aef439c4349132456377820eab36e5c5

Modified Files:
	Makefile
Added Files:
	fff/DESCR
	fff/MESSAGE
	fff/Makefile
	fff/PLIST
	fff/distinfo
	fff/patches/patch-fff

Log Message:
fff: new package

A simple file manager written in bash

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5f496174aef439c4349132456377820eab36e5c5

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

diffstat:
 Makefile              |  1 +
 fff/DESCR             |  1 +
 fff/MESSAGE           |  7 +++++++
 fff/Makefile          | 23 +++++++++++++++++++++++
 fff/PLIST             |  3 +++
 fff/distinfo          |  7 +++++++
 fff/patches/patch-fff | 15 +++++++++++++++
 7 files changed, 57 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 40fdcfb279..1a8c7e13a8 100644
--- a/Makefile
+++ b/Makefile
@@ -840,6 +840,7 @@ SUBDIR+=	festvox-slt
 SUBDIR+=	festvox-tp
 SUBDIR+=	feynedit
 SUBDIR+=	feynhiggs
+SUBDIR+=	fff
 SUBDIR+=	ffmpeg-git
 SUBDIR+=	ffmpeg4-nbsdaudio
 SUBDIR+=	ffmpegthumbs
diff --git a/fff/DESCR b/fff/DESCR
new file mode 100644
index 0000000000..85270ae4ef
--- /dev/null
+++ b/fff/DESCR
@@ -0,0 +1 @@
+A simple file manager written in `bash`.
diff --git a/fff/MESSAGE b/fff/MESSAGE
new file mode 100644
index 0000000000..1b488c814c
--- /dev/null
+++ b/fff/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD$
+
+If you wish to display images in the file-manager please
+install www/w3m-img
+
+===========================================================================
diff --git a/fff/Makefile b/fff/Makefile
new file mode 100644
index 0000000000..0ff4b62f9e
--- /dev/null
+++ b/fff/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	fff-2.1
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=dylanaraps/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/dylanaraps/fff/
+COMMENT=	Simple file manager written in bash
+LICENSE=	mit
+
+USE_TOOLS+=	bash:run
+USE_LANGUAGES=	# none
+NO_BUILD=	yes
+
+MAKE_FLAGS+=	MANDIR=${PREFIX}/${PKGMANDIR}
+
+REPLACE_BASH+=	fff
+
+DEPENDS+=	coreutils-[0-9]*:../../sysutils/coreutils
+DEPENDS+=	xdotool-[0-9]*:../../x11/xdotool
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/fff/PLIST b/fff/PLIST
new file mode 100644
index 0000000000..155e0fa62c
--- /dev/null
+++ b/fff/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/fff
+man/man1/fff.1
diff --git a/fff/distinfo b/fff/distinfo
new file mode 100644
index 0000000000..dbf435080c
--- /dev/null
+++ b/fff/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (fff-2.1.tar.gz) = 4ee66c0af3b1aca48908bab0febb75227c7c5449
+RMD160 (fff-2.1.tar.gz) = 890dc6edc2792b38868c78629ca4b637df5c403f
+SHA512 (fff-2.1.tar.gz) = 6ce354229bbb53680361a8aa04e8d01294fc6e3c7a8e3d96a89c14190b2d70ff3ac1ded230eaf15711e7f9ac0318a490658452b6ffc91ec7752cc9f934abb24a
+Size (fff-2.1.tar.gz) = 15573 bytes
+SHA1 (patch-fff) = b3c3cdcb5c7db4723a05b74d74d1ad2e199b6d3d
diff --git a/fff/patches/patch-fff b/fff/patches/patch-fff
new file mode 100644
index 0000000000..cead7422a9
--- /dev/null
+++ b/fff/patches/patch-fff
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix portability
+
+--- fff.orig	2020-09-17 06:12:53.906822670 +0000
++++ fff
+@@ -137,7 +137,7 @@ get_w3m_path() {
+     }
+ 
+     # Use a glob and expansion to find the path.
+-    w3m_paths=(/usr/{local/,}{lib,libexec,lib64,libexec64}/w3m/w3mi*)
++    w3m_paths=(/usr/{pkg/,}{local/,}{bin,lib,libexec,lib64,libexec64}/w3m/w3mi*)
+ 
+     [[ -x ${w3m_paths[0]} ]] &&
+         w3m="${w3m_paths[0]}"


Home | Main Index | Thread Index | Old Index