summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-03-08 07:25:25 +0000
committerJustin Lecher <jlec@gentoo.org>2012-03-08 07:25:25 +0000
commit06b6fa58425c5274c0f91547527c14aed158f26d (patch)
tree091058bb36c1c443aff892aa0abeff11934888f8 /sci-chemistry
parentDropped old (diff)
downloadgentoo-2-06b6fa58425c5274c0f91547527c14aed158f26d.tar.gz
gentoo-2-06b6fa58425c5274c0f91547527c14aed158f26d.tar.bz2
gentoo-2-06b6fa58425c5274c0f91547527c14aed158f26d.zip
Dropped old, fixes #384863
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/raster3d/ChangeLog6
-rw-r--r--sci-chemistry/raster3d/raster3d-2.7c.ebuild62
-rw-r--r--sci-chemistry/raster3d/raster3d-2.9.2.ebuild79
3 files changed, 5 insertions, 142 deletions
diff --git a/sci-chemistry/raster3d/ChangeLog b/sci-chemistry/raster3d/ChangeLog
index 059c62843971..151cfa379b1d 100644
--- a/sci-chemistry/raster3d/ChangeLog
+++ b/sci-chemistry/raster3d/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-chemistry/raster3d
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/ChangeLog,v 1.31 2012/03/07 20:51:29 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/ChangeLog,v 1.32 2012/03/08 07:25:25 jlec Exp $
+
+ 08 Mar 2012; Justin Lecher <jlec@gentoo.org> -raster3d-2.7c.ebuild,
+ -raster3d-2.9.2.ebuild:
+ Dropped old, fixes #384863
07 Mar 2012; Brent Baude <ranger@gentoo.org> raster3d-3.0.2.ebuild:
Marking raster3d-3.0.2 ppc for bug 385627
diff --git a/sci-chemistry/raster3d/raster3d-2.7c.ebuild b/sci-chemistry/raster3d/raster3d-2.7c.ebuild
deleted file mode 100644
index 88951bccfc02..000000000000
--- a/sci-chemistry/raster3d/raster3d-2.7c.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/raster3d-2.7c.ebuild,v 1.15 2011/11/16 09:58:55 jlec Exp $
-
-inherit fortran-2 toolchain-funcs
-
-NAME="Raster3D"
-
-DESCRIPTION="Generation high quality raster images of proteins or other molecules"
-HOMEPAGE="http://www.bmsc.washington.edu/raster3d/raster3d.html"
-SRC_URI="http://www.bmsc.washington.edu/${PN}/${NAME}_${PV}.tar.gz"
-
-SLOT="0"
-LICENSE="as-is"
-KEYWORDS="ppc x86"
-IUSE=""
-
-RDEPEND="
- media-libs/libpng
- media-libs/tiff
- virtual/fortran
- virtual/jpeg"
-DEPEND="${RDEPEND}
- x11-misc/imake"
-
-S="${WORKDIR}/${NAME}_${PV}"
-
-src_unpack() {
- unpack ${A}
- epatch "${FILESDIR}"/raster3d-gcc-4.1-gentoo.patch
-}
-
-src_compile() {
- # fix Makefile to honor user's CFLAGS/FFLAGS
- sed -e "s:gcc:$(tc-getCC):" \
- -e "s:g77:$(tc-getFC):" \
- -e "s:-g -m486 -w:${CFLAGS}:" \
- -e "s:-g -O -w -malign-double:${FFLAGS} -w:" \
- -i Makefile || die "Failed to patch makefile"
-
- sed -e "s:prefix = /usr/local:prefix = /usr:" \
- -i Makefile.template || \
- die "Failed to patch makefile.template"
-
- make linux || die "Failed to make linux target."
- make all || die "Failed to make all target."
-}
-
-src_install() {
- emake prefix="${D}"/usr \
- bindir="${D}"/usr/bin \
- datadir="${D}"/usr/share/Raster3D/materials \
- mandir="${D}"/usr/share/man/man1 \
- htmldir="${D}"/usr/share/Raster3D/html \
- examdir="${D}"/usr/share/Raster3D/examples \
- install || die "Failed to install application."
-
- dodir /etc/env.d
- echo -e "R3D_LIB=/usr/share/${NAME}/materials" > \
- "${D}"/etc/env.d/10raster3d || \
- die "Failed to install env file."
-}
diff --git a/sci-chemistry/raster3d/raster3d-2.9.2.ebuild b/sci-chemistry/raster3d/raster3d-2.9.2.ebuild
deleted file mode 100644
index 9379d44d8909..000000000000
--- a/sci-chemistry/raster3d/raster3d-2.9.2.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/raster3d-2.9.2.ebuild,v 1.7 2011/11/16 09:58:55 jlec Exp $
-
-EAPI=3
-
-inherit fortran-2 flag-o-matic multilib toolchain-funcs versionator
-
-MY_PN="Raster3D"
-MY_PV=$(replace_version_separator 2 -)
-MY_P="${MY_PN}_${MY_PV}"
-
-DESCRIPTION="Generation high quality raster images of proteins or other molecules"
-HOMEPAGE="http://www.bmsc.washington.edu/raster3d/raster3d.html"
-SRC_URI="http://www.bmsc.washington.edu/${PN}/${MY_P}.tar.gz -> ${MY_P}.tar"
-
-SLOT="0"
-LICENSE="as-is"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="
- media-libs/libpng:0
- media-libs/tiff:0
- virtual/fortran
- virtual/jpeg"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- epatch "${FILESDIR}"/2.9.1-as-needed.patch
-}
-
-src_compile() {
- sed -e "s:prefix = /usr/local:prefix = ${EPREFIX}/usr:" \
- -i Makefile.template || \
- die "Failed to patch makefile.template"
-
- if [[ $(tc-getFC) =~ gfortran ]]; then
- append-cflags -Dgfortran
- fi
-
- append-fflags -ffixed-line-length-132
-
- for target in linux-gfortran all; do
- emake \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- FFLAGS="${FFLAGS}" \
- CC="$(tc-getCC)"\
- FC="$(tc-getFC)" \
- INCDIRS="-I${EPREFIX}"/usr/include \
- LIBDIRS="-L${EPREFIX}"/usr/$(get_libdir) \
- ${target} || die
- done
-}
-
-src_install() {
- emake prefix="${ED}"/usr \
- bindir="${ED}"/usr/bin \
- datadir="${ED}"/usr/share/Raster3D/materials \
- mandir="${ED}"/usr/share/man/man1 \
- htmldir="${ED}"/usr/share/Raster3D/html \
- examdir="${ED}"/usr/share/Raster3D/examples \
- install || die "Failed to install application."
-
- dodir /etc/env.d
- echo -e "R3D_LIB=${EPREFIX}/usr/share/${NAME}/materials" > \
- "${ED}"/etc/env.d/10raster3d || \
- die "Failed to install env file."
-}
-
-pkg_postinst() {
- elog "Add following line:"
- elog "<delegate decode=\"r3d\" command='\"render\" < \"%i\" > \"%o\"' />"
- elog "to ${EPREFIX}/usr/$(get_libdir)/ImageMagick-6.5.8/config/delegates.xml"
- elog "to make imagemagick use raster3d for .r3d files"
-}