diff options
author | Lennart Kolmodin <kolmodin@gentoo.org> | 2007-06-11 20:43:44 +0000 |
---|---|---|
committer | Lennart Kolmodin <kolmodin@gentoo.org> | 2007-06-11 20:43:44 +0000 |
commit | d6eba6f59b437ba20aafdb447cd8214281ac2ee4 (patch) | |
tree | 084140f1d9d89361d7703a440646f88e73f8f1ba /dev-util/darcs | |
parent | Version bump, bug #181648 (diff) | |
download | gentoo-2-d6eba6f59b437ba20aafdb447cd8214281ac2ee4.tar.gz gentoo-2-d6eba6f59b437ba20aafdb447cd8214281ac2ee4.tar.bz2 gentoo-2-d6eba6f59b437ba20aafdb447cd8214281ac2ee4.zip |
Version bump of dev-util/darcs
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-util/darcs')
-rw-r--r-- | dev-util/darcs/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/darcs/darcs-1.0.9.ebuild | 83 | ||||
-rw-r--r-- | dev-util/darcs/files/digest-darcs-1.0.9 | 3 |
3 files changed, 92 insertions, 1 deletions
diff --git a/dev-util/darcs/ChangeLog b/dev-util/darcs/ChangeLog index d2e6cf098a58..9685f75b0759 100644 --- a/dev-util/darcs/ChangeLog +++ b/dev-util/darcs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/darcs # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.69 2007/06/08 05:42:15 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.70 2007/06/11 20:43:44 kolmodin Exp $ + +*darcs-1.0.9 (11 Jun 2007) + + 11 Jun 2007; Lennart Kolmodin <kolmodin@gentoo.org> +darcs-1.0.9.ebuild: + Version bump 08 Jun 2007; Zac Medico <zmedico@gentoo.org> Manifest: Fix broken manifest due to commit withot repoman. diff --git a/dev-util/darcs/darcs-1.0.9.ebuild b/dev-util/darcs/darcs-1.0.9.ebuild new file mode 100644 index 000000000000..f196a0576432 --- /dev/null +++ b/dev-util/darcs/darcs-1.0.9.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2007 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.1 2007/06/11 20:43:44 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 + >=virtual/ghc-6.2.2 + dev-haskell/quickcheck + dev-haskell/mtl + dev-haskell/html + sys-apps/diffutils + doc? ( virtual/tetex + >=dev-tex/latex2html-2002.2.1_pre20041025-r1 )" + +RDEPEND=">=net-misc/curl-7.10.2 + virtual/mta + dev-libs/gmp" + +S=${WORKDIR}/${MY_P} + +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))\):\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() { + # Since we've patched the build system: + eautoreconf + + 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." +} diff --git a/dev-util/darcs/files/digest-darcs-1.0.9 b/dev-util/darcs/files/digest-darcs-1.0.9 new file mode 100644 index 000000000000..399587eefd86 --- /dev/null +++ b/dev-util/darcs/files/digest-darcs-1.0.9 @@ -0,0 +1,3 @@ +MD5 077420eec437ecdd45d8dc6682ee61fa darcs-1.0.9.tar.gz 1059363 +RMD160 3a971f778e4343d90e88f1ba8815ea3c880ac2a1 darcs-1.0.9.tar.gz 1059363 +SHA256 f848a63363ad72d3217b1eb469c267c00ea6085a491172d385ab6eda210b30dc darcs-1.0.9.tar.gz 1059363 |