diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-12-14 09:26:37 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-12-14 09:26:37 +0000 |
commit | 39a9505c7262582dc3b8a06ea0e0afdc555c9c99 (patch) | |
tree | e25c85880d63af1d74c38c9f916d78b681f5c437 /sci-chemistry/rasmol | |
parent | Remove old. (diff) | |
download | gentoo-2-39a9505c7262582dc3b8a06ea0e0afdc555c9c99.tar.gz gentoo-2-39a9505c7262582dc3b8a06ea0e0afdc555c9c99.tar.bz2 gentoo-2-39a9505c7262582dc3b8a06ea0e0afdc555c9c99.zip |
Version Bump
(Portage version: 2.2.0_alpha80/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/rasmol')
-rw-r--r-- | sci-chemistry/rasmol/ChangeLog | 7 | ||||
-rw-r--r-- | sci-chemistry/rasmol/rasmol-2.7.5.2.ebuild | 80 |
2 files changed, 86 insertions, 1 deletions
diff --git a/sci-chemistry/rasmol/ChangeLog b/sci-chemistry/rasmol/ChangeLog index 9db46649166d..122392a8e41d 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.26 2011/07/01 06:30:47 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/ChangeLog,v 1.27 2011/12/14 09:26:37 jlec Exp $ + +*rasmol-2.7.5.2 (14 Dec 2011) + + 14 Dec 2011; Justin Lecher <jlec@gentoo.org> +rasmol-2.7.5.2.ebuild: + Version Bump 01 Jul 2011; Justin Lecher <jlec@gentoo.org> rasmol-2.7.2.1.1-r1.ebuild, rasmol-2.7.5-r1.ebuild, rasmol-2.7.5.1.ebuild, metadata.xml: diff --git a/sci-chemistry/rasmol/rasmol-2.7.5.2.ebuild b/sci-chemistry/rasmol/rasmol-2.7.5.2.ebuild new file mode 100644 index 000000000000..25eef6f79f72 --- /dev/null +++ b/sci-chemistry/rasmol/rasmol-2.7.5.2.ebuild @@ -0,0 +1,80 @@ +# 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.2.ebuild,v 1.1 2011/12/14 09:26:37 jlec Exp $ + +EAPI=4 + +inherit eutils fortran-2 prefix toolchain-funcs + +MY_P="RasMol_${PV}" +VERS="13May11" + +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/${P}-${VERS}.tar.gz" +#SRC_URI="mirror://sourceforge/open${PN}/RasMol/RasMol_2.7.5/RasMol.tar.gz" + +LICENSE="|| ( GPL-2 RASLIC )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + dev-libs/cvector + >=sci-libs/cbflib-0.9.2 + >=sci-libs/cqrlib-1.1.2 + >=sci-libs/neartree-3.1.1 + virtual/fortran + x11-libs/cairo + x11-libs/gtk+:2 + x11-libs/libXext + x11-libs/libXi + x11-libs/vte:0" +DEPEND="${RDEPEND} + app-text/rman + x11-misc/imake + x11-proto/inputproto + x11-proto/xextproto" + +#S="${WORKDIR}/${PN}-2.7.5-${VERS}" +S="${WORKDIR}/RasMol-${PV}" + +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() { + emake -C src clean + emake \ + -C src \ + DEPTHDEF=-DTHIRTYTWOBIT \ + CC="$(tc-getCC)" \ + CDEBUGFLAGS="${CFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" +} + +src_install () { + libdir=$(get_libdir) + insinto /usr/${libdir}/${PN} + doins doc/rasmol.hlp + dobin src/rasmol + dodoc PROJECTS {README,TODO}.txt doc/*.{ps,pdf}.gz doc/rasmol.txt.gz + doman doc/rasmol.1 + insinto /usr/${libdir}/${PN}/databases + doins data/* + + dohtml -r *html doc/*.html html_graphics +} |