summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Veith <xtv@gentoo.org>2004-05-20 12:48:10 +0000
committerThomas Veith <xtv@gentoo.org>2004-05-20 12:48:10 +0000
commit8b32923561334f115cfb4269694a0d38571ed136 (patch)
treee49409fdbf81be9b8a374d5c8b5962993495c5d9 /app-sci
parentUnmask. (Manifest recommit) (diff)
downloadgentoo-2-8b32923561334f115cfb4269694a0d38571ed136.tar.gz
gentoo-2-8b32923561334f115cfb4269694a0d38571ed136.tar.bz2
gentoo-2-8b32923561334f115cfb4269694a0d38571ed136.zip
Initial import.
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/xd3d/ChangeLog9
-rw-r--r--app-sci/xd3d/Manifest5
-rw-r--r--app-sci/xd3d/files/digest-xd3d-8.2.11
-rw-r--r--app-sci/xd3d/files/gentoo-xd3d-8.2.1.diff184
-rw-r--r--app-sci/xd3d/metadata.xml16
-rw-r--r--app-sci/xd3d/xd3d-8.2.1.ebuild49
6 files changed, 264 insertions, 0 deletions
diff --git a/app-sci/xd3d/ChangeLog b/app-sci/xd3d/ChangeLog
new file mode 100644
index 000000000000..93db5ace0b5a
--- /dev/null
+++ b/app-sci/xd3d/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-sci/xd3d
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/xd3d/ChangeLog,v 1.1 2004/05/20 12:48:10 xtv Exp $
+
+*xd3d-8.2.1 (20 May 2004)
+
+ 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/app-sci/xd3d/Manifest b/app-sci/xd3d/Manifest
new file mode 100644
index 000000000000..6069b662594e
--- /dev/null
+++ b/app-sci/xd3d/Manifest
@@ -0,0 +1,5 @@
+MD5 89ad310567ee16a16fdcd7651d53bc0a ChangeLog 298
+MD5 7bf785acde90eaaaf82fbf66074df9ec metadata.xml 673
+MD5 1479c719976eb80c490de21b3e4c730b xd3d-8.2.1.ebuild 962
+MD5 8e74eb67d30393b9b79c4cf10e070ac9 files/gentoo-xd3d-8.2.1.diff 4127
+MD5 155cd0a8aa6b4012cddc9e7666e93b4f files/digest-xd3d-8.2.1 63
diff --git a/app-sci/xd3d/files/digest-xd3d-8.2.1 b/app-sci/xd3d/files/digest-xd3d-8.2.1
new file mode 100644
index 000000000000..e4e82049b455
--- /dev/null
+++ b/app-sci/xd3d/files/digest-xd3d-8.2.1
@@ -0,0 +1 @@
+MD5 4984efbf773d5c69c2b209a2aae361ce xd3d-8.2.1.tar.gz 1649537
diff --git a/app-sci/xd3d/files/gentoo-xd3d-8.2.1.diff b/app-sci/xd3d/files/gentoo-xd3d-8.2.1.diff
new file mode 100644
index 000000000000..ed8356b75c36
--- /dev/null
+++ b/app-sci/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/app-sci/xd3d/metadata.xml b/app-sci/xd3d/metadata.xml
new file mode 100644
index 000000000000..065937c844a8
--- /dev/null
+++ b/app-sci/xd3d/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>xtv@gentoo.org</email>
+</maintainer>
+<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/app-sci/xd3d/xd3d-8.2.1.ebuild b/app-sci/xd3d/xd3d-8.2.1.ebuild
new file mode 100644
index 000000000000..1f98195ce10f
--- /dev/null
+++ b/app-sci/xd3d/xd3d-8.2.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/xd3d/xd3d-8.2.1.ebuild,v 1.1 2004/05/20 12:48:10 xtv 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="~x86"
+
+IUSE="icc"
+
+DEPEND="virtual/x11 \
+ icc? ( dev-lang/icc dev-lang/ifc )"
+
+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
+ sed "s:##CFLAGS##:${CFLAGS}:g" < RULES.gentoo > RULES.linux
+ sed "s:##D##:${D}:g" < RULES.linux > RULES.gentoo
+ fi
+ ./configure -arch=gentoo
+
+ make
+}
+
+src_install() {
+ make install
+
+ 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/*
+}