summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/renameutils')
-rw-r--r--sys-apps/renameutils/Manifest1
-rw-r--r--sys-apps/renameutils/files/renameutils-0.12.0-autopoint.patch12
-rw-r--r--sys-apps/renameutils/files/renameutils-0.12.0-typo.patch13
-rw-r--r--sys-apps/renameutils/files/renameutils-0.9.0-destdir.patch29
-rw-r--r--sys-apps/renameutils/metadata.xml7
-rw-r--r--sys-apps/renameutils/renameutils-0.12.0.ebuild29
6 files changed, 91 insertions, 0 deletions
diff --git a/sys-apps/renameutils/Manifest b/sys-apps/renameutils/Manifest
new file mode 100644
index 000000000000..638cc012c9f7
--- /dev/null
+++ b/sys-apps/renameutils/Manifest
@@ -0,0 +1 @@
+DIST renameutils-0.12.0.tar.gz 954114 SHA256 cbd2f002027ccf5a923135c3f529c6d17fabbca7d85506a394ca37694a9eb4a3
diff --git a/sys-apps/renameutils/files/renameutils-0.12.0-autopoint.patch b/sys-apps/renameutils/files/renameutils-0.12.0-autopoint.patch
new file mode 100644
index 000000000000..858a5565f0ae
--- /dev/null
+++ b/sys-apps/renameutils/files/renameutils-0.12.0-autopoint.patch
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+index 58feccb..86dbe49 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -24,6 +24,7 @@ gl_INIT
+
+ # Gettext
+ AM_GNU_GETTEXT([external])
++AM_GNU_GETTEXT_VERSION(0.18)
+
+ # Checks for libraries.
+ OL_LIB_READLINE
diff --git a/sys-apps/renameutils/files/renameutils-0.12.0-typo.patch b/sys-apps/renameutils/files/renameutils-0.12.0-typo.patch
new file mode 100644
index 000000000000..2a5dd6a2101c
--- /dev/null
+++ b/sys-apps/renameutils/files/renameutils-0.12.0-typo.patch
@@ -0,0 +1,13 @@
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 21a1cb7..6cd9d08 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -49,7 +49,7 @@ all-local:
+ @[ -f icp ] || (echo $(LN_S) icmd icp ; $(LN_S) icmd icp)
+
+ install-exec-local:
+- $(mkdir_p) $(DESTDIR)($bindir)
++ $(mkdir_p) $(DESTDIR)$(bindir)
+ @[ -f $(DESTDIR)$(bindir)/qmv ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv)
+ @[ -f $(DESTDIR)$(bindir)/qcp ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp)
+ @[ -f $(DESTDIR)$(bindir)/imv ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/imv ; $(LN_S) icmd $(DESTDIR)$(bindir)/imv)
diff --git a/sys-apps/renameutils/files/renameutils-0.9.0-destdir.patch b/sys-apps/renameutils/files/renameutils-0.9.0-destdir.patch
new file mode 100644
index 000000000000..44d7304ac5c3
--- /dev/null
+++ b/sys-apps/renameutils/files/renameutils-0.9.0-destdir.patch
@@ -0,0 +1,29 @@
+--- src/Makefile.am-orig 2008-04-02 23:00:22.000000000 +0200
++++ src/Makefile.am 2008-04-02 22:59:47.000000000 +0200
+@@ -46,17 +46,18 @@
+ @[ -f icp ] || (echo $(LN_S) icmd icp ; $(LN_S) icmd icp)
+
+ install-exec-local:
+- @[ -f $(bindir)/qmv ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv)
+- @[ -f $(bindir)/qcp ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp)
+- @[ -f $(bindir)/imv ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/imv ; $(LN_S) icmd $(DESTDIR)$(bindir)/imv)
+- @[ -f $(bindir)/icp ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/icp ; $(LN_S) icmd $(DESTDIR)$(bindir)/icp)
++ $(mkdir_p) $(DESTDIR)$(bindir)
++ @[ -f $(DESTDIR)$(bindir)/qmv ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv)
++ @[ -f $(DESTDIR)$(bindir)/qcp ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp)
++ @[ -f $(DESTDIR)$(bindir)/imv ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/imv ; $(LN_S) icmd $(DESTDIR)$(bindir)/imv)
++ @[ -f $(DESTDIR)$(bindir)/icp ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/icp ; $(LN_S) icmd $(DESTDIR)$(bindir)/icp)
+
+ install-data-local:
+ $(mkdir_p) $(DESTDIR)$(man1dir)
+- @[ -f $(man1dir)/qmv.1 ] || (echo $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qmv.1 ; $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qmv.1)
+- @[ -f $(man1dir)/qcp.1 ] || (echo $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qcp.1 ; $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qcp.1)
+- @[ -f $(man1dir)/imv.1 ] || (echo $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/imv.1 ; $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/imv.1)
+- @[ -f $(man1dir)/icp.1 ] || (echo $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/icp.1 ; $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/icp.1)
++ @[ -f $(DESTDIR)$(man1dir)/qmv.1 ] || (echo $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qmv.1 ; $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qmv.1)
++ @[ -f $(DESTDIR)$(man1dir)/qcp.1 ] || (echo $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qcp.1 ; $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qcp.1)
++ @[ -f $(DESTDIR)$(man1dir)/imv.1 ] || (echo $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/imv.1 ; $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/imv.1)
++ @[ -f $(DESTDIR)$(man1dir)/icp.1 ] || (echo $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/icp.1 ; $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/icp.1)
+
+ clean-local:
+ rm -f qmv qcp imv icp qmv.1 qcp.1 imv.1 icp.1
diff --git a/sys-apps/renameutils/metadata.xml b/sys-apps/renameutils/metadata.xml
new file mode 100644
index 000000000000..6a4d99b2e8dc
--- /dev/null
+++ b/sys-apps/renameutils/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>dev-zero@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-apps/renameutils/renameutils-0.12.0.ebuild b/sys-apps/renameutils/renameutils-0.12.0.ebuild
new file mode 100644
index 000000000000..407402547359
--- /dev/null
+++ b/sys-apps/renameutils/renameutils-0.12.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="Use your favorite text editor to rename files"
+HOMEPAGE="http://www.nongnu.org/renameutils/"
+SRC_URI="http://savannah.nongnu.org/download/renameutils/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="nls"
+
+DEPEND=">=sys-libs/readline-5.0-r2"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/${P}-typo.patch" \
+ "${FILESDIR}/${P}-autopoint.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable nls)
+}