diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2009-11-05 20:55:13 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2009-11-05 20:55:13 +0000 |
commit | e7e87fb2380c823d599d149dee99553b49c4ffb2 (patch) | |
tree | 12083d849b68091f3b0a1a9fcf45c8fa1bde9eb5 /sci-chemistry/icm-browser | |
parent | Add ICM MolSoft licence (diff) | |
download | gentoo-2-e7e87fb2380c823d599d149dee99553b49c4ffb2.tar.gz gentoo-2-e7e87fb2380c823d599d149dee99553b49c4ffb2.tar.bz2 gentoo-2-e7e87fb2380c823d599d149dee99553b49c4ffb2.zip |
[sci-chemistry/icm-browser] Add icm-browser
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/icm-browser')
-rw-r--r-- | sci-chemistry/icm-browser/ChangeLog | 10 | ||||
-rw-r--r-- | sci-chemistry/icm-browser/files/90icm-browser | 1 | ||||
-rw-r--r-- | sci-chemistry/icm-browser/files/icm-browser.png | bin | 0 -> 7075 bytes | |||
-rw-r--r-- | sci-chemistry/icm-browser/icm-browser-3.6.1g.ebuild | 65 | ||||
-rw-r--r-- | sci-chemistry/icm-browser/metadata.xml | 9 |
5 files changed, 85 insertions, 0 deletions
diff --git a/sci-chemistry/icm-browser/ChangeLog b/sci-chemistry/icm-browser/ChangeLog new file mode 100644 index 000000000000..9ed91599dcab --- /dev/null +++ b/sci-chemistry/icm-browser/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-chemistry/icm-browser +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/icm-browser/ChangeLog,v 1.1 2009/11/05 20:55:12 alexxy Exp $ + +*icm-browser-3.6.1g (05 Nov 2009) + + 05 Nov 2009; Alexey Shvetsov <alexxy@gentoo.org> +files/90icm-browser, + +icm-browser-3.6.1g.ebuild, +files/icm-browser.png, +metadata.xml: + Initial import + diff --git a/sci-chemistry/icm-browser/files/90icm-browser b/sci-chemistry/icm-browser/files/90icm-browser new file mode 100644 index 000000000000..554bb8a030c0 --- /dev/null +++ b/sci-chemistry/icm-browser/files/90icm-browser @@ -0,0 +1 @@ +MOLBROWSERPROHOME=/opt/icm-browser diff --git a/sci-chemistry/icm-browser/files/icm-browser.png b/sci-chemistry/icm-browser/files/icm-browser.png Binary files differnew file mode 100644 index 000000000000..2ded11676e10 --- /dev/null +++ b/sci-chemistry/icm-browser/files/icm-browser.png diff --git a/sci-chemistry/icm-browser/icm-browser-3.6.1g.ebuild b/sci-chemistry/icm-browser/icm-browser-3.6.1g.ebuild new file mode 100644 index 000000000000..ccc583324c66 --- /dev/null +++ b/sci-chemistry/icm-browser/icm-browser-3.6.1g.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/icm-browser/icm-browser-3.6.1g.ebuild,v 1.1 2009/11/05 20:55:12 alexxy Exp $ + +inherit rpm eutils versionator + +MY_PV=$(replace_version_separator 2 '-' ) +MY_P="$PN-${MY_PV}" +DESCRIPTION="MolSoft LCC ICM Browser" +SRC_URI="${MY_P}.i386.rpm" +HOMEPAGE="http://www.molsoft.com/icm_browser.html" +LICENSE="MolSoft" + +SLOT=0 +DEPEND="!sci-chemistry/icm + amd64? ( + app-emulation/emul-linux-x86-compat + app-emulation/emul-linux-x86-xlibs + ) + x86? ( + virtual/libstdc++ + )" +RDEPEND="$DEPEND" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="fetch" +S="${WORKDIR}/usr/${PN}-pro-${MY_PV}" + +pkg_nofetch() { + einfo "Please download ${SRC_URI} from " + einfo "${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" +} + +src_unpack() { + rpm_src_unpack +} + +src_install () { + instdir=/opt/icm-browser + dodir "${instdir}" + dodir "${instdir}/licenses" + cp -pPR * "${D}/${instdir}" + doenvd "${FILESDIR}/90icm-browser" || die + exeinto ${instdir} + doexe "${S}/icmbrowserpro" || die + doexe "${S}/lmhostid" || die + doexe "${S}/txdoc" || die + dosym "${instdir}/icmbrowserpro" /opt/bin/icmbrowserpro || die + dosym "${instdir}/txdoc" /opt/bin/txdoc || die + dosym "${instdir}/lmhostid" /opt/bin/lmhostid || die + # make desktop entry + doicon "${FILESDIR}"/${PN}.png + make_desktop_entry "icmbrowserpro -g" "ICM Browser" ${PN}.png Chemistry +} + +pkg_postinst () { + einfo + einfo "Documentation can be found in ${instdir}/man/" + einfo + einfo "If you want to upgrade free version of browser to pro version" + einfo "you should purchaise license from ${HOMEPAGE} and place it to" + einfo "${instdir}/licenses" + einfo +} diff --git a/sci-chemistry/icm-browser/metadata.xml b/sci-chemistry/icm-browser/metadata.xml new file mode 100644 index 000000000000..3cfdd8f68922 --- /dev/null +++ b/sci-chemistry/icm-browser/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci-chemistry</herd> +<maintainer> + <email>alexxy@gentoo.org</email> + <name>Alexey Shvetsov</name> +</maintainer> +</pkgmetadata> |