summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-06-03 06:17:36 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-06-03 06:17:36 +0000
commit8a271992fdb6a60da3a2d96aeda5f068133d3c59 (patch)
tree3032df545110136603a9c84deb8f7343878b3b54 /sci-chemistry
parentActually block xorg-server, rather than depending on an older version. (diff)
downloadhistorical-8a271992fdb6a60da3a2d96aeda5f068133d3c59.tar.gz
historical-8a271992fdb6a60da3a2d96aeda5f068133d3c59.tar.bz2
historical-8a271992fdb6a60da3a2d96aeda5f068133d3c59.zip
Bump to latest. Fix for gcc4 by linking against libf2c in the non-gcc3 case. Keyword ~ppc.
Package-Manager: portage-2.1_rc3-r1
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/platon/ChangeLog11
-rw-r--r--sci-chemistry/platon/Manifest26
-rw-r--r--sci-chemistry/platon/files/digest-platon-200605303
-rw-r--r--sci-chemistry/platon/platon-20060530.ebuild70
4 files changed, 105 insertions, 5 deletions
diff --git a/sci-chemistry/platon/ChangeLog b/sci-chemistry/platon/ChangeLog
index f9aed2d2e3e6..ba7440fd7291 100644
--- a/sci-chemistry/platon/ChangeLog
+++ b/sci-chemistry/platon/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-chemistry/platon
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/platon/ChangeLog,v 1.1 2005/12/16 05:32:46 spyderous Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/platon/ChangeLog,v 1.2 2006/06/03 06:17:36 spyderous Exp $
+
+*platon-20060530 (03 Jun 2006)
+
+ 03 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>;
+ +platon-20060530.ebuild:
+ Bump to latest. Fix for gcc4 by linking against libf2c in the non-gcc3 case.
+ Keyword ~ppc.
*platon-20051215 (16 Dec 2005)
diff --git a/sci-chemistry/platon/Manifest b/sci-chemistry/platon/Manifest
index 9d1881b84f35..fb26f1be11f8 100644
--- a/sci-chemistry/platon/Manifest
+++ b/sci-chemistry/platon/Manifest
@@ -1,4 +1,24 @@
-MD5 fc22abf729b9b2eb746d642b5207384c ChangeLog 462
-MD5 151d305921269c5a5162988be0c2513e files/digest-platon-20051215 68
-MD5 af1bfbb0777267a03e889b08173f2757 metadata.xml 248
+DIST platon-20051215.tar.gz 6615711
+DIST platon-20060530.tar.gz 6688336 RMD160 74a98c33b499524b80a3787e06e9eb015fa57d13 SHA1 275365d6785cdfd3cfdcb785a959c1aefc1fd26c SHA256 f41ce66c1035642092391b02de8df64ea59f8358d2cd771cae68a766da1b8d50
+EBUILD platon-20051215.ebuild 1261 RMD160 3f9b99aba23b85c35b2e182dc1b45837e18e6998 SHA1 99352630162b6a57b075026d796a376ee9fc780d SHA256 90aa318ff7bbae159bda0348d45f54f9f7da42cc03efd93c147c1f9c54aef473
MD5 3d63fd167847c7c75de48243a02d880d platon-20051215.ebuild 1261
+RMD160 3f9b99aba23b85c35b2e182dc1b45837e18e6998 platon-20051215.ebuild 1261
+SHA256 90aa318ff7bbae159bda0348d45f54f9f7da42cc03efd93c147c1f9c54aef473 platon-20051215.ebuild 1261
+EBUILD platon-20060530.ebuild 1815 RMD160 d5679996c2797e8c925ee4b10d5109aa946ca65d SHA1 0923f659e4e2e1ed592a0ab7309d9759ad852f01 SHA256 0d6d03868ee8996ec3e4ffb5a15878c44e0efe661a1eb67173e8c04f35b99845
+MD5 22a5d53e55f45711198e954ae3c4b7e9 platon-20060530.ebuild 1815
+RMD160 d5679996c2797e8c925ee4b10d5109aa946ca65d platon-20060530.ebuild 1815
+SHA256 0d6d03868ee8996ec3e4ffb5a15878c44e0efe661a1eb67173e8c04f35b99845 platon-20060530.ebuild 1815
+MISC ChangeLog 672 RMD160 46852995f2bfabf9e47f834fe945f8f223fedc26 SHA1 dc82dda07ca7de58847a951bc7021777611a4db7 SHA256 1d54b97018d6028849156ae3b2e099ada2c47966d9f6234c37f0068ed71fc994
+MD5 fb0c32231a8ee22f36ca38410044ca26 ChangeLog 672
+RMD160 46852995f2bfabf9e47f834fe945f8f223fedc26 ChangeLog 672
+SHA256 1d54b97018d6028849156ae3b2e099ada2c47966d9f6234c37f0068ed71fc994 ChangeLog 672
+MISC metadata.xml 248 RMD160 6488d9f1ef3e05e6ac5a29ddcc818e5ead0a5230 SHA1 75a648fddef9922cdfe21fb0298a1c746190fd82 SHA256 de0ad7dc383b462c407cae015684d27c090455eac87c6f0f9ff581ef6e0b5b27
+MD5 af1bfbb0777267a03e889b08173f2757 metadata.xml 248
+RMD160 6488d9f1ef3e05e6ac5a29ddcc818e5ead0a5230 metadata.xml 248
+SHA256 de0ad7dc383b462c407cae015684d27c090455eac87c6f0f9ff581ef6e0b5b27 metadata.xml 248
+MD5 151d305921269c5a5162988be0c2513e files/digest-platon-20051215 68
+RMD160 bac4878eca3010c6ed52bd0f37e0a39540fb34a9 files/digest-platon-20051215 68
+SHA256 8531ff00e951e0fd950ad97e4e640bad8d29aab99b676d3fd7b17a97538bd8cf files/digest-platon-20051215 68
+MD5 0819d7c909b87ebdbf07938c2c0c695f files/digest-platon-20060530 250
+RMD160 a30db40fc5de446dc43b4aa19a4818d37e22e686 files/digest-platon-20060530 250
+SHA256 b660e535aeb346be969cc91b7d23f8dc77fed95d868284cbfdf5c7e5781a0503 files/digest-platon-20060530 250
diff --git a/sci-chemistry/platon/files/digest-platon-20060530 b/sci-chemistry/platon/files/digest-platon-20060530
new file mode 100644
index 000000000000..1d63c554a930
--- /dev/null
+++ b/sci-chemistry/platon/files/digest-platon-20060530
@@ -0,0 +1,3 @@
+MD5 aaef894560da0da67d4a33d0b6562a1f platon-20060530.tar.gz 6688336
+RMD160 74a98c33b499524b80a3787e06e9eb015fa57d13 platon-20060530.tar.gz 6688336
+SHA256 f41ce66c1035642092391b02de8df64ea59f8358d2cd771cae68a766da1b8d50 platon-20060530.tar.gz 6688336
diff --git a/sci-chemistry/platon/platon-20060530.ebuild b/sci-chemistry/platon/platon-20060530.ebuild
new file mode 100644
index 000000000000..d660d16717cf
--- /dev/null
+++ b/sci-chemistry/platon/platon-20060530.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/platon/platon-20060530.ebuild,v 1.1 2006/06/03 06:17:36 spyderous Exp $
+
+inherit fortran toolchain-funcs
+
+FORTRAN="g77 gfortran"
+DESCRIPTION="Versatile, SHELX-97 compatible, multipurpose crystallographic tool"
+HOMEPAGE="http://www.cryst.chem.uu.nl/platon/"
+SRC_URI="${P}.tar.gz"
+RESTRICT="fetch"
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+# Can't do libf2c dependent on whether <gcc-4 is selected for the build,
+# so we must always require it
+RDEPEND="|| ( x11-libs/libX11 virtual/x11 )
+ dev-libs/libf2c"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${PN}"
+
+pkg_nofetch() {
+ einfo "Download ${A/-${PV}} from ${HOMEPAGE},"
+ einfo "rename it to ${A} and place it"
+ einfo "in ${DISTDIR}."
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ gunzip platon.f.Z xdrvr.c.gz
+}
+
+src_compile() {
+ local F2C
+ # Needs signal_ and system_, which g77 and libf2c provide,
+ # but gfortran does not
+ if [[ ${FORTRANC} != g77 ]]; then
+ F2C="-lf2c"
+ fi
+
+ COMMAND="$(tc-getCC) -c ${CFLAGS} xdrvr.c"
+ echo ${COMMAND}
+ ${COMMAND} || die "Compilation of xdrvr.c failed"
+ COMMAND="${FORTRANC} -c ${FFLAGS:- -O2} -fno-second-underscore platon.f"
+ echo ${COMMAND}
+ ${COMMAND} || die "Compilation of platon.f failed"
+ COMMAND="${FORTRANC} -o platon ${LDFLAGS} platon.o xdrvr.o -lX11 ${F2C}"
+ echo ${COMMAND}
+ ${COMMAND} || die "Linking failed"
+}
+
+src_install() {
+ dobin platon
+
+ dosym platon /usr/bin/pluton
+ dosym platon /usr/bin/s
+ dosym platon /usr/bin/cifchk
+ dosym platon /usr/bin/helena
+ dosym platon /usr/bin/stidy
+
+ insinto /usr/lib/platon
+ doins check.def
+
+ echo "CHECKDEF=\"/usr/lib/platon/check.def\"" > ${T}/env.d
+ newenvd ${T}/env.d 50platon
+
+ dodoc README.* VALIDATION.DOC
+}