From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 534681381F3 for ; Tue, 18 Jun 2013 08:56:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D707E0853; Tue, 18 Jun 2013 08:56:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 80042E0853 for ; Tue, 18 Jun 2013 08:56:52 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 693E533E564 for ; Tue, 18 Jun 2013 08:56:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id F0F4CE5459 for ; Tue, 18 Jun 2013 08:56:49 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1371545640.15dc321b9c4a6173f566bbc8f60ff1b10b3e241f.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/mics/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/mics/ChangeLog sci-chemistry/mics/metadata.xml sci-chemistry/mics/mics-1.00.2011.327.12.00.ebuild X-VCS-Directories: sci-chemistry/mics/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 15dc321b9c4a6173f566bbc8f60ff1b10b3e241f X-VCS-Branch: master Date: Tue, 18 Jun 2013 08:56:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 29564360-ac34-4120-8805-7fb5f7cd5cee X-Archives-Hash: b0bf682669f37f6048ddecd9c269eba3 Message-ID: <20130618085649.e9GzGzDiqvbpZocCD-mQTNsPFTEkJoLfapS4QW60lyE@z> commit: 15dc321b9c4a6173f566bbc8f60ff1b10b3e241f Author: Justin Lecher gentoo org> AuthorDate: Tue Jun 18 08:54:00 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Tue Jun 18 08:54:00 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=15dc321b sci-chemistry/mics: New package Package-Manager: portage-2.2.0_alpha180 --- sci-chemistry/mics/ChangeLog | 10 +++++ sci-chemistry/mics/metadata.xml | 5 +++ sci-chemistry/mics/mics-1.00.2011.327.12.00.ebuild | 51 ++++++++++++++++++++++ 3 files changed, 66 insertions(+) diff --git a/sci-chemistry/mics/ChangeLog b/sci-chemistry/mics/ChangeLog new file mode 100644 index 0000000..0ca4c98 --- /dev/null +++ b/sci-chemistry/mics/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-chemistry/mics +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*mics-1.00.2011.327.12.00 (18 Jun 2013) + + 18 Jun 2013; Justin Lecher + +mics-1.00.2011.327.12.00.ebuild, +metadata.xml: + New package + diff --git a/sci-chemistry/mics/metadata.xml b/sci-chemistry/mics/metadata.xml new file mode 100644 index 0000000..51fdeda --- /dev/null +++ b/sci-chemistry/mics/metadata.xml @@ -0,0 +1,5 @@ + + + + sci-chemistry + diff --git a/sci-chemistry/mics/mics-1.00.2011.327.12.00.ebuild b/sci-chemistry/mics/mics-1.00.2011.327.12.00.ebuild new file mode 100644 index 0000000..5f86a08 --- /dev/null +++ b/sci-chemistry/mics/mics-1.00.2011.327.12.00.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit java-pkg-opt-2 + +DESCRIPTION="Prediction of Protein Structural Motifs from NMR Chemical Shifts" +HOMEPAGE="http://spin.niddk.nih.gov/bax/software/MICS/" +SRC_URI="http://spin.niddk.nih.gov/bax/software/MICS/mics.tar.Z -> ${P}.tgz" + +SLOT="0" +LICENSE="all-rights-reserved" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +RDEPEND=">=virtual/jre-1.5" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/MICS + +QA_PREBUILT="/opt/.*" + +src_prepare() { + rm -f bin/MICS.{mac,static.*,exe} || die +} + +src_install() { + local MICS="/opt/${PN}" + exeinto /opt/bin + newexe bin/MICS* ${PN} + + insinto ${MICS} + doins -r tab + + java-pkg_jarinto ${MICS} + java-pkg_dojar bin/rama.jar + + java-pkg_dolauncher jrama+ --jar rama.jar -into /opt/ + + if use examples; then + insinto /usr/share/${PN} + doins -r demo + fi + + cat >> "${T}"/40MICS <<- EOF + MICS_DIR="${EPREFIX}/${MICS}" + EOF + doenvd "${T}"/40MICS +}