summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2012-12-31 18:16:11 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2012-12-31 18:16:11 +0000
commit9758885d4185545b54684fb2de11ebb25e6815ea (patch)
tree0ab5c3eec6a126b998720349f346a3a9f66f2078 /sci-biology
parentAdd ~ia64, wrt bug #387959 (diff)
downloadhistorical-9758885d4185545b54684fb2de11ebb25e6815ea.tar.gz
historical-9758885d4185545b54684fb2de11ebb25e6815ea.tar.bz2
historical-9758885d4185545b54684fb2de11ebb25e6815ea.zip
Forward command line arguments to ApE startup script, thanks to Markus Meier in bug #375919
Package-Manager: portage-2.1.11.38/cvs/Linux x86_64
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/ApE/ApE-2.0.7-r1.ebuild56
-rw-r--r--sci-biology/ApE/ChangeLog8
-rw-r--r--sci-biology/ApE/Manifest9
3 files changed, 68 insertions, 5 deletions
diff --git a/sci-biology/ApE/ApE-2.0.7-r1.ebuild b/sci-biology/ApE/ApE-2.0.7-r1.ebuild
new file mode 100644
index 000000000000..e2ac6f6477f9
--- /dev/null
+++ b/sci-biology/ApE/ApE-2.0.7-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ApE/ApE-2.0.7-r1.ebuild,v 1.1 2012/12/31 18:16:06 je_fro Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="ApE - A Plasmid Editor"
+HOMEPAGE="http://www.biology.utah.edu/jorgensen/wayned/ape/"
+SRC_URI="http://www.biology.utah.edu/jorgensen/wayned/ape/Download/Linux/ApE_linux_current.zip -> ${P}.zip"
+
+LICENSE="ApE"
+RESTRICT="mirror"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="dev-lang/tcl
+ dev-lang/tk"
+
+src_compile() {
+ echo
+ einfo "Nothing to compile."
+ echo
+}
+
+src_install() {
+
+cat >> "${T}/ApE" << "EOF"
+#!/bin/bash
+cmdArgs=""
+
+# AppMain.tcl searches files relative to the directory where it resides.
+# Add absolute path to file here, if necessary.
+for rfpath in "$@"; do
+ afpath="$PWD/${rfpath}"
+ if test -r "${afpath}"; then
+ cmdArgs="${cmdArgs} \"${afpath}\"";
+else
+ cmdArgs="${cmdArgs} \"${rfpath}\"";
+fi
+done
+
+eval exec tclsh "\"/usr/share/ApE-2.0.7/AppMain.tcl\"" "${cmdArgs}"
+EOF
+
+exeinto /usr/bin
+doexe "${T}/ApE"
+insinto "/usr/share/${P}"
+doins -r "${WORKDIR}"/ApE\ Linux/*
+make_desktop_entry ${PN} \
+ ApE \
+ "/usr/share/${P}/Accessory Files/Icons and images/monkey_icon.gif" \
+ "Application;Graphics;Science"
+}
diff --git a/sci-biology/ApE/ChangeLog b/sci-biology/ApE/ChangeLog
index ba74620196fb..2a00bdb14c8b 100644
--- a/sci-biology/ApE/ChangeLog
+++ b/sci-biology/ApE/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-biology/ApE
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/ApE/ChangeLog,v 1.8 2012/04/25 08:38:13 je_fro Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ApE/ChangeLog,v 1.9 2012/12/31 18:16:06 je_fro Exp $
+
+*ApE-2.0.7-r1 (31 Dec 2012)
+
+ 31 Dec 2012; Jeff Gardner <je_fro@gentoo.org> +ApE-2.0.7-r1.ebuild:
+ Forward command line arguments to ApE startup script, thanks to Markus Meier
+ in bug #375919
25 Apr 2012; Jeff Gardner <je_fro@gentoo.org> ApE-2.0.7.ebuild:
Fix SRC_URI thanks to Horea Christian in bug #405367.
diff --git a/sci-biology/ApE/Manifest b/sci-biology/ApE/Manifest
index 69c7d023a16f..6c96422ed257 100644
--- a/sci-biology/ApE/Manifest
+++ b/sci-biology/ApE/Manifest
@@ -1,4 +1,5 @@
-DIST ApE-2.0.7.zip 318454 RMD160 66e28b378442a5f2b99d944e71a6e59b2dc192b4 SHA1 491f15485d2f3d6e3cc1c7b2c215546d8322064b SHA256 9d718562ef250b68dfad1de7d4179540fc04c001b0fdc5e9bd70f3605561bc32
-EBUILD ApE-2.0.7.ebuild 974 RMD160 35183de4d8a4e2f17dc6d533b3339cecaac9b52c SHA1 b753a60a287305a416f1ab3d2a81ccbeeb4cfae5 SHA256 ddc459934274024b0c5b0b46b64adaaae92ab44d2aa5cde3f0ff54d20f2cf322
-MISC ChangeLog 1341 RMD160 a618439d0237881bfa427f01f453d0a6e7cefd94 SHA1 c0202b2d73257aa0e3ab9c82c15ef56a5c9cda3d SHA256 ff8c60c889e61ff751ad73449782778ebcc3626148c57f91aac548dfc677f643
-MISC metadata.xml 281 RMD160 8d2f06c351e0b0756ea539eb32e2faa8dec4b64a SHA1 9ee2c10cfadb609245eff08b108f809b1d0f1046 SHA256 d91256704dd7de0642182be6f861a9cdce239252bcd7567364dca852ef907b35
+DIST ApE-2.0.7.zip 318454 SHA256 9d718562ef250b68dfad1de7d4179540fc04c001b0fdc5e9bd70f3605561bc32 SHA512 073e3f96badf4888c10a7c7eb453a3775d5bb9136b0bd836d37d1be784847f887e0c68b37325f430eebfb90c2d94021f10d4e8ede92de89b1ab1ddc1ffdbc254 WHIRLPOOL d13e8a997c36f8e7ac951a17c195a714a243292f9a99f524758b09b1fdc9f436b11cf1124ac1a3527ff70aa8cc6dc9ac516a910246f9f6e4f8376c78e8b44013
+EBUILD ApE-2.0.7-r1.ebuild 1307 SHA256 b42262d02891f5f92874f33e24bd088d85498800a8d76cec2be82ec8bbac2ab5 SHA512 a4e2fabee2a26645b101cff3c7a45d8ef45a33e4ff29d83f06176498e54eb79f2e8fe240e33c286c820b714b1566f6f9b94324be76eb2bc57900f8fdbbaa56ae WHIRLPOOL 77fe1133f4d91ebef72d3e7d303419d597b3de00f59e1ac14f7b37f4836e092e15817d62cdb640586cb504511804d0906b00dae21b51a9553faf3a105388b601
+EBUILD ApE-2.0.7.ebuild 974 SHA256 ddc459934274024b0c5b0b46b64adaaae92ab44d2aa5cde3f0ff54d20f2cf322 SHA512 a1cf1ac67727074ddb2ddbc3cba5287497391b8b3fd50db23a5750b4ee7bcb578925bbb375f61a0bd481543df5fdc91dc1bee9de57def60658dc88984601e73e WHIRLPOOL f55aef448d6805dfddc10bad5582ddada1777387da9483b3d86024bbeacee94b144198a0d722cfa753cf17b1cc340aba0cac90c827d37d7b794c3f23a8f63f07
+MISC ChangeLog 1537 SHA256 ccca3f578761c39feb238516b8e08a0d2d6a3e62015e75af11ad147f6d67c49e SHA512 110963be93e50ce8b4bbd028cbd473575ed5f35ba065a628a9eb03abeda8a5031dc138d244c6816a60050681cd028f220b5f69f6a95fdaf4d40b3e7574850f4f WHIRLPOOL c5c646abb34fb1b2e152f8b8c395007aef23487150fe9d3d3b54810e3ef8142e7bbb3951a0dbcbb72b341090cb0df8d92960531dc41a1dd0388a85ecb3329abe
+MISC metadata.xml 281 SHA256 d91256704dd7de0642182be6f861a9cdce239252bcd7567364dca852ef907b35 SHA512 022267f2d654ed7d2fba287ba8902ac9b3e91ac7c07f9c0cc5d865188b6efea3779faecca948eab9bfd08d8b2730806ef6bbcf5a8668a92b36ab758b6234692c WHIRLPOOL 4d2c7ea92b26d389e8c93c511ec33a187d762308ee9080a3038f2086407a838b344c702a4102bf97c088627f37f48f19f4c13e8f055b31d865761c3700c93c3a