summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Loeh <kosmikus@gentoo.org>2003-07-03 12:43:59 +0000
committerAndres Loeh <kosmikus@gentoo.org>2003-07-03 12:43:59 +0000
commitb05b6e4a1a4ebaba35599c4585a2247f0f434886 (patch)
treee0ccb54777d11841470fca60e3472a967e9f1783
parentnew ebuild: darcs (diff)
downloadhistorical-b05b6e4a1a4ebaba35599c4585a2247f0f434886.tar.gz
historical-b05b6e4a1a4ebaba35599c4585a2247f0f434886.tar.bz2
historical-b05b6e4a1a4ebaba35599c4585a2247f0f434886.zip
new ebuild: darcs
-rw-r--r--dev-util/darcs/Manifest5
-rw-r--r--dev-util/darcs/darcs-0.9.10.ebuild38
-rw-r--r--dev-util/darcs/darcs-0.9.11.ebuild54
-rw-r--r--dev-util/darcs/files/digest-darcs-0.9.101
-rw-r--r--dev-util/darcs/files/digest-darcs-0.9.111
5 files changed, 97 insertions, 2 deletions
diff --git a/dev-util/darcs/Manifest b/dev-util/darcs/Manifest
index c0b54baaaefe..b5b422a2ba51 100644
--- a/dev-util/darcs/Manifest
+++ b/dev-util/darcs/Manifest
@@ -1,4 +1,5 @@
-MD5 3d1f701e2957bc09c10a7bc3b75daabc darcs-0.9.11.ebuild 1267
-MD5 3185c727bfe73a8bf56a29f8d79632b0 darcs-0.9.10.ebuild 851
+MD5 ab08ce416d83ca3640a229bb64901544 darcs-0.9.11.ebuild 1368
+MD5 5ef439869190ca4759db8cfb4254b2e7 darcs-0.9.10.ebuild 950
+MD5 1d3b74fc7bc001a4bec74cecc0fce578 ChangeLog 536
MD5 d97b69a5efac7bd9bd7fc87ac3c040e5 files/digest-darcs-0.9.10 64
MD5 6ee1babd371a41e0d137b8d00e896361 files/digest-darcs-0.9.11 64
diff --git a/dev-util/darcs/darcs-0.9.10.ebuild b/dev-util/darcs/darcs-0.9.10.ebuild
new file mode 100644
index 000000000000..8382382c10f5
--- /dev/null
+++ b/dev-util/darcs/darcs-0.9.10.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-0.9.10.ebuild,v 1.1 2003/07/03 12:43:45 kosmikus Exp $
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://abridgegame.org/darcs"
+SRC_URI="http://abridgegame.org/darcs/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND=">=net-ftp/curl-7.10.2
+ >=virtual/ghc-5.04
+ doc? ( >=app-text/tetex-2.0.2
+ dev-tex/latex2html )"
+
+RDEPEND=">=net-ftp/curl-7.10.2"
+
+S=${WORKDIR}/${P}
+
+# targets to make
+TARGETS="darcs darcs.1"
+if [ `use doc` ]; then
+ TARGETS="${TARGETS} darcs.ps manual/index.html"
+fi
+
+src_compile() {
+ sh ./configure --prefix=/usr
+ make ${TARGETS} || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ # correct documentation installation location
+ cd ${D}/usr/share/doc
+ mv darcs ${PF}
+}
diff --git a/dev-util/darcs/darcs-0.9.11.ebuild b/dev-util/darcs/darcs-0.9.11.ebuild
new file mode 100644
index 000000000000..6851d18d024d
--- /dev/null
+++ b/dev-util/darcs/darcs-0.9.11.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-0.9.11.ebuild,v 1.1 2003/07/03 12:43:45 kosmikus Exp $
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://abridgegame.org/darcs"
+SRC_URI="http://abridgegame.org/darcs/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND=">=net-ftp/curl-7.10.2
+ >=virtual/ghc-5.04
+ doc? ( >=app-text/tetex-2.0.2
+ dev-tex/latex2html )"
+
+RDEPEND=">=net-ftp/curl-7.10.2"
+
+S=${WORKDIR}/${P}
+
+src_compile() {
+ # fix typo in autoconf.mk.in
+ mv autoconf.mk.in autoconf.mk.in.orig
+ cat autoconf.mk.in.orig \
+ | sed 's:$(CFLAGS):-optc"$(CFLAGS)":' \
+ > autoconf.mk.in
+ sh ./configure \
+ --prefix=/usr \
+ --datadir=/usr/share \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man || die
+ if [ `use doc` ]; then
+ mv GNUmakefile GNUmakefile.orig
+ cat GNUmakefile.orig \
+ | sed 's:/doc:/doc/${PF}:' \
+ > GNUmakefile
+ else
+ mv GNUmakefile GNUmakefile.orig
+ cat GNUmakefile.orig \
+ | sed 's:^.*/doc.*$::' \
+ > GNUmakefile
+ mv autoconf.mk autoconf.mk.orig
+ cat autoconf.mk.orig \
+ | sed 's:darcs\.ps::' \
+ | sed 's:manual/index.html::' \
+ > autoconf.mk
+ fi
+ make all || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+}
diff --git a/dev-util/darcs/files/digest-darcs-0.9.10 b/dev-util/darcs/files/digest-darcs-0.9.10
new file mode 100644
index 000000000000..e9b754cb0bdc
--- /dev/null
+++ b/dev-util/darcs/files/digest-darcs-0.9.10
@@ -0,0 +1 @@
+MD5 1d88dc1d7dec1dd975d4bd7a684d24b9 darcs-0.9.10.tar.gz 103659
diff --git a/dev-util/darcs/files/digest-darcs-0.9.11 b/dev-util/darcs/files/digest-darcs-0.9.11
new file mode 100644
index 000000000000..676696cbfbd3
--- /dev/null
+++ b/dev-util/darcs/files/digest-darcs-0.9.11
@@ -0,0 +1 @@
+MD5 9c374f13aef2bdb0b9ae65e993df4b00 darcs-0.9.11.tar.gz 127793