ChangeLog

# ChangeLog for dev-util/darcs
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.87 2008/06/29 11:02:14 klausman Exp $

29 Jun 2008; Tobias Klausmann
darcs-1.1.0_pre1.ebuild:
Keyworded on alpha, bug #227677

17 Jun 2008; Jeroen Roovers darcs-1.0.9.ebuild,
darcs-1.1.0_pre1.ebuild:
Marked one stable for HPPA, another one ~hppa (bug #227677).

25 May 2008; Lennart Kolmodin darcs-1.0.5.ebuild,
darcs-1.0.6.ebuild, darcs-1.0.7.ebuild, darcs-1.0.8-r2.ebuild,
darcs-1.0.9.ebuild, darcs-1.1.0_pre1.ebuild:
Use virtual/latex-base instead of virtual/tetex.
This enables the user to use any latex implementation, see bug #222501.

26 Jan 2008; Duncan Coutts darcs-1.0.5.ebuild,
darcs-1.0.6.ebuild, darcs-1.0.7.ebuild, darcs-1.0.8-r2.ebuild,
darcs-1.0.9.ebuild, darcs-1.1.0_pre1.ebuild:
Fix qa bug #207449 and fix installing docs.

30 Dec 2007; Lennart Kolmodin
files/darcs-1.1.0pre1-ghc68.patch, darcs-1.1.0_pre1.ebuild:
Rewrite the GHC version patch. It should now work with all versions of GHC
where darcs previously worked. This fixes bug #203507.

30 Dec 2007; Lennart Kolmodin darcs-1.0.5.ebuild,
darcs-1.0.6.ebuild, darcs-1.0.7.ebuild, darcs-1.0.8-r2.ebuild,
darcs-1.0.9.ebuild:
Add test that dev-tex/latex2html was built with USE=png or USE=gif for all
affected darcs versions as the docs documentation will fail otherwise.
This fixes bug #195801.

21 Dec 2007; Duncan Coutts darcs-1.1.0_pre1.ebuild:
Add missing deps on parsec and regex-compat. Fixes bug #202887.
Sadly have to drop some keywords because of the dep on the parsec package
which does not yet have all the arch keywords. Also fix some quoting issues
in the older versions of the ebuild.

*darcs-1.1.0_pre1 (20 Dec 2007)

20 Dec 2007; Duncan Coutts
+files/darcs-1.1.0pre1-ghc68.patch, darcs-1.0.9.ebuild,
+darcs-1.1.0_pre1.ebuild:
New version compatible with ghc-6.8. Mark older one as not working with
ghc-6.8.

31 Oct 2007; Duncan Coutts darcs-1.0.5.ebuild,
darcs-1.0.6.ebuild, darcs-1.0.7.ebuild, darcs-1.0.8-r2.ebuild:
Drop virtual/ghc in favour of dev-lang/ghc

29 Aug 2007; Jeroen Roovers darcs-1.0.9.ebuild:
Marked ~hppa too.

28 Aug 2007; nixnut darcs-1.0.9.ebuild:
Stable on ppc wrt bug 186845

11 Aug 2007; Steve Dibb darcs-1.0.9.ebuild:
amd64 stable, bug 186845

08 Aug 2007; Lennart Kolmodin darcs-1.0.9.ebuild:
Change virtual/ghc dependency into dev-lang/ghc to fix bug #188079.
Also correct a sed to correctly send the user's custom CFLAGS to the
assembler.

07 Aug 2007; Markus Rothe darcs-1.0.9.ebuild:
Stable on ppc64; bug #186845

07 Aug 2007; Raúl Porcel darcs-1.0.9.ebuild:
x86 stable wrt #186845

06 Aug 2007; Ferris McCormick darcs-1.0.9.ebuild:
Sparc stable --- Bug #186845 --- Passes all internal tests.

27 Jul 2007; Duncan Coutts -darcs-1.0.4.ebuild:
Remove old version.

*darcs-1.0.9 (11 Jun 2007)

11 Jun 2007; Lennart Kolmodin +darcs-1.0.9.ebuild:
Version bump

08 Jun 2007; Zac Medico Manifest:
Fix broken manifest due to commit withot repoman.

*darcs-1.0.8-r2 (07 Jun 2007)

07 Jun 2007; Lennart Kolmodin
+files/darcs-1.0.9-bashcomp.patch, +darcs-1.0.8-r2.ebuild:
Patching to not use have() in the bash completion. Fixes bug #171001

30 Apr 2007; Duncan Coutts darcs-1.0.7.ebuild,
darcs-1.0.8-r1.ebuild:
Add missing inherit eutils.

29 Apr 2007; Lennart Kolmodin darcs-1.0.4.ebuild,
darcs-1.0.5.ebuild, darcs-1.0.6.ebuild, darcs-1.0.7.ebuild,
darcs-1.0.8-r1.ebuild:
Added ghc-6.6 blocks for 1.0.4, 1.0.5 and 1.0.6. Added proper extra-libs
deps to 1.0.7 and 1.0.8-r1. 1.0.4 also got a src_unpack which the otherones
already had, wrt compiling C code with correct C flags.

16 Apr 2007; Markus Rothe darcs-1.0.8-r1.ebuild:
Stable on ppc64

21 Mar 2007; Raúl Porcel darcs-1.0.8-r1.ebuild:
x86 stable

09 Mar 2007; Duncan Coutts darcs-1.0.4.ebuild,
darcs-1.0.5.ebuild, darcs-1.0.6.ebuild, darcs-1.0.7.ebuild,
darcs-1.0.8-r1.ebuild:
Add dep on dev-libs/gmp as pointed out in bug #169848

20 Oct 2006; Duncan Coutts
+files/darcs-1.0.8-ghc66.patch:
Fix bug #150326 again, hopefully for good this time!

16 Oct 2006; Chris Parrott darcs-1.0.7.ebuild,
darcs-1.0.8-r1.ebuild:
remove virtual/mta from DEPEND and add warning about mta

07 Oct 2006; Andres Loeh darcs-1.0.8-r1.ebuild:
Undo ghc-6.6-specific changes to darcs ebuild, hopefully fixing bug #150326

*darcs-1.0.8-r1 (06 Oct 2006)

06 Oct 2006; Luis F. Araujo +darcs-1.0.8-r1.ebuild:
Fixing bug #148038

*darcs-1.0.8 (12 Aug 2006)

12 Aug 2006; +darcs-1.0.8.ebuild:
Version bump. See #142785.
Thanks to Paulo Jorge de Oliveira Cantante de Matos for reminding us.

*darcs-1.0.7 (16 Jun 2006)

16 Jun 2006; Duncan Coutts +darcs-1.0.7.ebuild:
New version. Minor ebuild cleanup, particularly in the way docs are built.

21 May 2006; Markus Rothe darcs-1.0.5.ebuild:
Stable on ppc64

17 May 2006; Diego Pettenò darcs-1.0.6.ebuild:
Add ~x86-fbsd keyword (before I forget), although this requires masked
ghc/ghc-bin on FreeBSD.

27 Mar 2006; Duncan Coutts darcs-1.0.6.ebuild:
Marked ~ia64

27 Mar 2006; Duncan Coutts darcs-1.0.6.ebuild:
Fix for ia64. Not added ia64 to KEYWORDS yet since it depends on ghc which
is still p.masked for ia64.

24 Mar 2006; Fernando J. Pereda darcs-1.0.6.ebuild:
Marked ~alpha.

*darcs-1.0.6 (15 Mar 2006)

15 Mar 2006; Andres Loeh -darcs-1.0.2.ebuild,
-darcs-1.0.3.ebuild, +darcs-1.0.6.ebuild:
New version.

01 Mar 2006; Markus Rothe darcs-1.0.5.ebuild:
Added ~ppc64; bug #124469

14 Feb 2006; darcs-1.0.5.ebuild:
Marked ~sparc. Fixed use of CFLAGS which casued problems on sparc.

10 Feb 2006; -darcs-1.0.5_rc1.ebuild,
-darcs-1.0.5_rc2.ebuild:
Remove release candidates 1.0.5_rc1 and 1.0.5_rc2 since 1.0.5 available.

11 Jan 2006; Mark Loeser darcs-1.0.5.ebuild:
Stable on x86; bug #112909

11 Jan 2006; Luca Barbato darcs-1.0.5.ebuild:
Marked ppc

24 Dec 2005; Michael Hanselmann darcs-1.0.3.ebuild:
Stable on ppc.

*darcs-1.0.5 (07 Dec 2005)

07 Dec 2005; Andres Loeh +darcs-1.0.5.ebuild:
New release.

05 Dec 2005; Andres Loeh -darcs-1.0.1.ebuild,
-darcs-1.0.3_rc1.ebuild:
Cleanup.

*darcs-1.0.5_rc2 (04 Dec 2005)

04 Dec 2005; Andres Loeh +darcs-1.0.5_rc2.ebuild:
New release candidate. Removed some old ebuilds.

*darcs-1.0.5_rc1 (25 Nov 2005)

25 Nov 2005; Andres Loeh +darcs-1.0.5_rc1.ebuild:
New release candidate.

20 Nov 2005; Mark Loeser darcs-1.0.3.ebuild:
Stable on x86; bug #112909

*darcs-1.0.4 (17 Nov 2005)

17 Nov 2005; Andres Loeh +darcs-1.0.4.ebuild:
New version (requested in bug #112847).

08 Aug 2005; Andres Loeh darcs-1.0.3_rc1.ebuild,
darcs-1.0.3.ebuild:
Restored missing ~amd64 flags.

*darcs-1.0.3 (26 Jul 2005)

26 Jul 2005; Andres Loeh +darcs-1.0.3.ebuild:
New version.

10 May 2005; Andres Loeh darcs-1.0.3_rc1.ebuild:
darcs-1.0.3_rc1 must be built with ghc-6.2.2 or later, fixing bug #92152.

03 May 2005; Andres Loeh darcs-1.0.1.ebuild,
darcs-1.0.2.ebuild, darcs-1.0.3_rc1.ebuild:
Darcs needs an mta to operate correctly.

02 May 2005; Andres Loeh -darcs-0.9.23.ebuild:
Cleaning up.

*darcs-1.0.3_rc1 (02 May 2005)

02 May 2005; Andres Loeh +darcs-1.0.3_rc1.ebuild:
New release candidate, which supports compilation with ghc-6.4.

21 Apr 2005; Michael Hanselmann darcs-1.0.2.ebuild:
Stable on ppc.

24 Mar 2005; Andres Loeh darcs-1.0.2.ebuild:
Marked stable on x86.

19 Mar 2005; Andres Loeh darcs-0.9.23.ebuild,
darcs-1.0.1.ebuild, darcs-1.0.2.ebuild:
darcs does not currently build with ghc-6.4, thus it is blocked by this
compiler version. Added test phase for darcs-1.0.2.

*darcs-1.0.2 (15 Feb 2005)

15 Feb 2005; Andres Loeh -darcs-1.0.0.ebuild,
+darcs-1.0.2.ebuild:
New version.

17 Jan 2005; Andres Loeh -darcs-0.9.20.ebuild,
darcs-0.9.23.ebuild, darcs-1.0.1.ebuild:
Disabled wxwindows USE flag in 0.9.23 because of bug #77559. Marked 1.0.1
stable on x86.

*darcs-1.0.1 (15 Dec 2004)

15 Dec 2004; Andres Loeh +darcs-1.0.1.ebuild:
New version.

25 Nov 2004; Andres Loeh darcs-1.0.0.ebuild:
Removed wxhaskell dependency, because wxhaskell features are currently
disabled. Added ~amd64 flag (bug #58590).

08 Nov 2004; Andres Loeh darcs-1.0.0.ebuild:
Ebuild cleanup.

*darcs-1.0.0 (08 Nov 2004)

08 Nov 2004; Andres Loeh +darcs-1.0.0.ebuild,
-darcs-1.0.0_rc1.ebuild, -darcs-1.0.0_rc3.ebuild:
Version 1.0.0 released.

*darcs-1.0.0_rc3 (21 Oct 2004)

21 Oct 2004; Andres Loeh darcs-0.9.22.ebuild,
darcs-1.0.0_rc3.ebuild:
Version bump, closing bug #68064.

24 Sep 2004; darcs-0.9.23.ebuild:
stable bump due to bug 59753

24 Aug 2004; Andres Loeh darcs-1.0.0_rc1.ebuild:
Distribution contains compiled filed. Added "make clean" (#61433).

*darcs-1.0.0_rc1 (23 Aug 2004)

23 Aug 2004; Andres Loeh darcs-0.9.21.ebuild,
darcs-1.0.0_rc1.ebuild:
New version.

*darcs-0.9.23 (30 Jul 2004)

30 Jul 2004; Andres Loeh darcs-0.9.19.ebuild,
darcs-0.9.23.ebuild:
New version.

*darcs-0.9.22 (29 Jun 2004)

29 Jun 2004; Andres Loeh darcs-0.9.22.ebuild:
New version.

*darcs-0.9.21 (13 Jun 2004)

13 Jun 2004; Andres Loeh darcs-0.9.17.ebuild,
darcs-0.9.20.ebuild, darcs-0.9.21.ebuild:
Marked 0.9.20 stable for x86 (bug #53293). Added new version 0.9.21.

*darcs-0.9.20 (17 May 2004)

17 May 2004; Andres Loeh darcs-0.9.20.ebuild:
Version bump.

12 Apr 2004; Andres Loeh darcs-0.9.17.ebuild,
darcs-0.9.19.ebuild:
Building with -doc did not work due to permission problem (#47546).

*darcs-0.9.19 (12 Apr 2004)

12 Apr 2004; Andres Loeh darcs-0.9.17.ebuild,
darcs-0.9.19.ebuild:
New version. Fixed RDEPEND on wxhaskell.

18 Mar 2004; Andres Loeh darcs-0.9.17.ebuild:
Experimental wxHaskell GUI is now built if wxwindows USE flag is set.

*darcs-0.9.17 (25 Feb 2004)

25 Feb 2004; Andres Loeh darcs-0.9.17.ebuild:
New version.

*darcs-0.9.16 (18 Feb 2004)

18 Feb 2004; Andres Loeh darcs-0.9.13.ebuild,
darcs-0.9.16.ebuild:
New version.

*darcs-0.9.15 (16 Dec 2003)

16 Dec 2003; Andres Loeh darcs-0.9.12.ebuild,
darcs-0.9.15.ebuild:
Version bump.

*darcs-0.9.14 (11 Nov 2003)

11 Nov 2003; Andres Loeh darcs-0.9.14.ebuild:
Version bump.

22 Oct 2003; Andres Loeh darcs-0.9.13.ebuild:
Corrected dependency to teTeX.

*darcs-0.9.13 (22 Sep 2003)

22 Sep 2003; Andres Loeh darcs-0.9.13.ebuild:
New version.

*darcs-0.9.12 (31 Jul 2003)

31 Jul 2003; Andres Loeh darcs-0.9.11.ebuild,
darcs-0.9.12.ebuild:
Version bump. Both 0.9.11 and 0.9.12 should compile with GHC 6 now.

10 Jul 2003; Andres Loeh :
Updated digest for darcs-0.9.10

04 Jul 2003; Patrick Kursawe darcs-0.9.10.ebuild:
Moved some stuff from script body into src_compile where it belongs

*darcs-0.9.11 (04 Jul 2003)

04 Jul 2003; Andres Loeh darcs-0.9.11.ebuild:
Version bump. This version has an autoconf-base build system. Also updated
the digest because the author has changed the archive.

*darcs-0.9.10 (03 Jul 2003)

03 Jul 2003; Andres Loeh darcs-0.9.10.ebuild,
darcs-0.9.11.ebuild:
Initial import. darcs is a version control system with advanced underlying
theory. It is written in Haskell. Thanks to Peter Simons
for pushing me (bug 23771) to do this.

Manifest

AUX darcs-1.0.8-ghc66.patch 3057 RMD160 0eb34da97317b5ae24800ae6b026d3a8acc990b1 SHA1 57d192aa7347dbea460de5bd7aea7c7ff160c7ed SHA256 18ff1042e522d9dc09c1f81b716c22370decfa9b02841c8e765f9e30ce682ea1
AUX darcs-1.0.9-bashcomp.patch 510 RMD160 73888c758f4a2ac93b83229115d23599162c0b15 SHA1 1abf5c0477169eb0109a0dd7ecfb2c38dfee15ff SHA256 39a7e531f68ee4b71958d52557e6c6ace0c7717d546dcddccc4a5e7fb5daeff6
AUX darcs-1.1.0pre1-ghc68.patch 1548 RMD160 bde8493cae0dd2fa9e21367ec5322252780209d5 SHA1 9f64935e8b4a44cab474352a0b8090192b3052e0 SHA256 252199c644163c24c09504c72a34cf750d065fab322a2c17bf4016d83b1b826e
DIST darcs-1.0.5.tar.gz 944888 RMD160 453dc7282d2751c0b862cf74bd095b63b927e5d7 SHA1 49512ba28c1724adba9eef4a9e3f7e104b7634f9 SHA256 9e71bfdab2be413b43219bdd10f8e79a3b496d542eb447d910b2708f8a6663a9
DIST darcs-1.0.6.tar.gz 963609 RMD160 271f5f965a1ccd7428877a06349c8d9d39d74658 SHA1 d45bb51718225525b92b0efc57000ce4c50f49ce SHA256 8296f91934cfff4721356549db0d2f403fcc796ae424307c76afd33101090752
DIST darcs-1.0.7.tar.gz 1009946 RMD160 01cbde260718b5e16475047b3ed801c8d52507df SHA1 31e9048b223c9cf3bd33102419a63034255071b0 SHA256 8d9e60f67e937f344332458cd58f46545d1348c8427b76ece2f3541661732e94
DIST darcs-1.0.8.tar.gz 1010010 RMD160 a95309f7dc79b29d7e4f237627aa300a84aa5331 SHA1 f69fb2f5deb3c5281b2eaed9fcb8aa3fe55829dd SHA256 36cf64b10a9e09e4bb2d4bc78371a8b511e7e5bbf13deb1a754e867b0efcfcac
DIST darcs-1.0.9.tar.gz 1059363 RMD160 3a971f778e4343d90e88f1ba8815ea3c880ac2a1 SHA1 b2d2238c01d530796c29db4b46fd4fd9c21be9b6 SHA256 f848a63363ad72d3217b1eb469c267c00ea6085a491172d385ab6eda210b30dc
DIST darcs-1.1.0pre1.tar.gz 1116180 RMD160 4269f61695045e85f2b74eb124221c1e0ac449d6 SHA1 ec47136625c2a7c99030cdfa9738d09e77dbd517 SHA256 4c0cc05d251af94c86664bc2e4cdae7bf2a6cf10fcef2ebf5329b593d661a2f0
EBUILD darcs-1.0.5.ebuild 2102 RMD160 920879c9238e54f28aa43dc602f329b7a1e79148 SHA1 fbf6bea59b40fab90e734e1127503c175b04e9eb SHA256 8aa667cf54a4281bbea3c1d1bf9f909e0ec9d06769ba0804e70e5a30e32da341
EBUILD darcs-1.0.6.ebuild 2303 RMD160 de226492774651404db10f7bab40c4d32c3ca833 SHA1 3081a719aa752b2d0858f895b5a724744585223c SHA256 d8468f4a5975e574f8d1f2d09155863bed4770c74c71fdb4baffa7203c386dc9
EBUILD darcs-1.0.7.ebuild 2375 RMD160 a2063de21c656c860d4f2a9913b9b746370c13f7 SHA1 b12ee1e95fa0eb12991d9b4663d78c468def9a45 SHA256 09175e29ee425edd73df67130a303766b4561e1821e7867de438028bed292cd4
EBUILD darcs-1.0.8-r2.ebuild 2815 RMD160 94d68752d6a3e9f43844536660fe5efda8bbd18b SHA1 11ca7049d3e4074a2fb00ad3d6db380fae5533a1 SHA256 8e5c88aa24d5fa995d74a6e9f3df9e2838135147d07ecd7a0fe8d7a4437b8e43
EBUILD darcs-1.0.9.ebuild 2901 RMD160 ac1eab4928af763dc2b9dcb658488c7f34b00ade SHA1 34883bff0f707931ef6957c7de650be5c78310e2 SHA256 0fa82852507fd76e4751140061389dcaf3a3a28ef91b1fbeeb4687807635a493
EBUILD darcs-1.1.0_pre1.ebuild 3159 RMD160 9afeda06991d7494fddd19e1262f1597d7e5d1be SHA1 c85e03cf1aa6849d7bcb6a03eaa99a08cb429f80 SHA256 b3870adb092a5fac4f0328b7f2155a86597e3e8cb42241a37bad6039a97d6dc9
MISC ChangeLog 13225 RMD160 7626525f46968ad21c0fbbf3bcbd9f4e5b51e402 SHA1 a1b5b1d0c5ac2772052a40cc8d6caa02dc54aa34 SHA256 6c1d6d281fb3d21dcccc086dc46aa024ea2c2f7df7e79838e488961deaf76340
MISC metadata.xml 223 RMD160 7783e6057effb8b8f0b79cffe8b557b32c633839 SHA1 7b962c77f2e38479a9d1621ec8d307ca9f761753 SHA256 1d00c8be162a6cb87b3de440b3e63e10b39c12d56e8fbfe592e75aed872b2508

darcs-1.0.5.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.5.ebuild,v 1.13 2008/05/25 11:59:07 kolmodin Exp $

inherit base fixheadtails eutils

DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
HOMEPAGE="http://abridgegame.org/darcs"
MY_P0="${P/_rc/rc}"
MY_P="${MY_P0/_pre/pre}"
SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ppc ppc64 ~sparc x86"
IUSE="doc"
# disabled wxwindows use flag for now, as I got build errors

DEPEND=">=net-misc/curl-7.10.2
virtual/mta
doc? ( virtual/latex-base
dev-tex/latex2html )"
# wxwindows? ( dev-haskell/wxhaskell )

RDEPEND=">=net-misc/curl-7.10.2
virtual/mta
dev-libs/gmp"
# wxwindows? ( dev-haskell/wxhaskell )"

S=${WORKDIR}/${MY_P}

pkg_setup() {
if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
eerror "Building darcs with USE=\"doc\" requires that"
eerror "dev-tex/latex2html is built with at least one of"
eerror "USE=\"png\" and USE=\"gif\"."
die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
fi
}

src_unpack() {
base_src_unpack
ht_fix_all

# If we're going to use the CFLAGS with GHC's -optc flag then we'd better
# use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
sed -i 's:\($(addprefix -optc,$(CFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
"${S}/autoconf.mk.in"
}

src_compile() {
local myconf
# myconf="`use_with wxwindows wx`"
# distribution contains garbage files
make clean || die "make clean failed"
if use doc ; then
sed -i "s:/doc:/doc/${PF}:" GNUmakefile
else
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
make all || die "make failed"
}

src_test() {
make test
}

src_install() {
make DESTDIR="${D}" install || die "installation failed"
}

darcs-1.0.6.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.6.ebuild,v 1.12 2008/05/25 11:59:07 kolmodin Exp $

inherit base eutils

DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
HOMEPAGE="http://abridgegame.org/darcs"
MY_P0="${P/_rc/rc}"
MY_P="${MY_P0/_pre/pre}"
SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="doc"
# disabled wxwindows use flag for now, as I got build errors

DEPEND=">=net-misc/curl-7.10.2
virtual/mta
doc? ( virtual/latex-base
dev-tex/latex2html )"
# wxwindows? ( dev-haskell/wxhaskell )

RDEPEND=">=net-misc/curl-7.10.2
virtual/mta
dev-libs/gmp"
# wxwindows? ( dev-haskell/wxhaskell )"

S=${WORKDIR}/${MY_P}

pkg_setup() {
if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
eerror "Building darcs with USE=\"doc\" requires that"
eerror "dev-tex/latex2html is built with at least one of"
eerror "USE=\"png\" and USE=\"gif\"."
die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
fi
}

src_unpack() {
base_src_unpack

# If we're going to use the CFLAGS with GHC's -optc flag then we'd better
# use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
sed -i 's:\($(addprefix -optc,$(CFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
"${S}/autoconf.mk.in"

# On ia64 we need to tone down the level of inlining so we don't break some
# of the low level ghc/gcc interaction gubbins.
use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
}

src_compile() {
local myconf
# myconf="`use_with wxwindows wx`"
# distribution contains garbage files
make clean || die "make clean failed"
if use doc ; then
sed -i "s:/doc:/doc/${PF}:" GNUmakefile
else
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
make all || die "make failed"
}

src_test() {
make test
}

src_install() {
make DESTDIR="${D}" install || die "installation failed"
}

darcs-1.0.7.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.7.ebuild,v 1.10 2008/05/25 11:59:07 kolmodin Exp $

inherit base autotools eutils

DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
HOMEPAGE="http://abridgegame.org/darcs"
MY_P0="${P/_rc/rc}"
MY_P="${MY_P0/_pre/pre}"
SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="doc"

DEPEND=">=net-misc/curl-7.10.2
dev-haskell/html
dev-haskell/mtl
dev-haskell/quickcheck
>=dev-lang/ghc-6.2.2
doc? ( virtual/latex-base
>=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"

RDEPEND=">=net-misc/curl-7.10.2
virtual/mta
dev-libs/gmp"

S=${WORKDIR}/${MY_P}

pkg_setup() {
if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
eerror "Building darcs with USE=\"doc\" requires that"
eerror "dev-tex/latex2html is built with at least one of"
eerror "USE=\"png\" and USE=\"gif\"."
die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
fi
}

src_unpack() {
base_src_unpack

cd "${S}"
epatch "${FILESDIR}/darcs-1.0.8-ghc66.patch"

# If we're going to use the CFLAGS with GHC's -optc flag then we'd better
# use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
sed -i 's:\($(addprefix -optc,$(CFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
"${S}/autoconf.mk.in"

# On ia64 we need to tone down the level of inlining so we don't break some
# of the low level ghc/gcc interaction gubbins.
use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"

# Since we've patched the build system:
eautoreconf
}

src_compile() {

econf $(use_with doc docs) \
|| die "configure failed"
emake all || die "make failed"
}

src_test() {
make test
}

src_install() {
make DESTDIR="${D}" installbin || die "installation failed"
if use doc; then
dodoc "${S}/darcs.ps"
dohtml "${S}/manual/"*
fi
}

pkg_postinst() {
ewarn "NOTE: in order for the darcs send command to work properly,"
ewarn "you must properly configure your mail transport agent to relay"
ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
}

darcs-1.0.8-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.8-r2.ebuild,v 1.6 2008/05/25 11:59:07 kolmodin Exp $

inherit base autotools eutils

DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
HOMEPAGE="http://abridgegame.org/darcs"
MY_P0="${P/_rc/rc}"
MY_P="${MY_P0/_pre/pre}"
SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE="doc"

DEPEND=">=net-misc/curl-7.10.2
dev-haskell/html
dev-haskell/mtl
dev-haskell/quickcheck
>=dev-lang/ghc-6.2.2
doc? ( virtual/latex-base
>=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"

RDEPEND=">=net-misc/curl-7.10.2
virtual/mta
dev-libs/gmp"

S=${WORKDIR}/${MY_P}

pkg_setup() {
if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
eerror "Building darcs with USE=\"doc\" requires that"
eerror "dev-tex/latex2html is built with at least one of"
eerror "USE=\"png\" and USE=\"gif\"."
die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
fi
}

src_unpack() {
base_src_unpack

cd "${S}"
epatch "${FILESDIR}/${P}-ghc66.patch"
epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch"

# If we're going to use the CFLAGS with GHC's -optc flag then we'd better
# use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
sed -i 's:\($(addprefix -optc,$(CFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
"${S}/autoconf.mk.in"

# On ia64 we need to tone down the level of inlining so we don't break some
# of the low level ghc/gcc interaction gubbins.
use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"

# Since we've patched the build system:
eautoreconf
}

src_compile() {

econf $(use_with doc docs) \
|| die "configure failed"
emake all || die "make failed"
}

src_test() {
make test
}

src_install() {
make DESTDIR="${D}" installbin || die "installation failed"
# The bash completion should be installed in /usr/share/bash-completion/
# rather than /etc/bash_completion.d/ . Fixes bug #148038.
insinto "/usr/share/bash-completion" \
&& doins "${D}/etc/bash_completion.d/darcs" \
&& rm "${D}/etc/bash_completion.d/darcs" \
&& rmdir "${D}/etc/bash_completion.d" \
&& rmdir "${D}/etc" \
|| die "fixing location of darcs bash completion failed"
if use doc; then
dodoc "${S}/darcs.ps"
dohtml -r "${S}/manual/"*
fi
}

pkg_postinst() {
ewarn "NOTE: in order for the darcs send command to work properly,"
ewarn "you must properly configure your mail transport agent to relay"
ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
}

darcs-1.0.9.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.9.ebuild,v 1.13 2008/06/17 00:19:51 jer Exp $

inherit base autotools eutils

DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
HOMEPAGE="http://abridgegame.org/darcs"
MY_P0="${P/_rc/rc}"
MY_P="${MY_P0/_pre/pre}"
SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="doc"

DEPEND=">=net-misc/curl-7.10.2
>=dev-lang/ghc-6.2.2
=dev-haskell/quickcheck-1*
dev-haskell/mtl
dev-haskell/html
sys-apps/diffutils
doc? ( virtual/latex-base
>=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"

RDEPEND=">=net-misc/curl-7.10.2
virtual/mta
dev-libs/gmp"

S=${WORKDIR}/${MY_P}

pkg_setup() {
if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
eerror "Building darcs with USE=\"doc\" requires that"
eerror "dev-tex/latex2html is built with at least one of"
eerror "USE=\"png\" and USE=\"gif\"."
die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
fi
}

src_unpack() {
base_src_unpack

cd "${S}"
epatch "${FILESDIR}/${P}-bashcomp.patch"

# If we're going to use the CFLAGS with GHC's -optc flag then we'd better
# use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
sed -i 's:\($(addprefix -optc,$(CFLAGS) $(CPPFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
"${S}/autoconf.mk.in"

# On ia64 we need to tone down the level of inlining so we don't break some
# of the low level ghc/gcc interaction gubbins.
use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"

# Since we've patched the build system:
eautoreconf
}

src_compile() {

econf $(use_with doc docs) \
|| die "configure failed"
emake all || die "make failed"
}

src_test() {
make test
}

src_install() {
make DESTDIR="${D}" installbin || die "installation failed"
# The bash completion should be installed in /usr/share/bash-completion/
# rather than /etc/bash_completion.d/ . Fixes bug #148038.
insinto "/usr/share/bash-completion" \
&& doins "${D}/etc/bash_completion.d/darcs" \
&& rm "${D}/etc/bash_completion.d/darcs" \
&& rmdir "${D}/etc/bash_completion.d" \
&& rmdir "${D}/etc" \
|| die "fixing location of darcs bash completion failed"
if use doc; then
dodoc "${S}/manual/darcs.ps" || die "installing darcs.ps failed"
dohtml -r "${S}/manual/"* || die "installing darcs manual failed"
fi
}

pkg_postinst() {
ewarn "NOTE: in order for the darcs send command to work properly,"
ewarn "you must properly configure your mail transport agent to relay"
ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
}

darcs-1.1.0_pre1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.1.0_pre1.ebuild,v 1.7 2008/06/29 11:02:14 klausman Exp $

inherit base autotools eutils

DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
HOMEPAGE="http://darcs.net"
MY_P0="${P/_rc/rc}"
MY_P="${MY_P0/_pre/pre}"
SRC_URI="http://darcs.net/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
IUSE="doc"

DEPEND=">=net-misc/curl-7.10.2
>=dev-lang/ghc-6.2.2
=dev-haskell/quickcheck-1*
dev-haskell/mtl
dev-haskell/html
dev-haskell/parsec
dev-haskell/regex-compat
sys-apps/diffutils
doc? ( virtual/latex-base
>=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"

RDEPEND=">=net-misc/curl-7.10.2
virtual/mta
dev-libs/gmp"

S=${WORKDIR}/${MY_P}

pkg_setup() {
if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
eerror "Building darcs with USE=\"doc\" requires that"
eerror "dev-tex/latex2html is built with at least one of"
eerror "USE=\"png\" and USE=\"gif\"."
die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
fi
}

src_unpack() {
base_src_unpack

# For GHC 6.8* compatibility, make sure
# * the new openFd/fdToHandle API is found
# * to use the containers package, if it exists
# Works with all GHC versions
cd "${S}"
epatch "${FILESDIR}/${PN}-1.1.0pre1-ghc68.patch"

pushd tools
epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch"
popd

# If we're going to use the CFLAGS with GHC's -optc flag then we'd better
# use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
sed -i 's:\($(addprefix -optc,$(CFLAGS) $(CPPFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
"${S}/autoconf.mk.in"

# On ia64 we need to tone down the level of inlining so we don't break some
# of the low level ghc/gcc interaction gubbins.
use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"

# Since we've patched the build system:
cd "${S}"
eautoreconf
}

src_compile() {

econf $(use_with doc docs) \
|| die "configure failed"
emake all || die "make failed"
}

src_test() {
make test
}

src_install() {
make DESTDIR="${D}" installbin || die "installation failed"
# The bash completion should be installed in /usr/share/bash-completion/
# rather than /etc/bash_completion.d/ . Fixes bug #148038.
insinto "/usr/share/bash-completion" \
&& doins "${D}/etc/bash_completion.d/darcs" \
&& rm "${D}/etc/bash_completion.d/darcs" \
&& rmdir "${D}/etc/bash_completion.d" \
&& rmdir "${D}/etc" \
|| die "fixing location of darcs bash completion failed"
if use doc; then
dodoc "${S}/doc/manual/darcs.ps" || die "installing darcs.ps failed"
dohtml -r "${S}/doc/manual/"* || die "installing darcs manual failed"
fi
}

pkg_postinst() {
ewarn "NOTE: in order for the darcs send command to work properly,"
ewarn "you must properly configure your mail transport agent to relay"
ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
}

files

metadata.xml




haskell

haskell@gentoo.org