From 1e7c47c6c84c8c062d6c97d9cf8e9cdafa903add Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Thu, 5 Nov 2009 20:59:06 +0000 Subject: [sci-chemistry/icm] Add icm (Portage version: 2.2_rc48/cvs/Linux x86_64) --- sci-chemistry/icm/ChangeLog | 10 ++++++ sci-chemistry/icm/files/90icm | 3 ++ sci-chemistry/icm/files/icm.png | Bin 0 -> 7075 bytes sci-chemistry/icm/icm-3.6.1g.ebuild | 68 ++++++++++++++++++++++++++++++++++++ sci-chemistry/icm/metadata.xml | 9 +++++ 5 files changed, 90 insertions(+) create mode 100644 sci-chemistry/icm/ChangeLog create mode 100644 sci-chemistry/icm/files/90icm create mode 100644 sci-chemistry/icm/files/icm.png create mode 100644 sci-chemistry/icm/icm-3.6.1g.ebuild create mode 100644 sci-chemistry/icm/metadata.xml (limited to 'sci-chemistry/icm') diff --git a/sci-chemistry/icm/ChangeLog b/sci-chemistry/icm/ChangeLog new file mode 100644 index 000000000000..e34cc24df9fb --- /dev/null +++ b/sci-chemistry/icm/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-chemistry/icm +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/icm/ChangeLog,v 1.1 2009/11/05 20:59:05 alexxy Exp $ + +*icm-3.6.1g (05 Nov 2009) + + 05 Nov 2009; Alexey Shvetsov +files/90icm, + +icm-3.6.1g.ebuild, +files/icm.png, +metadata.xml: + Initial import + diff --git a/sci-chemistry/icm/files/90icm b/sci-chemistry/icm/files/90icm new file mode 100644 index 000000000000..ce8966c406c3 --- /dev/null +++ b/sci-chemistry/icm/files/90icm @@ -0,0 +1,3 @@ +ICMHOME=/opt/icm +LM_LICENSE_FILE=/opt/icm/licenses/license.dat +MANPATH=/opt/icm/man diff --git a/sci-chemistry/icm/files/icm.png b/sci-chemistry/icm/files/icm.png new file mode 100644 index 000000000000..2ded11676e10 Binary files /dev/null and b/sci-chemistry/icm/files/icm.png differ diff --git a/sci-chemistry/icm/icm-3.6.1g.ebuild b/sci-chemistry/icm/icm-3.6.1g.ebuild new file mode 100644 index 000000000000..279c12e484fc --- /dev/null +++ b/sci-chemistry/icm/icm-3.6.1g.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/icm/icm-3.6.1g.ebuild,v 1.1 2009/11/05 20:59:05 alexxy Exp $ + +inherit rpm eutils versionator + +MY_PV=$(replace_version_separator 2 '-' ) +MY_P="$PN-${MY_PV}" +DESCRIPTION="MolSoft LCC ICM Pro" +SRC_URI="${MY_P}.i386.rpm" +HOMEPAGE="http://www.molsoft.com/icm_pro.html" +LICENSE="MolSoft" + +SLOT=0 + +DEPEND="!sci-chemistry/icm-browser + 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/${MY_P}" + +pkg_nofetch() { + einfo "Please download ${SRC_URI} from " + einfo "${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" +} + +src_unpack() { + rpm_src_unpack + cd "${S}" || die +} + +src_install () { + instdir=/opt/icm + dodir "${instdir}" + dodir "${instdir}/licenses" + cp -pPR * "${D}/${instdir}" + doenvd "${FILESDIR}/90icm" || die + exeinto ${instdir} + doexe "${S}/icm" || die + doexe "${S}/lmhostid" || die + doexe "${S}/txdoc" || die + dosym "${instdir}/icm" /opt/bin/icm || 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 "icm -g" "ICM Pro" ${PN}.png Chemistry +} + +pkg_postinst () { + einfo + einfo "Documentation can be found in ${instdir}/man/" + einfo + einfo "You will need to place your license in ${instdir}/licenses/" + einfo + +} diff --git a/sci-chemistry/icm/metadata.xml b/sci-chemistry/icm/metadata.xml new file mode 100644 index 000000000000..3cfdd8f68922 --- /dev/null +++ b/sci-chemistry/icm/metadata.xml @@ -0,0 +1,9 @@ + + + +sci-chemistry + + alexxy@gentoo.org + Alexey Shvetsov + + -- cgit v1.2.3-65-gdbad