app-misc/dfshow: add ebuild for dfshow
authorAngelos Kouratzinos <pepitsizous@zoho.com>
Fri, 12 Jul 2019 23:06:45 +0000 (02:06 +0300)
committerJoonas Niilola <juippis@gentoo.org>
Sun, 8 Sep 2019 07:55:06 +0000 (10:55 +0300)
a modern reimplementation of applications from DF-EDIT
Bug: https://bugs.gentoo.org/671874
Signed-off-by: Angelos Kouratzinos <pepitsizous@zoho.com>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/12437
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
app-misc/dfshow/Manifest [new file with mode: 0644]
app-misc/dfshow/dfshow-0.8.0_beta.ebuild [new file with mode: 0644]
app-misc/dfshow/metadata.xml [new file with mode: 0644]

diff --git a/app-misc/dfshow/Manifest b/app-misc/dfshow/Manifest
new file mode 100644 (file)
index 0000000..ce73746
--- /dev/null
@@ -0,0 +1 @@
+DIST dfshow-0.8.0_beta.tar.gz 97301 BLAKE2B fa98ef37d23ef39e8512eed410d4a3a9e45aee87d9ee1c35230a9bea47af61c936091117c7232c195cd661ba61b09376ba1db4167bf8388323311f2a2fa7b6a6 SHA512 79cd82916521500d5f6f7ab00770af084f1a52069fe5625b7336f3081084ece6d2773be7f5480c444455ad3151e603d937b3feb279a18502c435c1a05d6d1446
diff --git a/app-misc/dfshow/dfshow-0.8.0_beta.ebuild b/app-misc/dfshow/dfshow-0.8.0_beta.ebuild
new file mode 100644 (file)
index 0000000..c452101
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+MY_PV="${PV//_beta/-beta}"
+
+DESCRIPTION="DF-SHOW is a Unix-like rewrite of some of the applications from DF-EDIT"
+HOMEPAGE="https://github.com/roberthawdon/dfshow"
+SRC_URI="https://github.com/roberthawdon/dfshow/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-libs/libconfig
+sys-libs/ncurses:0=
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       default
+       sed -i 's/LDADD = -lncursesw -lm -lconfig/LDADD = -lncursesw -lm -lconfig -ltinfow/' Makefile.am || die "sed in Makefile.am failed"
+       eautoreconf
+       eautomake --add-missing
+}
diff --git a/app-misc/dfshow/metadata.xml b/app-misc/dfshow/metadata.xml
new file mode 100644 (file)
index 0000000..6ba2366
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>pepitsizous@zoho.com</email>
+               <name>Angelos Kouratzinos</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <longdescription lang="en">
+               DF-SHOW (Directory File Show) is a Unix-like rewrite of some of
+               the applications from Larry Kroeker's DF-EDIT (Directory File Editor)
+               for MS-DOS and PC-DOS systems, based on the Version 2.3d release from 1986.
+       </longdescription>
+</pkgmetadata>