summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-04-15 14:59:29 +0000
committerJustin Lecher <jlec@gentoo.org>2011-04-15 14:59:29 +0000
commitaaa00af1e7dc39ec4b3264183013030cdc4b85f5 (patch)
treec97749d2bbe1f388c3d93f766794ba0174d15d55 /sci-chemistry/rasmol
parentAdd missed keywords :/ (diff)
downloadgentoo-2-aaa00af1e7dc39ec4b3264183013030cdc4b85f5.tar.gz
gentoo-2-aaa00af1e7dc39ec4b3264183013030cdc4b85f5.tar.bz2
gentoo-2-aaa00af1e7dc39ec4b3264183013030cdc4b85f5.zip
Version Bump
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/rasmol')
-rw-r--r--sci-chemistry/rasmol/ChangeLog7
-rw-r--r--sci-chemistry/rasmol/rasmol-2.7.5.1.ebuild78
2 files changed, 84 insertions, 1 deletions
diff --git a/sci-chemistry/rasmol/ChangeLog b/sci-chemistry/rasmol/ChangeLog
index a3649883f2bf..74eecdfdfc2f 100644
--- a/sci-chemistry/rasmol/ChangeLog
+++ b/sci-chemistry/rasmol/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/rasmol
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/ChangeLog,v 1.22 2011/03/07 10:40:39 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/ChangeLog,v 1.23 2011/04/15 14:59:29 jlec Exp $
+
+*rasmol-2.7.5.1 (15 Apr 2011)
+
+ 15 Apr 2011; Justin Lecher <jlec@gentoo.org> +rasmol-2.7.5.1.ebuild:
+ Version Bump
07 Mar 2011; Justin Lecher <jlec@gentoo.org> rasmol-2.7.5-r1.ebuild:
Correct Slots for gtk 3 introduction to tree
diff --git a/sci-chemistry/rasmol/rasmol-2.7.5.1.ebuild b/sci-chemistry/rasmol/rasmol-2.7.5.1.ebuild
new file mode 100644
index 000000000000..dbed105ff477
--- /dev/null
+++ b/sci-chemistry/rasmol/rasmol-2.7.5.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.5.1.ebuild,v 1.1 2011/04/15 14:59:29 jlec Exp $
+
+EAPI="3"
+
+inherit eutils toolchain-funcs prefix
+
+MY_P="RasMol_${PV}"
+VERS="9Aug09"
+
+DESCRIPTION="Molecular Graphics Visualisation Tool"
+HOMEPAGE="http://www.openrasmol.org/"
+#SRC_URI="http://www.rasmol.org/software/${MY_P}.tar.gz"
+SRC_URI="mirror://sourceforge/open${PN}/RasMol/RasMol_2.7.5/${PN}-2.7.5-${VERS}.tar.gz"
+
+LICENSE="|| ( GPL-2 RASLIC )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ x11-libs/cairo
+ x11-libs/gtk+:2
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/vte:0
+ dev-libs/cvector
+ sci-libs/cbflib
+ sci-libs/cqrlib
+ sci-libs/neartree"
+DEPEND="${RDEPEND}
+ x11-proto/inputproto
+ x11-proto/xextproto
+ app-text/rman
+ x11-misc/imake"
+
+S="${WORKDIR}/${PN}-2.7.5-${VERS}"
+
+src_prepare() {
+ cd src
+
+ if use amd64 || use amd64-linux; then
+ mv rasmol.h rasmol_amd64_save.h && \
+ echo "#define _LONGLONG"|cat - rasmol_amd64_save.h > rasmol.h
+ fi
+
+ mv Imakefile_base Imakefile
+ epatch "${FILESDIR}"/2.7.5-bundled-lib.patch
+
+ eprefixify Imakefile
+
+ xmkmf -DGTKWIN ${myconf}|| die "xmkmf failed with ${myconf}"
+}
+
+src_compile() {
+ cd src
+ make clean
+ emake \
+ DEPTHDEF=-DTHIRTYTWOBIT \
+ CC="$(tc-getCC)" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" \
+ || die "make failed"
+}
+
+src_install () {
+ libdir=$(get_libdir)
+ insinto /usr/${libdir}/${PN}
+ doins doc/rasmol.hlp || die
+ dobin src/rasmol || die
+ dodoc PROJECTS {README,TODO}.txt doc/*.{ps,pdf}.gz doc/rasmol.txt.gz || die
+ doman doc/rasmol.1 || die
+ insinto /usr/${libdir}/${PN}/databases
+ doins data/* || die
+
+ dohtml -r *html doc/*.html html_graphics || die
+}