diff options
-rw-r--r-- | sci-chemistry/ortep3/Manifest | 4 | ||||
-rw-r--r-- | sci-chemistry/platon/ChangeLog | 11 | ||||
-rw-r--r-- | sci-chemistry/platon/Manifest | 4 | ||||
-rw-r--r-- | sci-chemistry/platon/files/digest-platon-20051215 | 1 | ||||
-rw-r--r-- | sci-chemistry/platon/metadata.xml | 9 | ||||
-rw-r--r-- | sci-chemistry/platon/platon-20051215.ebuild | 54 |
6 files changed, 83 insertions, 0 deletions
diff --git a/sci-chemistry/ortep3/Manifest b/sci-chemistry/ortep3/Manifest new file mode 100644 index 000000000000..39bb210df4d2 --- /dev/null +++ b/sci-chemistry/ortep3/Manifest @@ -0,0 +1,4 @@ +MD5 5d7726d311d2c164d1ca1895a6d50d7b ChangeLog 410 +MD5 34cb076ea699bd80ad6d90040ed7446f files/digest-ortep3-1.0.3 52 +MD5 af1bfbb0777267a03e889b08173f2757 metadata.xml 248 +MD5 90492aee194f18744c4d6a4c6e622d77 ortep3-1.0.3.ebuild 807 diff --git a/sci-chemistry/platon/ChangeLog b/sci-chemistry/platon/ChangeLog new file mode 100644 index 000000000000..f9aed2d2e3e6 --- /dev/null +++ b/sci-chemistry/platon/ChangeLog @@ -0,0 +1,11 @@ +# 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 $ + +*platon-20051215 (16 Dec 2005) + + 16 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; +metadata.xml, + +platon-20051215.ebuild: + Another crystallography package. This one considers itself a versatile, + SHELX-97 compatible, multipurpose tool. + diff --git a/sci-chemistry/platon/Manifest b/sci-chemistry/platon/Manifest new file mode 100644 index 000000000000..9d1881b84f35 --- /dev/null +++ b/sci-chemistry/platon/Manifest @@ -0,0 +1,4 @@ +MD5 fc22abf729b9b2eb746d642b5207384c ChangeLog 462 +MD5 151d305921269c5a5162988be0c2513e files/digest-platon-20051215 68 +MD5 af1bfbb0777267a03e889b08173f2757 metadata.xml 248 +MD5 3d63fd167847c7c75de48243a02d880d platon-20051215.ebuild 1261 diff --git a/sci-chemistry/platon/files/digest-platon-20051215 b/sci-chemistry/platon/files/digest-platon-20051215 new file mode 100644 index 000000000000..f1523196940b --- /dev/null +++ b/sci-chemistry/platon/files/digest-platon-20051215 @@ -0,0 +1 @@ +MD5 6eff265f8f04332bf9c48b08c581375a platon-20051215.tar.gz 6615711 diff --git a/sci-chemistry/platon/metadata.xml b/sci-chemistry/platon/metadata.xml new file mode 100644 index 000000000000..211b8bd0f0a4 --- /dev/null +++ b/sci-chemistry/platon/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> +<email>spyderous@gentoo.org</email> +<name>Donnie Berkholz</name> +</maintainer> +</pkgmetadata> diff --git a/sci-chemistry/platon/platon-20051215.ebuild b/sci-chemistry/platon/platon-20051215.ebuild new file mode 100644 index 000000000000..141d2713d6c8 --- /dev/null +++ b/sci-chemistry/platon/platon-20051215.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/platon/platon-20051215.ebuild,v 1.1 2005/12/16 05:32:46 spyderous Exp $ + +inherit fortran + +FORTRAN="g77" +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="~x86" +IUSE="" +RDEPEND="|| ( x11-libs/libX11 virtual/x11 )" +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() { + COMMAND="${FORTRANC} -o platon ${FFLAGS:- -O2} platon.f xdrvr.c -lX11" + echo ${COMMAND} + ${COMMAND} || die "Compilation 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 +} |