diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /sci-chemistry/molscript/molscript-2.1.2-r2.ebuild | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'sci-chemistry/molscript/molscript-2.1.2-r2.ebuild')
-rw-r--r-- | sci-chemistry/molscript/molscript-2.1.2-r2.ebuild | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/sci-chemistry/molscript/molscript-2.1.2-r2.ebuild b/sci-chemistry/molscript/molscript-2.1.2-r2.ebuild deleted file mode 100644 index eb7145817875..000000000000 --- a/sci-chemistry/molscript/molscript-2.1.2-r2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit epatch toolchain-funcs - -DESCRIPTION="Display 3D molecules (e.g., proteins) in schematic and detailed representations" -HOMEPAGE="http://www.avatar.se/molscript/" -SRC_URI="${P}.tar.gz" - -LICENSE="glut molscript" -SLOT="0" -KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND=" - media-libs/freeglut - media-libs/gd:2= - media-libs/libpng:0= - virtual/jpeg:0= - || ( - x11-libs/libXmu - x11-libs/libXext - x11-libs/libX11 - )" -RDEPEND="${DEPEND}" - -RESTRICT="fetch" - -pkg_nofetch() { - elog "Please visit ${HOMEPAGE}" - elog "and get ${A}." - elog "Place it into your DISTDIR directory." -} - -src_prepare() { - epatch \ - "${FILESDIR}"/fix-makefile-shared.patch \ - "${FILESDIR}"/${PV}-ldflags.patch \ - "${FILESDIR}"/${PV}-prll.patch \ - "${FILESDIR}"/${PV}-libpng15.patch - - # Provide glutbitmap.h, because freeglut doesn't have it - cp "${FILESDIR}"/glutbitmap.h "${S}"/clib/ || die - - # Stop an incredibly hacky include - sed \ - -e 's:<../lib/glut/glutbitmap.h>:"glutbitmap.h":g' \ - -i "${S}"/clib/ogl_bitmap_character.c || die -} - -src_compile() { - # Prefix of programs it links with - export FREEWAREDIR="${EPREFIX}/usr" - - ln -s Makefile.complete Makefile || die - - emake \ - CC="$(tc-getCC)" \ - COPT="${CFLAGS}" -} - -src_install() { - dobin molscript molauto - dohtml "${S}"/doc/*.html -} |