aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-08-30 10:38:37 +0200
committerJustin Lecher <jlec@gentoo.org>2012-08-30 10:38:37 +0200
commit08e95e5c5d21efe7b774b57f65b77e46fe1e102f (patch)
treed26cf55c338ce892e02f5baf6c56a58c33588d2b
parenta license is a license not an eclass (diff)
downloadsci-08e95e5c5d21efe7b774b57f65b77e46fe1e102f.tar.gz
sci-08e95e5c5d21efe7b774b57f65b77e46fe1e102f.tar.bz2
sci-08e95e5c5d21efe7b774b57f65b77e46fe1e102f.zip
sci-chemistry/ligplot+: New addition
(Portage version: 2.2.0_alpha123/git/Linux x86_64, unsigned Manifest commit)
-rw-r--r--sci-chemistry/ligplot+/ChangeLog10
-rw-r--r--sci-chemistry/ligplot+/Manifest1
-rw-r--r--sci-chemistry/ligplot+/ligplot+-1.4.ebuild43
-rw-r--r--sci-chemistry/ligplot+/metadata.xml5
4 files changed, 59 insertions, 0 deletions
diff --git a/sci-chemistry/ligplot+/ChangeLog b/sci-chemistry/ligplot+/ChangeLog
new file mode 100644
index 000000000..b1240fa83
--- /dev/null
+++ b/sci-chemistry/ligplot+/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-chemistry/ligplot+
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*ligplot+-1.4 (30 Aug 2012)
+
+ 30 Aug 2012; Justin Lecher <jlec@gentoo.org> +ligplot+-1.4.ebuild,
+ +metadata.xml:
+ New addition
+
diff --git a/sci-chemistry/ligplot+/Manifest b/sci-chemistry/ligplot+/Manifest
new file mode 100644
index 000000000..996b438bb
--- /dev/null
+++ b/sci-chemistry/ligplot+/Manifest
@@ -0,0 +1 @@
+DIST LigPlus.zip 1937904 SHA256 5d47af05f1fb48b4c0a6dee4d8eacb0d2ffe90966b0419d954c9d0f7a6580b49 SHA512 fee1c9b54c895d26ebd81f283ab942b199db87d189a01f22aebf26d6ed90e801f53b64cf9abf870721a4b478e68bf390b0e1c9eb9b02a692a1011271611f7afd WHIRLPOOL d86822b5e4cd0bd429df912f3b60de11094a2e549841f59343c0435a329a5c1181e543e06af9eb760d3bbbc6a12414fc5477c87f192deb40304d7ce619b65f28
diff --git a/sci-chemistry/ligplot+/ligplot+-1.4.ebuild b/sci-chemistry/ligplot+/ligplot+-1.4.ebuild
new file mode 100644
index 000000000..94aefcc98
--- /dev/null
+++ b/sci-chemistry/ligplot+/ligplot+-1.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit java-pkg-2
+
+DESCRIPTION="GUI-based version of LIGPLOT"
+HOMEPAGE="http://www.ebi.ac.uk/thornton-srv/software/LigPlus/"
+SRC_URI="LigPlus.zip"
+
+SLOT="0"
+LICENSE="ligplot+"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="virtual/jre"
+DEPEND=""
+
+RESTRICT="fetch"
+
+S="${WORKDIR}"/LigPlus
+
+QA_PREBUILT="opt/${PN}/.*"
+
+pkg_nofetch() {
+ einfo "Please visit"
+ einfo "http://www.ebi.ac.uk/thornton-srv/software/LigPlus/applicence.html"
+ einfo "download ${A}"
+ einfo "and save in ${DISTDIR}"
+}
+
+src_prepare() {
+ rm -rf lib/*{win,mac} || die
+}
+
+src_install() {
+ insinto /opt/${PN}
+ doins -r lib LigPlus.jar
+
+ make_wrapper ${PN} "java -jar \"${EPREFIX}/opt/${PN}/LigPlus.jar\""
+}
diff --git a/sci-chemistry/ligplot+/metadata.xml b/sci-chemistry/ligplot+/metadata.xml
new file mode 100644
index 000000000..d369d068f
--- /dev/null
+++ b/sci-chemistry/ligplot+/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+</pkgmetadata>