aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-chemistry/polygon/ChangeLog11
-rw-r--r--sci-chemistry/polygon/Manifest16
-rw-r--r--sci-chemistry/polygon/files/0710-db.patch11
-rw-r--r--sci-chemistry/polygon/metadata.xml8
-rw-r--r--sci-chemistry/polygon/polygon-0710.ebuild37
5 files changed, 83 insertions, 0 deletions
diff --git a/sci-chemistry/polygon/ChangeLog b/sci-chemistry/polygon/ChangeLog
new file mode 100644
index 000000000..354b0fef7
--- /dev/null
+++ b/sci-chemistry/polygon/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-chemistry/polygon
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*polygon-0710 (23 Oct 2009)
+
+ 23 Oct 2009; Justin Lecher (jlec) <jlec@j-schmitz.net>
+ +files/0710-db.patch, +polygon-0710.ebuild, +metadata.xml:
+ Initial commit
+ Written by me
+
diff --git a/sci-chemistry/polygon/Manifest b/sci-chemistry/polygon/Manifest
new file mode 100644
index 000000000..0dbf30d64
--- /dev/null
+++ b/sci-chemistry/polygon/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 0710-db.patch 330 RMD160 726f11fb84b8995a5d09e5f0081cce78601d203a SHA1 c88d6fdd547e163af6ab6b35726d5bad07582ac3 SHA256 754f9564af1b0fa42f7d962af9e847852b7796ec99c9ab880dcf45cba39456d0
+DIST pdb_2009-04-29_ord.zip 4371434 RMD160 dbe9100a0411d75d9ce5b26d4adf5a8163598df2 SHA1 99e2043edb54bf89570cfd531439f2ea8b19fedf SHA256 cd949ded9c7c656e4cc9d5f9c28584b648fec3bd2df2e80811ea8eb7baf81f69
+DIST polygon0710.tcl 128282 RMD160 5a109ff3796dbaada367f219a83058a0dda350d5 SHA1 fc5ffd27639902fc9eb7619c92053835fe258068 SHA256 db1b985805c750550328d0092bbf826c30df68e38453f2866329fd96cbfe45d8
+EBUILD polygon-0710.ebuild 851 RMD160 21b6aeef859cb68ad369a000e60d5d4838ed8b6f SHA1 b5b106d9fcaaa0feeb145e0b144d02c952e1cf91 SHA256 c85231d3e232b57926c79dff3d746a4525c199ab2b83c47313663e6874a38b98
+MISC ChangeLog 303 RMD160 32971c7ccefa8fb243e3e9e143a82aecb1c24875 SHA1 77c9fb6deca9230ef4b8371cdc2983475520f660 SHA256 6290bb5bb89ee19b53018cf370922d5b619c793f21ef5bea35f22bb957782391
+MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkrh5pcACgkQgAnW8HDreRZ0wgCgyBeWeMajzZbouNNObMj3gZlj
+8uMAoIRAa5YeXxcopmK/T3c9zCno6EsV
+=FG6S
+-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/polygon/files/0710-db.patch b/sci-chemistry/polygon/files/0710-db.patch
new file mode 100644
index 000000000..faab35e4a
--- /dev/null
+++ b/sci-chemistry/polygon/files/0710-db.patch
@@ -0,0 +1,11 @@
+--- polygon0710.tcl 2009-10-15 16:11:36.000000000 +0200
++++ polygon0710.tcl.new 2009-10-23 17:59:32.723500534 +0200
+@@ -22,7 +22,7 @@
+ #
+ #database name
+ #
+-set currentFile1 pdb_2009-04-29_ord.txt
++set currentFile1 /usr/share/polygon/pdb_2009-04-29_ord.txt
+
+ # numcol - number of columns in the database
+ set numcol 63
diff --git a/sci-chemistry/polygon/metadata.xml b/sci-chemistry/polygon/metadata.xml
new file mode 100644
index 000000000..efb490d78
--- /dev/null
+++ b/sci-chemistry/polygon/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>sci@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/sci-chemistry/polygon/polygon-0710.ebuild b/sci-chemistry/polygon/polygon-0710.ebuild
new file mode 100644
index 000000000..ba2415f16
--- /dev/null
+++ b/sci-chemistry/polygon/polygon-0710.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DB="pdb_2009-04-29_ord"
+MY_P="${PN}${PV}"
+
+DESCRIPTION="shows qualitatively if some models parameters are over- or under-refined"
+HOMEPAGE="http://www-ibmc.u-strasbg.fr/arn/Site_UPR9002/Polygon/Polygon.html"
+SRC_URI="
+ http://www-ibmc.u-strasbg.fr/arn/Site_UPR9002/Polygon/${MY_P}.tcl
+ http://www-ibmc.u-strasbg.fr/arn/Site_UPR9002/Polygon/${DB}.zip
+"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="as-is"
+IUSE=""
+
+RDEPEND="dev-lang/tcl"
+DEPEND="app-arch/unzip"
+
+src_unpack() {
+ unpack ${DB}.zip
+ cp "${DISTDIR}"/${MY_P}.tcl "${WORKDIR}"
+ cd "${WORKDIR}"
+ epatch "${FILESDIR}"/${PV}-db.patch
+}
+
+src_install() {
+ edos2unix ${MY_P}.tcl
+ newbin ${MY_P}.tcl ${PN} || die
+ insinto /usr/share/${PN}
+ doins ${DB}.txt || die
+}