summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-11 18:09:56 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-11 18:09:56 +0000
commite9359f2bb35e911e23cbda4dbc90f3a8c481b7a2 (patch)
tree5536f02d110d7b24078c354785879f7390f01ff0 /sys-apps/rename
parentInitial import, ebuild by Gerry <trick@icculus.org> (diff)
downloadhistorical-e9359f2bb35e911e23cbda4dbc90f3a8c481b7a2.tar.gz
historical-e9359f2bb35e911e23cbda4dbc90f3a8c481b7a2.tar.bz2
historical-e9359f2bb35e911e23cbda4dbc90f3a8c481b7a2.zip
Rename the binary to xmrename and clean up the Makefile #46834 by Jeroen Hoek.
Diffstat (limited to 'sys-apps/rename')
-rw-r--r--sys-apps/rename/ChangeLog5
-rw-r--r--sys-apps/rename/Manifest14
-rw-r--r--sys-apps/rename/rename-1.3.ebuild30
3 files changed, 37 insertions, 12 deletions
diff --git a/sys-apps/rename/ChangeLog b/sys-apps/rename/ChangeLog
index 678338a2fc30..3c4c65b422f0 100644
--- a/sys-apps/rename/ChangeLog
+++ b/sys-apps/rename/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/rename
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rename/ChangeLog,v 1.7 2004/09/12 12:14:59 port001 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rename/ChangeLog,v 1.8 2004/12/11 18:09:56 vapier Exp $
+
+ 11 Dec 2004; Mike Frysinger <vapier@gentoo.org> rename-1.3.ebuild:
+ Rename the binary to xmrename and clean up the Makefile #46834 by Jeroen Hoek.
12 Sep 2004; Ian Leitch <port001@gentoo.org> rename-1.3.ebuild:
Updated DESCRIPTION, #62779. Stable on x86
diff --git a/sys-apps/rename/Manifest b/sys-apps/rename/Manifest
index 3e1201b2e371..936b78c33aa8 100644
--- a/sys-apps/rename/Manifest
+++ b/sys-apps/rename/Manifest
@@ -1,4 +1,14 @@
-MD5 084e62e354beddffbf763e107d53e783 ChangeLog 779
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 6539614c2bf2c8af82f90a51234c3a47 ChangeLog 929
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 3b817178ad7d58a4885b4b960c5a8ac0 rename-1.3.ebuild 647
+MD5 645b3b168cc5f89194379cdaf80e2b6a rename-1.3.ebuild 799
MD5 422775298804a7adef3bc0ad71ef0d77 files/digest-rename-1.3 61
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBuzgIroRuSHgZdywRAr5jAJ0dbIWrcRTSHWvwlFGQlMSqRvnG7wCeOWKF
+4edfAb3C73H+vducBYPuqD8=
+=Jogh
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/rename/rename-1.3.ebuild b/sys-apps/rename/rename-1.3.ebuild
index 005d0b8227a0..0544fb576436 100644
--- a/sys-apps/rename/rename-1.3.ebuild
+++ b/sys-apps/rename/rename-1.3.ebuild
@@ -1,23 +1,35 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rename/rename-1.3.ebuild,v 1.9 2004/10/23 05:47:18 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rename/rename-1.3.ebuild,v 1.10 2004/12/11 18:09:56 vapier Exp $
-DESCRIPTION="Rename is a tool for renaming files. It supports extended regular expressions."
-SRC_URI="http://rename.berlios.de/rename-1.3.tar.gz"
+inherit toolchain-funcs
+
+DESCRIPTION="tool for easily renaming files"
HOMEPAGE="http://rename.berlios.de/"
+SRC_URI="http://rename.berlios.de/rename-1.3.tar.gz"
-SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 ppc ppc64 ppc-macos"
+SLOT="0"
+KEYWORDS="ppc ppc64 ppc-macos x86"
IUSE=""
-src_compile() {
- econf --prefix=/usr || die "Failed to configure"
- emake || die "Failed to compile"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e '/^CFLAGS/s:-O3:@CFLAGS@:' \
+ -e '/strip /s:.*::' \
+ Makefile.in
+ tc-export CC
}
src_install() {
- dobin rename
+ newbin rename xmrename || die
doman rename.1
dodoc README ChangeLog
}
+
+pkg_postinst() {
+ ewarn "This has been renamed to 'xmrename' to avoid"
+ ewarn "a naming conflict with sys-apps/util-linux."
+}