summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Loeh <kosmikus@gentoo.org>2004-11-08 14:18:16 +0000
committerAndres Loeh <kosmikus@gentoo.org>2004-11-08 14:18:16 +0000
commit0186f1f4a0272332d2bae8b8bb5c25e70a5ff6c7 (patch)
tree2668e3ef55e9adbe4ec372db1927406ec58de56a /dev-util/darcs
parentversion bump (Manifest recommit) (diff)
downloadgentoo-2-0186f1f4a0272332d2bae8b8bb5c25e70a5ff6c7.tar.gz
gentoo-2-0186f1f4a0272332d2bae8b8bb5c25e70a5ff6c7.tar.bz2
gentoo-2-0186f1f4a0272332d2bae8b8bb5c25e70a5ff6c7.zip
ebuild cleanup
Diffstat (limited to 'dev-util/darcs')
-rw-r--r--dev-util/darcs/ChangeLog5
-rw-r--r--dev-util/darcs/darcs-1.0.0.ebuild21
2 files changed, 12 insertions, 14 deletions
diff --git a/dev-util/darcs/ChangeLog b/dev-util/darcs/ChangeLog
index b7e362245762..cef203a8fabb 100644
--- a/dev-util/darcs/ChangeLog
+++ b/dev-util/darcs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/darcs
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.24 2004/11/08 13:29:55 kosmikus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.25 2004/11/08 14:18:16 kosmikus Exp $
+
+ 08 Nov 2004; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.0.ebuild:
+ Ebuild cleanup.
*darcs-1.0.0 (08 Nov 2004)
diff --git a/dev-util/darcs/darcs-1.0.0.ebuild b/dev-util/darcs/darcs-1.0.0.ebuild
index ff7e4871be39..db8be0e26a1f 100644
--- a/dev-util/darcs/darcs-1.0.0.ebuild
+++ b/dev-util/darcs/darcs-1.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.0.ebuild,v 1.1 2004/11/08 13:29:55 kosmikus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.0.ebuild,v 1.2 2004/11/08 14:18:16 kosmikus Exp $
DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
HOMEPAGE="http://abridgegame.org/darcs"
@@ -29,18 +29,13 @@ src_compile() {
# distribution contains garbage files
make clean || die "make clean failed"
if use doc ; then
- mv GNUmakefile GNUmakefile.orig
- cat GNUmakefile.orig \
- | sed "s:/doc:/doc/${PF}:" \
- > GNUmakefile
+ sed -i "s:/doc:/doc/${PF}:" GNUmakefile
else
- mv configure configure.orig
- cat configure.orig \
- | sed 's: installdocs::' \
- | sed 's:^.*BUILDDOC.*yes.*$::' \
- | sed 's/^.*TARGETS.*\(darcs\.ps\|manual\).*$/:/' \
- > configure
- chmod u+x configure
+ sed -i \
+ -e 's: installdocs::' \
+ -e 's:^.*BUILDDOC.*yes.*$::' \
+ -e 's/^.*TARGETS.*\(darcs\.ps\|manual\).*$/:/' \
+ configure
fi
econf ${myconf} || die "configure failed"
echo 'INSTALLWHAT=installbin' >> autoconf.mk
@@ -48,5 +43,5 @@ src_compile() {
}
src_install() {
- make DESTDIR=${D} install || die
+ make DESTDIR=${D} install || die "installation failed"
}