Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/ligplot+/
Date: Thu, 30 Aug 2012 08:44:22
Message-Id: 1346315917.08e95e5c5d21efe7b774b57f65b77e46fe1e102f.jlec@gentoo
1 commit: 08e95e5c5d21efe7b774b57f65b77e46fe1e102f
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 30 08:38:37 2012 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 30 08:38:37 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=08e95e5c
7
8 sci-chemistry/ligplot+: New addition
9
10 (Portage version: 2.2.0_alpha123/git/Linux x86_64, unsigned Manifest commit)
11
12 ---
13 sci-chemistry/ligplot+/ChangeLog | 10 ++++++
14 sci-chemistry/ligplot+/ligplot+-1.4.ebuild | 43 ++++++++++++++++++++++++++++
15 sci-chemistry/ligplot+/metadata.xml | 5 +++
16 3 files changed, 58 insertions(+), 0 deletions(-)
17
18 diff --git a/sci-chemistry/ligplot+/ChangeLog b/sci-chemistry/ligplot+/ChangeLog
19 new file mode 100644
20 index 0000000..b1240fa
21 --- /dev/null
22 +++ b/sci-chemistry/ligplot+/ChangeLog
23 @@ -0,0 +1,10 @@
24 +# ChangeLog for sci-chemistry/ligplot+
25 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
26 +# $Header: $
27 +
28 +*ligplot+-1.4 (30 Aug 2012)
29 +
30 + 30 Aug 2012; Justin Lecher <jlec@g.o> +ligplot+-1.4.ebuild,
31 + +metadata.xml:
32 + New addition
33 +
34
35 diff --git a/sci-chemistry/ligplot+/ligplot+-1.4.ebuild b/sci-chemistry/ligplot+/ligplot+-1.4.ebuild
36 new file mode 100644
37 index 0000000..94aefcc
38 --- /dev/null
39 +++ b/sci-chemistry/ligplot+/ligplot+-1.4.ebuild
40 @@ -0,0 +1,43 @@
41 +# Copyright 1999-2012 Gentoo Foundation
42 +# Distributed under the terms of the GNU General Public License v2
43 +# $Header: $
44 +
45 +EAPI=4
46 +
47 +inherit java-pkg-2
48 +
49 +DESCRIPTION="GUI-based version of LIGPLOT"
50 +HOMEPAGE="http://www.ebi.ac.uk/thornton-srv/software/LigPlus/"
51 +SRC_URI="LigPlus.zip"
52 +
53 +SLOT="0"
54 +LICENSE="ligplot+"
55 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
56 +IUSE=""
57 +
58 +RDEPEND="virtual/jre"
59 +DEPEND=""
60 +
61 +RESTRICT="fetch"
62 +
63 +S="${WORKDIR}"/LigPlus
64 +
65 +QA_PREBUILT="opt/${PN}/.*"
66 +
67 +pkg_nofetch() {
68 + einfo "Please visit"
69 + einfo "http://www.ebi.ac.uk/thornton-srv/software/LigPlus/applicence.html"
70 + einfo "download ${A}"
71 + einfo "and save in ${DISTDIR}"
72 +}
73 +
74 +src_prepare() {
75 + rm -rf lib/*{win,mac} || die
76 +}
77 +
78 +src_install() {
79 + insinto /opt/${PN}
80 + doins -r lib LigPlus.jar
81 +
82 + make_wrapper ${PN} "java -jar \"${EPREFIX}/opt/${PN}/LigPlus.jar\""
83 +}
84
85 diff --git a/sci-chemistry/ligplot+/metadata.xml b/sci-chemistry/ligplot+/metadata.xml
86 new file mode 100644
87 index 0000000..d369d06
88 --- /dev/null
89 +++ b/sci-chemistry/ligplot+/metadata.xml
90 @@ -0,0 +1,5 @@
91 +<?xml version="1.0" encoding="UTF-8"?>
92 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
93 +<pkgmetadata>
94 + <herd>sci</herd>
95 +</pkgmetadata>