summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-visualization/xd3d/ChangeLog31
-rw-r--r--sci-visualization/xd3d/Manifest5
-rw-r--r--sci-visualization/xd3d/files/digest-xd3d-8.2.11
-rw-r--r--sci-visualization/xd3d/files/gentoo-xd3d-8.2.1.diff184
-rw-r--r--sci-visualization/xd3d/metadata.xml13
-rw-r--r--sci-visualization/xd3d/xd3d-8.2.1.ebuild54
6 files changed, 288 insertions, 0 deletions
diff --git a/sci-visualization/xd3d/ChangeLog b/sci-visualization/xd3d/ChangeLog
new file mode 100644
index 000000000000..30fdbbe9b4a0
--- /dev/null
+++ b/sci-visualization/xd3d/ChangeLog
@@ -0,0 +1,31 @@
+# ChangeLog for media-gfx/xd3d
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xd3d/ChangeLog,v 1.1 2006/01/29 20:29:29 cryos Exp $
+
+ 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org>
+ +files/gentoo-xd3d-8.2.1.diff, +metadata.xml, +xd3d-8.2.1.ebuild:
+ Moved from media-gfx/xd3d to sci-visualization/xd3d.
+
+ 13 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; xd3d-8.2.1.ebuild:
+ Add modular X dependencies.
+
+ 25 Jul 2005; David Holm <dholm@gentoo.org> xd3d-8.2.1.ebuild:
+ Added to ~ppc.
+
+ 27 Jun 2005; Olivier Fisette <ribosome@gentoo.org> xd3d-8.2.1.ebuild:
+ Added missing tcsh dependency (bug #73814). Thanks to Bryan Duff.
+
+*xd3d-8.2.1 (23 Dec 2004)
+
+ 23 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/gentoo-xd3d-8.2.1.diff, +xd3d-8.2.1.ebuild:
+ Moved from app-sci/xd3d to media-gfx/xd3d.
+
+*xd3d-8.2.1 (20 May 2004)
+
+ 24 May 2004; Thomas Veith <xtv@gentoo.org> xd3d-8.1.2.ebuild:
+ Fixed bug #51675. Thanks to Tobias Minich for pointing out.
+
+ 20 May 2004; Thomas Veith <xtv@gentoo.org> xd3d-8.2.1.ebuild, Manifest,
+ChangeLog, metadata.xml, files/gentoo-xd3d-8.2.1.diff :
+ Initial import.
diff --git a/sci-visualization/xd3d/Manifest b/sci-visualization/xd3d/Manifest
new file mode 100644
index 000000000000..f265c8082d70
--- /dev/null
+++ b/sci-visualization/xd3d/Manifest
@@ -0,0 +1,5 @@
+MD5 594d295e5a5cfaf6c7f155c88cb795f1 ChangeLog 1031
+MD5 155cd0a8aa6b4012cddc9e7666e93b4f files/digest-xd3d-8.2.1 63
+MD5 8e74eb67d30393b9b79c4cf10e070ac9 files/gentoo-xd3d-8.2.1.diff 4127
+MD5 e66750dfff9526133df543a3641f2413 metadata.xml 614
+MD5 f58a98c08609a4e5d92fa84576e926d0 xd3d-8.2.1.ebuild 1217
diff --git a/sci-visualization/xd3d/files/digest-xd3d-8.2.1 b/sci-visualization/xd3d/files/digest-xd3d-8.2.1
new file mode 100644
index 000000000000..e4e82049b455
--- /dev/null
+++ b/sci-visualization/xd3d/files/digest-xd3d-8.2.1
@@ -0,0 +1 @@
+MD5 4984efbf773d5c69c2b209a2aae361ce xd3d-8.2.1.tar.gz 1649537
diff --git a/sci-visualization/xd3d/files/gentoo-xd3d-8.2.1.diff b/sci-visualization/xd3d/files/gentoo-xd3d-8.2.1.diff
new file mode 100644
index 000000000000..ed8356b75c36
--- /dev/null
+++ b/sci-visualization/xd3d/files/gentoo-xd3d-8.2.1.diff
@@ -0,0 +1,184 @@
+diff -U 3 -dHrN -- xd3d-8.2.0-orig/Makefile xd3d-8.2.0/Makefile
+--- xd3d-8.2.0-orig/Makefile 2003-11-25 13:47:13.000000000 +0100
++++ xd3d-8.2.0/Makefile 2004-05-09 02:41:11.192321664 +0200
+@@ -15,7 +15,9 @@
+
+ all :; make libs ; make utils ; make xgraphic ; make xd3d
+
+-install :; /bin/cp $(EXE) ./infps $(INSTALL_DIR)
++install :; \
++install -d $(INSTALL_DIR) ;\
++install $(EXE) ./infps $(INSTALL_DIR)
+
+ libs :; \
+ cd $(SRCDIR)/qlib ; echo "---- Building utility lib ----" ; make ;\
+diff -U 3 -dHrN -- xd3d-8.2.0-orig/RULES.gentoo xd3d-8.2.0/RULES.gentoo
+--- xd3d-8.2.0-orig/RULES.gentoo 1970-01-01 01:00:00.000000000 +0100
++++ xd3d-8.2.0/RULES.gentoo 2004-05-09 02:28:27.156472768 +0200
+@@ -0,0 +1,81 @@
++#--------------------------------------------------------
++# Configuration file for the Makefiles of xd3d |
++# François Jouve 2003 (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/X11R6/lib
++
++#
++# Language parameter
++#
++#LANGUAGE = FRANCAIS
++#LANGUAGE = ENGLISH
++LANGUAGE = ENGLISH
++
++#
++# Max memory for xd3d (MBytes)
++#
++#MEMORY_XD3D = 64
++MEMORY_XD3D = 64
++
++#
++# Fortran compiler
++#
++COMPILF = g77
++
++#
++# C compiler
++#
++COMPILC = gcc
++RANLIB = ranlib
++AR = ar r
++STRIP = strip $@
++
++#
++# Options for the Fortran compiler
++#
++OPTF = ##CFLAGS##
++#
++# 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
++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 -U 3 -dHrN -- xd3d-8.2.0-orig/RULES.icc xd3d-8.2.0/RULES.icc
+--- xd3d-8.2.0-orig/RULES.icc 1970-01-01 01:00:00.000000000 +0100
++++ xd3d-8.2.0/RULES.icc 2004-05-09 02:28:40.138499200 +0200
+@@ -0,0 +1,81 @@
++#--------------------------------------------------------
++# Configuration file for the Makefiles of xd3d |
++# François Jouve 2003 (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/X11R6/lib
++
++#
++# Language parameter
++#
++#LANGUAGE = FRANCAIS
++#LANGUAGE = ENGLISH
++LANGUAGE = ENGLISH
++
++#
++# Max memory for xd3d (MBytes)
++#
++#MEMORY_XD3D = 64
++MEMORY_XD3D = 64
++
++#
++# Fortran compiler
++#
++COMPILF = ifort
++
++#
++# C compiler
++#
++COMPILC = icc
++RANLIB = ranlib
++AR = xiar r
++STRIP = strip $@
++
++#
++# Options for the Fortran compiler
++#
++OPTF = -O3 -axWNBKP -ipo
++#
++# Options for the C compiler
++#
++OPTC = -O3 -axWNBKP -ipo
++
++#-----------------------------------------------
++# You should not need to change anything below !
++#-----------------------------------------------
++
++SRCDIR = $(XD3D_DIR)/src
++BINDIR = $(XD3D_DIR)/bin
++LIBDIR = $(XD3D_DIR)/lib
++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/metadata.xml b/sci-visualization/xd3d/metadata.xml
new file mode 100644
index 000000000000..5d5074f5b142
--- /dev/null
+++ b/sci-visualization/xd3d/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription>
+xd3d is a simple scientific visualization tool designed to be easy to learn.
+It can plot 2d and 3d meshes, with shadowing, contour plots, vector fields,
+iso-contour (3d), as well as 3d surfaces z=f(x,y) defined by an algebraic
+expression or a cloud of points. It generates high quality vector PostScript
+files for scientific publications and still or animated bitmap images.
+It includes the graph plotter xgraphic.
+</longdescription>
+</pkgmetadata>
diff --git a/sci-visualization/xd3d/xd3d-8.2.1.ebuild b/sci-visualization/xd3d/xd3d-8.2.1.ebuild
new file mode 100644
index 000000000000..df1b6312b08c
--- /dev/null
+++ b/sci-visualization/xd3d/xd3d-8.2.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 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.1 2006/01/29 20:29:29 cryos Exp $
+
+DESCRIPTION="scientific visualization tool"
+
+HOMEPAGE="http://www.cmap.polytechnique.fr/~jouve/xd3d/"
+SRC_URI="http://www.cmap.polytechnique.fr/${P}.tar.gz"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+
+KEYWORDS="~ppc ~x86"
+
+IUSE="icc"
+
+RDEPEND="|| ( x11-libs/libXpm virtual/x11 )
+ icc? ( dev-lang/icc dev-lang/ifc )"
+
+DEPEND="${RDEPEND}
+ sys-apps/which
+ app-shells/tcsh"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/gentoo-${P}.diff
+}
+
+src_compile() {
+ if use icc; then
+ sed "s:##D##:${D}:g" < RULES.icc > RULES.gentoo
+ else
+ which g77 2> /dev/null || die "No GNU Fortran compiler found!"
+ sed "s:##CFLAGS##:${CFLAGS}:g" < RULES.gentoo > RULES.linux
+ sed "s:##D##:${D}:g" < RULES.linux > RULES.gentoo
+ fi
+ ./configure -arch=gentoo || die
+
+ make || die
+}
+
+src_install() {
+ make install || die
+
+ dodoc BUGS CHANGELOG FAQ FORMATS INSTALL LICENSE README
+ insinto /usr/share/doc/${PF}
+ doins Manuals/*
+
+ dodir /usr/share/doc/${PF}/examples
+ insinto /usr/share/doc/${PF}/examples
+ doins Examples/*
+}