summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2008-01-26 20:29:19 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2008-01-26 20:29:19 +0000
commit77482e3f702ee5139ca319db796362907a186281 (patch)
tree404732def0571c08733d01da6dd39152b263af0f /dev-lang
parentFix qa bug #207490 and remove old version. (diff)
downloadhistorical-77482e3f702ee5139ca319db796362907a186281.tar.gz
historical-77482e3f702ee5139ca319db796362907a186281.tar.bz2
historical-77482e3f702ee5139ca319db796362907a186281.zip
New version. Fixes bug #143141.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/hugs98/ChangeLog9
-rw-r--r--dev-lang/hugs98/Manifest24
-rw-r--r--dev-lang/hugs98/files/digest-hugs98-2006.93
-rw-r--r--dev-lang/hugs98/hugs98-2006.9.ebuild114
4 files changed, 140 insertions, 10 deletions
diff --git a/dev-lang/hugs98/ChangeLog b/dev-lang/hugs98/ChangeLog
index c41c053adc75..da466be93743 100644
--- a/dev-lang/hugs98/ChangeLog
+++ b/dev-lang/hugs98/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/hugs98
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/hugs98/ChangeLog,v 1.44 2007/07/22 08:56:18 graaff Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/hugs98/ChangeLog,v 1.45 2008/01/26 20:29:19 dcoutts Exp $
+
+*hugs98-2006.9 (26 Jan 2008)
+
+ 26 Jan 2008; Duncan Coutts <dcoutts@gentoo.org> +hugs98-2006.9.ebuild:
+ New version. Fixes bug #143141.
22 Jul 2007; Hans de Graaff <graaff@gentoo.org> hugs98-2005.3-r2.ebuild:
Drop virtual/x11 references.
diff --git a/dev-lang/hugs98/Manifest b/dev-lang/hugs98/Manifest
index a07528be405e..4f15f05a6e63 100644
--- a/dev-lang/hugs98/Manifest
+++ b/dev-lang/hugs98/Manifest
@@ -16,6 +16,7 @@ SHA256 7e60d448b4c75f0321ff6aec0cff845c9c6053b5ba5229af4451f814211f13ef files/hu
DIST hugs98-Mar2005-patch.gz 5304 RMD160 7eb44a997cc7a94528753851024025eabf282296 SHA1 27639b03b5972c5dcccd4d329bf6c8d814ae8c0f SHA256 3551cb640ef0d6fc5b97e94ac3303f00171ce1a0e4144d615d0982863c1dbe34
DIST hugs98-Mar2005.tar.gz 4198745 RMD160 4c3b391a7364a199694ab8c7946146eb37b7c95c SHA1 34d994997bc6bd96c08e19a18cdf31a17850051b SHA256 a6b9b82aea02e76b4e7359172ef7c71abe58b3104a77d109cb3393bf0bbe6227
DIST hugs98-Nov2003.tar.gz 1919935 RMD160 32c228e3e3fb25ca502586ac3addf9f71f93b3b2 SHA1 a320ff611c230450898a3e13d88b36dfc7c3239f SHA256 335a23a38cf16820ee94d0aa75c0a2d6130793dcbb9ecb54904e5f1c7dad0f84
+DIST hugs98-plus-Sep2006.tar.gz 5322244 RMD160 4a7e744360a29fbf94f5ac86ea559e80f12205a5 SHA1 1464a80c715bc5f786ea5a4e4257b2ff0dc7e1e9 SHA256 aafaca9ca544572ebef70bbe86b5eb0abaa5d7c11c0b766d7db72a46b022bed5
EBUILD hugs98-2003.11.ebuild 2561 RMD160 909c47a54aae81640ac0ecc0f8d2828003874856 SHA1 5d5f8ebef29e91a91890cef0b174b2c427c867a9 SHA256 a4bd1efdc42e33dd133b8cd5739d38e8bccf4e10067840358222c4394cebf59f
MD5 baf377694d8f9c06c9ebd5fc207b094e hugs98-2003.11.ebuild 2561
RMD160 909c47a54aae81640ac0ecc0f8d2828003874856 hugs98-2003.11.ebuild 2561
@@ -24,10 +25,14 @@ EBUILD hugs98-2005.3-r2.ebuild 3061 RMD160 30d7d83f2d26a499ece4680314edf4318f9c7
MD5 dd34c1b7dccf4913680b12db1643c688 hugs98-2005.3-r2.ebuild 3061
RMD160 30d7d83f2d26a499ece4680314edf4318f9c7a51 hugs98-2005.3-r2.ebuild 3061
SHA256 3af41ef5cc401f856ecdc80e72b4047a25c38c57fabadd325ae3649a2cb0d7ee hugs98-2005.3-r2.ebuild 3061
-MISC ChangeLog 7451 RMD160 ffe0d5d7509863efa8d7abce062b8cec0b152b2a SHA1 71e7e8048e9d1c8f44222603b2cbf60f13efa915 SHA256 c7cfc97849714a9d2abaf43f028112b97744c9f416e664e90406b8fc888a7d57
-MD5 c4cefbbb07f88c6e544fd81042cbd786 ChangeLog 7451
-RMD160 ffe0d5d7509863efa8d7abce062b8cec0b152b2a ChangeLog 7451
-SHA256 c7cfc97849714a9d2abaf43f028112b97744c9f416e664e90406b8fc888a7d57 ChangeLog 7451
+EBUILD hugs98-2006.9.ebuild 2729 RMD160 5ef0f8c535e3676e2a559ab87aa304eaeedb5a44 SHA1 ee8af201575c4ec6a87ebbf3d970757c0c593aa3 SHA256 0347e1e8b66558f62c17ff963d0cd6c8552ad75b35928e993f3cb25de01944f2
+MD5 70743dfaa562b2b5b440090798887ea9 hugs98-2006.9.ebuild 2729
+RMD160 5ef0f8c535e3676e2a559ab87aa304eaeedb5a44 hugs98-2006.9.ebuild 2729
+SHA256 0347e1e8b66558f62c17ff963d0cd6c8552ad75b35928e993f3cb25de01944f2 hugs98-2006.9.ebuild 2729
+MISC ChangeLog 7590 RMD160 fec7fab787493ac86daff959a7359c43de8793df SHA1 2ac3981b853dd0212a0cd98532674518302da9d1 SHA256 d944ae27c3964cbf8e2c7a3de9599a100ae74f480917a119a63651757403a14f
+MD5 d490349f15fbb915e029d0f663d664bc ChangeLog 7590
+RMD160 fec7fab787493ac86daff959a7359c43de8793df ChangeLog 7590
+SHA256 d944ae27c3964cbf8e2c7a3de9599a100ae74f480917a119a63651757403a14f ChangeLog 7590
MISC metadata.xml 223 RMD160 7783e6057effb8b8f0b79cffe8b557b32c633839 SHA1 7b962c77f2e38479a9d1621ec8d307ca9f761753 SHA256 1d00c8be162a6cb87b3de440b3e63e10b39c12d56e8fbfe592e75aed872b2508
MD5 c694674dcbef799cd4fdb6914683ebff metadata.xml 223
RMD160 7783e6057effb8b8f0b79cffe8b557b32c633839 metadata.xml 223
@@ -38,10 +43,13 @@ SHA256 cae66c249fa7e4dc93cb2d3fd9a6a7cdeaef812967073a1a0efc52fa949a0c92 files/di
MD5 b72305ffc3788179510bc217014161e0 files/digest-hugs98-2005.3-r2 491
RMD160 00ccb94a77a01754e0b98de76a7ca70bc0725bcc files/digest-hugs98-2005.3-r2 491
SHA256 5ba24b6b86b59c05666f9e78acc6b33f3c5c6c38fb87fca7253f1ce1f6bc2a04 files/digest-hugs98-2005.3-r2 491
+MD5 97aed35d5cadcf82facd9c312b0824d8 files/digest-hugs98-2006.9 262
+RMD160 1f0990af0ef8ff6a8d802439b910636f4d411038 files/digest-hugs98-2006.9 262
+SHA256 f3a9d05cbd7589cc7019d27b580f06c67a6e5f46d8060ca661b90b0a25a6eb0d files/digest-hugs98-2006.9 262
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (GNU/Linux)
+Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFGoxuw0BM77Tkv120RAkMFAJ42HC0c1W9zk021gIF7qzYRJ4n7KQCffepf
-emp/kTrzYs9Oy1Ic87eLvUc=
-=h+qV
+iD8DBQFHm5gmnUVyUObPUL4RAh9MAJ9xRaro9gSslAdCwm3/KJ7+/4j8HACgnOgp
+/DnadKT3vzeJXpG65X+1KYg=
+=YcdU
-----END PGP SIGNATURE-----
diff --git a/dev-lang/hugs98/files/digest-hugs98-2006.9 b/dev-lang/hugs98/files/digest-hugs98-2006.9
new file mode 100644
index 000000000000..d830b5a3bc63
--- /dev/null
+++ b/dev-lang/hugs98/files/digest-hugs98-2006.9
@@ -0,0 +1,3 @@
+MD5 e03e0ad79750d037237c47ebe33fa20e hugs98-plus-Sep2006.tar.gz 5322244
+RMD160 4a7e744360a29fbf94f5ac86ea559e80f12205a5 hugs98-plus-Sep2006.tar.gz 5322244
+SHA256 aafaca9ca544572ebef70bbe86b5eb0abaa5d7c11c0b766d7db72a46b022bed5 hugs98-plus-Sep2006.tar.gz 5322244
diff --git a/dev-lang/hugs98/hugs98-2006.9.ebuild b/dev-lang/hugs98/hugs98-2006.9.ebuild
new file mode 100644
index 000000000000..5844a9ca34cd
--- /dev/null
+++ b/dev-lang/hugs98/hugs98-2006.9.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/hugs98/hugs98-2006.9.ebuild,v 1.1 2008/01/26 20:29:19 dcoutts Exp $
+
+inherit base flag-o-matic eutils versionator multilib
+
+IUSE="X opengl openal doc"
+
+# version numbering of Hugs is rather strange
+# we have to transform 2003.11 -> Nov2003
+HUGS_MONTH_NR=$(get_version_component_range 2)
+
+transform_month() {
+ case "$1" in
+ 1) echo "Jan";;
+ 2) echo "Feb";;
+ 3) echo "Mar";;
+ 4) echo "Apr";;
+ 5) echo "May";;
+ 6) echo "Jun";;
+ 7) echo "Jul";;
+ 8) echo "Aug";;
+ 9) echo "Sep";;
+ 10) echo "Oct";;
+ 11) echo "Nov";;
+ 12) echo "Dec";;
+ *) echo "";;
+ esac
+}
+
+transform_month_num() {
+ case "$1" in
+ [1-9]) echo 0$1;;
+ 1[0-2]) echo $1;;
+ esac
+}
+
+HUGS_MONTH=$(transform_month ${HUGS_MONTH_NR})
+HUGS_MONTH0=$(transform_month_num ${HUGS_MONTH_NR})
+MY_PV="${HUGS_MONTH}$(get_major_version )"
+MY_PV0="$(get_version_component_range 1)-${HUGS_MONTH0}"
+MY_P="${PN}-plus-${MY_PV}"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="The Hugs98 Haskell interpreter"
+SRC_URI="http://cvs.haskell.org/Hugs/downloads/${MY_PV0}/${MY_P}.tar.gz"
+HOMEPAGE="http://www.haskell.org/hugs/"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+LICENSE="as-is"
+
+RDEPEND="
+ X? ( x11-libs/libX11 )
+ opengl? ( virtual/opengl virtual/glu virtual/glut )
+ openal? ( media-libs/openal )"
+DEPEND="${RDEPEND}
+ opengl? ( app-admin/eselect-opengl )
+ ~app-text/docbook-sgml-dtd-4.2"
+
+# the testsuite is not included in the tarball
+RESTRICT="test"
+
+src_unpack() {
+ base_src_unpack
+
+ cd "${S}"
+ epatch "${FILESDIR}/hugs98-2005.3-find.patch"
+ epatch "${FILESDIR}/hugs98-2005.3-conditional-doc.patch"
+}
+
+src_compile() {
+ local myconf
+
+ # Strip -O? from CFLAGS because of bugs
+ # in the garbage collection of gcc on ppc.
+ # See bug #73611
+ [ "${ARCH}" = "ppc" ] && filter-flags "-O?"
+
+ if use opengl; then
+ # the nvidia drivers *seem* not to work together with pthreads
+ if ! /usr/bin/eselect opengl show | grep -q nvidia; then
+ myconf="$myconf --with-pthreads"
+ fi
+ fi
+
+ econf \
+ --build=${CHOST} \
+ --enable-ffi \
+ --enable-profiling \
+ $(use_enable X x11) \
+ $(use_enable opengl) \
+ $(use_enable openal) \
+ ${myconf} || die "econf failed"
+ emake || die "make failed"
+
+ if use doc; then
+ emake doc || die "make doc failed"
+ fi
+}
+
+src_install () {
+ emake install DESTDIR="${D}" || die "make install failed"
+
+ if use doc; then
+ emake install_doc DESTDIR="${D}" || die "make install_doc failed"
+ fi
+
+ #somewhat clean-up installation of few docs
+ cd "${S}"
+ dodoc Credits License Readme
+ cd "${D}/usr/$(get_libdir)/hugs"
+ rm Credits License Readme
+ mv demos/ docs/ "${D}/usr/share/doc/${PF}"
+}