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
commit3da72e2c28ebaf0ed29c4b35405844a0ebdf80a9 (patch)
tree7107f9f3fed2d062cffac17871bce33a8ae76dad /sys-apps/rename
parentInitial import, ebuild by Gerry <trick@icculus.org> (Manifest recommit) (diff)
downloadgentoo-2-3da72e2c28ebaf0ed29c4b35405844a0ebdf80a9.tar.gz
gentoo-2-3da72e2c28ebaf0ed29c4b35405844a0ebdf80a9.tar.bz2
gentoo-2-3da72e2c28ebaf0ed29c4b35405844a0ebdf80a9.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/rename-1.3.ebuild30
2 files changed, 25 insertions, 10 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/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."
+}