diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-01-21 14:24:21 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-01-21 14:24:21 +0000 |
commit | b3d2bf7fcb318107547c774736f0cb01cf3d063a (patch) | |
tree | c98a3065fa0776f2cce0b7e167002d7a845366a7 /sci-visualization | |
parent | amd64 stable. (diff) | |
download | gentoo-2-b3d2bf7fcb318107547c774736f0cb01cf3d063a.tar.gz gentoo-2-b3d2bf7fcb318107547c774736f0cb01cf3d063a.tar.bz2 gentoo-2-b3d2bf7fcb318107547c774736f0cb01cf3d063a.zip |
Version bump (fixes bug #155856).
(Portage version: 2.1.4)
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/xd3d/ChangeLog | 10 | ||||
-rw-r--r-- | sci-visualization/xd3d/files/digest-xd3d-8.3.1 | 3 | ||||
-rw-r--r-- | sci-visualization/xd3d/files/xd3d-8.3.1-gentoo.diff | 86 | ||||
-rw-r--r-- | sci-visualization/xd3d/xd3d-8.2.1.ebuild | 12 | ||||
-rw-r--r-- | sci-visualization/xd3d/xd3d-8.3.1.ebuild | 49 |
5 files changed, 152 insertions, 8 deletions
diff --git a/sci-visualization/xd3d/ChangeLog b/sci-visualization/xd3d/ChangeLog index c3b6123cbb36..95350e7b05c5 100644 --- a/sci-visualization/xd3d/ChangeLog +++ b/sci-visualization/xd3d/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-visualization/xd3d -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xd3d/ChangeLog,v 1.6 2007/07/22 06:47:42 dberkholz Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xd3d/ChangeLog,v 1.7 2008/01/21 14:24:20 markusle Exp $ + +*xd3d-8.3.1 (21 Jan 2008) + + 21 Jan 2008; Markus Dittrich <markusle@gentoo.org> + +files/xd3d-8.3.1-gentoo.diff, +xd3d-8.3.1.ebuild: + Version bump (fixes bug #155856). 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; xd3d-8.2.1.ebuild: Drop virtual/x11 references. diff --git a/sci-visualization/xd3d/files/digest-xd3d-8.3.1 b/sci-visualization/xd3d/files/digest-xd3d-8.3.1 new file mode 100644 index 000000000000..a529473d0f67 --- /dev/null +++ b/sci-visualization/xd3d/files/digest-xd3d-8.3.1 @@ -0,0 +1,3 @@ +MD5 49ffafe7a5083cca8b046ffe86747473 xd3d-8.3.1.tar.gz 2188216 +RMD160 78b3d6b457bce69e3525a1c654d7241df2f8d5c8 xd3d-8.3.1.tar.gz 2188216 +SHA256 f363cabec88fb5055fe86fb9973d7122e93dfd4a803517b9f90be18131ef8816 xd3d-8.3.1.tar.gz 2188216 diff --git a/sci-visualization/xd3d/files/xd3d-8.3.1-gentoo.diff b/sci-visualization/xd3d/files/xd3d-8.3.1-gentoo.diff new file mode 100644 index 000000000000..4baf7b3f795b --- /dev/null +++ b/sci-visualization/xd3d/files/xd3d-8.3.1-gentoo.diff @@ -0,0 +1,86 @@ +diff -Naur RULES.gentoo RULES.gentoo +--- RULES.gentoo 1969-12-31 19:00:00.000000000 -0500 ++++ RULES.gentoo 2008-01-21 06:41:41.000000000 -0500 +@@ -0,0 +1,82 @@ ++#-------------------------------------------------------- ++# Configuration file for the Makefiles of xd3d | ++# François Jouve 2005 (Francois.Jouve@Polytechnique.fr) | ++#-------------------------------------------------------- ++ ++# ++# Modifiable parameters ++# ++ ++# ++# Root directory of the distribution ++# ++#XD3D_DIR = $(HOME)/xd3d-8.1.0 ++XD3D_DIR = Please_Configure ++ ++# ++# Install directory ++# ++#INSTALL_DIR = /usr/local/bin ++INSTALL_DIR = ##D##/usr/bin ++ ++# ++# Location of the X11 lib (libX11.a) ++# ++#LIBX11 = /usr/X11R6/lib ++LIBX11 = /usr/##lib##/ ++ ++# ++# Language parameter ++# ++#LANGUAGE = FRANCAIS ++#LANGUAGE = ENGLISH ++LANGUAGE = ENGLISH ++ ++# ++# Max memory for xd3d (MBytes) ++# ++#MEMORY_XD3D = 64 ++MEMORY_XD3D = 64 ++ ++# ++# Fortran compiler ++# ++COMPILF = ##FC## ++ ++# ++# C compiler ++# ++COMPILC = ##CC## ++RANLIB = ranlib ++AR = ar r ++STRIP = strip $@ ++ ++# ++# Options for the Fortran compiler ++# ++OPTF = ##FFLAGS## ++# ++# Options for the C compiler ++# ++OPTC = ##CFLAGS## ++ ++#----------------------------------------------- ++# You should not need to change anything below ! ++#----------------------------------------------- ++ ++SRCDIR = $(XD3D_DIR)/src ++BINDIR = $(XD3D_DIR)/bin ++LIBDIR = $(XD3D_DIR)/lib ++SUFF = ++INCF = -I$(XD3D_DIR)/src/include ++INCC = -I$(LIBX11)/../include ++ ++LINK = $(COMPILF) $(OPTF) -o ++LINKOPT = -lc -lm ++LINKOPTX = -L$(LIBX11) -lX11 -lXpm -lc -lm ++LIBRAIRIE = $(LIBDIR)/question_lib.a ++MYXLIB = $(LIBDIR)/my_Xlib.a ++INTERP = $(LIBDIR)/interp.a ++ ++.f.o: ; $(COMPILF) $(INCF) $(OPTF) -c $*.f ++.c.o: ; $(COMPILC) $(INCC) $(OPTC) -D$(LANGUAGE) -c $*.c diff --git a/sci-visualization/xd3d/xd3d-8.2.1.ebuild b/sci-visualization/xd3d/xd3d-8.2.1.ebuild index 369029981d98..29e125e8cf83 100644 --- a/sci-visualization/xd3d/xd3d-8.2.1.ebuild +++ b/sci-visualization/xd3d/xd3d-8.2.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xd3d/xd3d-8.2.1.ebuild,v 1.4 2007/07/22 06:47:42 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xd3d/xd3d-8.2.1.ebuild,v 1.5 2008/01/21 14:24:20 markusle Exp $ DESCRIPTION="scientific visualization tool" @@ -22,9 +22,9 @@ DEPEND="${RDEPEND} app-shells/tcsh" src_unpack() { - unpack ${A} - cd ${S} - patch -p1 < ${FILESDIR}/gentoo-${P}.diff + unpack "${A}" + cd "${S}" + patch -p1 < "${FILESDIR}"/gentoo-${P}.diff } src_compile() { @@ -43,7 +43,7 @@ src_compile() { src_install() { make install || die - dodoc BUGS CHANGELOG FAQ FORMATS INSTALL LICENSE README + dodoc BUGS CHANGELOG FAQ FORMATS INSTALL README insinto /usr/share/doc/${PF} doins Manuals/* diff --git a/sci-visualization/xd3d/xd3d-8.3.1.ebuild b/sci-visualization/xd3d/xd3d-8.3.1.ebuild new file mode 100644 index 000000000000..9575397ee92f --- /dev/null +++ b/sci-visualization/xd3d/xd3d-8.3.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xd3d/xd3d-8.3.1.ebuild,v 1.1 2008/01/21 14:24:20 markusle Exp $ + +inherit fortran toolchain-funcs multilib + +DESCRIPTION="scientific visualization tool" +HOMEPAGE="http://www.cmap.polytechnique.fr/~jouve/xd3d/" +SRC_URI="mirror://gentoo/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~ppc64 ~x86 ~amd64" +IUSE="" + +RDEPEND="x11-libs/libXpm" + +DEPEND="${RDEPEND} + app-shells/tcsh" + +src_unpack() { + unpack "${A}" + cd "${S}" + epatch "${FILESDIR}"/${P}-gentoo.diff +} + +src_compile() { + sed -e "s:##D##:${D}:" \ + -e "s:##lib##:$(get_libdir):" \ + -e "s:##FC##:${FORTRANC}:" \ + -e "s:##CC##:$(tc-getCC):" \ + -e "s:##FFLAGS##:${FFLAGS}:" \ + -e "s:##CFLAGS##:${CFLAGS}:" \ + -i RULES.gentoo \ + || die "failed to set up RULES.gentoo" + ./configure -arch=gentoo || die "configure failed." + emake || die "make failed." +} + +src_install() { + mkdir -p "${D}"/usr/bin && make install \ + || die "make install failed" + + dodoc BUGS CHANGELOG FAQ FORMATS INSTALL README + insinto /usr/share/doc/${PF} + doins Manuals/* + + insinto /usr/share/doc/${PF}/examples + doins -r Examples/* +} |