aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-09 14:51:38 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-09 14:51:38 +0000
commitad987f58f21dc38ae48c6694a1c71573a0dec44f (patch)
tree923fd40a2b32fbd7af01355cee55536a4d0eb20e /science
parent45267e30c2d634b685b88aaa4507fa97bf900134 (diff)
downloadports-ad987f58f21dc38ae48c6694a1c71573a0dec44f.tar.gz
ports-ad987f58f21dc38ae48c6694a1c71573a0dec44f.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/Makefile1
-rw-r--r--science/vis5d+/Makefile44
-rw-r--r--science/vis5d+/distinfo1
-rw-r--r--science/vis5d+/files/patch-gtk::main.c25
-rw-r--r--science/vis5d+/pkg-comment1
-rw-r--r--science/vis5d+/pkg-descr5
-rw-r--r--science/vis5d+/pkg-plist32
7 files changed, 109 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index c31bca33ed7e..751bbeb035cd 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -5,6 +5,7 @@
SUBDIR += clhep
SUBDIR += libsvm
SUBDIR += mpqc
+ SUBDIR += vis5d+
SUBDIR += xmakemol
.include <bsd.port.subdir.mk>
diff --git a/science/vis5d+/Makefile b/science/vis5d+/Makefile
new file mode 100644
index 000000000000..834ac23ed5ff
--- /dev/null
+++ b/science/vis5d+/Makefile
@@ -0,0 +1,44 @@
+# ex:ts=8
+# Ports collection Makefile for: vis5d+
+# Date created: Jan 9, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= vis5d+
+PORTVERSION= 1.2.1
+CATEGORIES= science
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= vis5d
+
+MAINTAINER= ports@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libmix.a:${PORTSDIR}/graphics/qslim \
+ convert:${PORTSDIR}/graphics/ImageMagick
+LIB_DEPENDS= giconv.2:${PORTSDIR}/converters/libiconv \
+ netcdf.1:${PORTSDIR}/math/netcdf
+RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
+
+USE_BISON= yes
+USE_MESA= yes
+USE_XLIB= yes
+USE_GTK= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= \
+ CPPFLAGS="${CXXFLAGS} ${PTHREAD_FLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
+ LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -lgiconv -lintl -L${X11BASE}/lib"
+CONFIGURE_ARGS= --enable-gtk --enable-threads --with-mesa --with-netcdf \
+ --with-mixkit=${LOCALBASE}/lib/libmix.a --with-x
+INSTALLS_SHLIB= yes
+
+post-patch:
+.for file in configure intl/gettextP.h
+ @${PERL} -pi -e "s,iconv.h,giconv.h,g" ${WRKSRC}/${file}
+.endfor
+
+pre-build:
+ @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}
+
+.include <bsd.port.mk>
diff --git a/science/vis5d+/distinfo b/science/vis5d+/distinfo
new file mode 100644
index 000000000000..9a83b072fb22
--- /dev/null
+++ b/science/vis5d+/distinfo
@@ -0,0 +1 @@
+MD5 (vis5d+-1.2.1.tar.gz) = 0521694c2210c0aedcf2fde521a2c578
diff --git a/science/vis5d+/files/patch-gtk::main.c b/science/vis5d+/files/patch-gtk::main.c
new file mode 100644
index 000000000000..2d49100cab37
--- /dev/null
+++ b/science/vis5d+/files/patch-gtk::main.c
@@ -0,0 +1,25 @@
+--- gtk/main.c.orig Wed Jan 9 13:08:24 2002
++++ gtk/main.c Wed Jan 9 13:08:34 2002
+@@ -8,7 +8,6 @@
+ #endif
+ #include <gtk/gtk.h>
+
+-#include <mcheck.h>
+ #include <signal.h>
+
+ #include "window3D.h"
+@@ -18,14 +17,12 @@
+ static void
+ enable (int sig)
+ {
+- mtrace ();
+ signal (SIGUSR1, enable);
+ }
+
+ static void
+ disable (int sig)
+ {
+- muntrace ();
+ signal (SIGUSR2, disable);
+ }
+
diff --git a/science/vis5d+/pkg-comment b/science/vis5d+/pkg-comment
new file mode 100644
index 000000000000..cfc2f3871d1b
--- /dev/null
+++ b/science/vis5d+/pkg-comment
@@ -0,0 +1 @@
+An OpenGL-based volumetric visualization program for scientific datasets
diff --git a/science/vis5d+/pkg-descr b/science/vis5d+/pkg-descr
new file mode 100644
index 000000000000..1c1dd679970f
--- /dev/null
+++ b/science/vis5d+/pkg-descr
@@ -0,0 +1,5 @@
+Vis5d+ is intended as a central repository for enhanced versions and
+development work on Vis5d, a free OpenGL-based volumetric visualization
+program for scientific datasets in 3+ dimensions.
+
+WWW: http://vis5d.sourceforge.net/
diff --git a/science/vis5d+/pkg-plist b/science/vis5d+/pkg-plist
new file mode 100644
index 000000000000..3a4d36b8e8a1
--- /dev/null
+++ b/science/vis5d+/pkg-plist
@@ -0,0 +1,32 @@
+bin/comp_to_v5d
+bin/gg3d
+bin/gr3d_to_v5d
+bin/igg3d
+bin/igu3d
+bin/topoinfo
+bin/v5dappend
+bin/v5dedit
+bin/v5dimport
+bin/v5dinfo
+bin/v5dstats
+bin/vis5d
+include/vis5d+/api-config.h
+include/vis5d+/api.h
+include/vis5d+/binio.h
+include/vis5d+/v5d.h
+include/vis5d+/v5df.h
+lib/libv5d.a
+lib/libv5d.la
+lib/libv5d.so
+lib/libv5d.so.2
+lib/libvis5d.a
+lib/libvis5d.la
+lib/libvis5d.so
+lib/libvis5d.so.2
+share/locale/es/LC_MESSAGES/vis5d+.mo
+share/locale/pt_BR/LC_MESSAGES/vis5d+.mo
+share/vis5d+/EARTH.TOPO
+share/vis5d+/OUTLSUPW
+share/vis5d+/OUTLUSAM
+@dirrm include/vis5d+
+@dirrm share/vis5d+