diff options
author | Pacho Ramos <pacho@gentoo.org> | 2019-05-30 13:45:41 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2019-05-30 13:45:51 +0200 |
commit | f0ff54647d14b0eba9dc436cb5dba50e9a170e74 (patch) | |
tree | 5d24b26c80e3180d634af2c7104d0cee80678666 /sci-chemistry/molmol/molmol-2k_p2-r4.ebuild | |
parent | sci-chemistry/molmol: Install .desktop file, update ebuild (diff) | |
download | gentoo-f0ff54647d14b0eba9dc436cb5dba50e9a170e74.tar.gz gentoo-f0ff54647d14b0eba9dc436cb5dba50e9a170e74.tar.bz2 gentoo-f0ff54647d14b0eba9dc436cb5dba50e9a170e74.zip |
sci-chemistry/molmol: Drop old
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-chemistry/molmol/molmol-2k_p2-r4.ebuild')
-rw-r--r-- | sci-chemistry/molmol/molmol-2k_p2-r4.ebuild | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/sci-chemistry/molmol/molmol-2k_p2-r4.ebuild b/sci-chemistry/molmol/molmol-2k_p2-r4.ebuild deleted file mode 100644 index 26a294922182..000000000000 --- a/sci-chemistry/molmol/molmol-2k_p2-r4.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib prefix toolchain-funcs - -MY_PV="${PV/_p/.}.0" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="Publication-quality molecular visualization package" -HOMEPAGE="http://hugin.ethz.ch/wuthrich/software/molmol/index.html" -SRC_URI=" - ftp://ftp.mol.biol.ethz.ch/software/MOLMOL/unix-gzip/${MY_P}-src.tar.gz - ftp://ftp.mol.biol.ethz.ch/software/MOLMOL/unix-gzip/${MY_P}-doc.tar.gz - https://dev.gentoo.org/~soap/distfiles/${PN}-patches.tbz2" - -LICENSE="molmol" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND=" - || ( - ( media-libs/mesa - x11-libs/libGLw ) - media-libs/mesa[motif] ) - media-libs/libpng:0 - media-libs/tiff:0 - sys-libs/zlib - virtual/glu - virtual/jpeg:0 - x11-libs/libXpm - x11-libs/motif:0 - x11-apps/xdpyinfo" -RDEPEND="${DEPEND}" - -S="${WORKDIR}" - -MAKEOPTS="${MAKEOPTS} -j1" - -pkg_setup() { - MMDIR="/usr/$(get_libdir)/molmol" -} - -src_prepare() { - rm -rf tiff* - # Patch from http://pjf.net/science/molmol.html, where src.rpm is provided - epatch "${WORKDIR}"/patches/pjf_RH9_molmol2k2.diff - - epatch "${WORKDIR}"/patches/prefix.patch - eprefixify molmol - - epatch "${WORKDIR}"/patches/ldflags.patch - - ln -s makedef.lnx "${S}"/makedef || die - - sed \ - -e "s:/bin/ksh:${EPREFIX}/bin/sh:" \ - -e "s:^MOLMOLHOME.*:MOLMOLHOME=${EPREFIX}/${MMDIR}:" \ - -i "${S}"/molmol || die - sed \ - -e "s:^MCFLAGS.*:MCFLAGS = ${CFLAGS}:" \ - -e "s:^CC.*:CC = $(tc-getCC):" \ - -i "${S}"/makedef || die - - epatch "${WORKDIR}"/patches/cast.patch - epatch "${WORKDIR}"/patches/libpng15.patch - - # patch from fink - # fixes numerous bad bracings and hopefully the OGL bug 429974 - epatch "${WORKDIR}"/patches/${P}-fink.patch - - tc-export AR -} - -src_install() { - dobin molmol - - exeinto ${MMDIR} - newexe src/main/molmol molmol.lnx - insinto ${MMDIR} - doins -r auxil help macros man setup tips - - dodoc HISTORY README -} |