summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/Makefile1
-rw-r--r--math/xgobi/Makefile66
-rw-r--r--math/xgobi/distinfo1
-rw-r--r--math/xgobi/files/patch-Imakefile20
-rw-r--r--math/xgobi/pkg-comment1
-rw-r--r--math/xgobi/pkg-descr12
-rw-r--r--math/xgobi/pkg-plist107
7 files changed, 208 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 14d636a9b368..c87257017606 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -137,6 +137,7 @@
SUBDIR += wingz3
SUBDIR += wmcalc
SUBDIR += xgfe
+ SUBDIR += xgobi
SUBDIR += xgraph
SUBDIR += xldlas
SUBDIR += xlispstat
diff --git a/math/xgobi/Makefile b/math/xgobi/Makefile
new file mode 100644
index 000000000000..78beebdcab36
--- /dev/null
+++ b/math/xgobi/Makefile
@@ -0,0 +1,66 @@
+# New ports collection makefile for: xgobi
+# Date created: 5 December 2001
+# Whom: Tony Maher <tonym@biolateral.com.au>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xgobi
+PORTVERSION= 2001.09
+CATEGORIES= math graphics
+MASTER_SITES= http://www.research.att.com/areas/stat/xgobi/
+DISTNAME= xgobi
+EXTRACT_SUFX= .sh.gz
+
+MAINTAINER= tonym@biolateral.com.au
+
+NO_CDROM= "Restrictive copyright (do not sell for profit)"
+
+PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}/src
+CONFIGURE_WRKSRC= ${PATCH_WRKSRC}
+BUILD_WRKSRC= ${PATCH_WRKSRC}
+
+USE_IMAKE= true
+USE_XPM= yes
+
+XFREE86_HTML_MAN= no
+MANCOMPRESSED= no
+MAN1= xgvis.1 xgobi.1
+
+PROGRAMS= xgvis xgobi
+MANDIR= ${WRKSRC}/manpages
+
+# The distfile is a shar file. It also does not extract cleanly.
+# 3 files extract to current directory so use post-extract to move
+# them to proper locations.
+
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ @for file in ${EXTRACT_ONLY}; do \
+ cd ${WRKDIR} && \
+ ${GZCAT} ${DISTDIR}/$${file} | ${SH} > /dev/null 2>&1; \
+ done
+ @${MV} ${WRKDIR}/aclocal.m4 ${WRKSRC}
+ @${MV} ${WRKDIR}/make.out ${WRKSRC}
+ @${MV} ${WRKDIR}/xgobi.html ${MANDIR}
+
+do-install:
+.for file in ${PROGRAMS}
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/${file} ${PREFIX}/bin
+ ${STRIP_CMD} ${PREFIX}/bin/${file}
+ ${INSTALL_MAN} ${MANDIR}/${file}.1 ${PREFIX}/man/man1
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/XGobi.ex ${PREFIX}/lib/X11/app-defaults
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${EXAMPLESDIR}
+ @ cd ${WRKSRC}; \
+ for dir in data_*; do \
+ ${MKDIR} ${EXAMPLESDIR}/$${dir}; \
+ cd ${WRKSRC}/$${dir}; \
+ for file in *; do \
+ ${INSTALL_DATA} $${file} ${EXAMPLESDIR}/$${dir}; \
+ done \
+ done
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/xgobi/distinfo b/math/xgobi/distinfo
new file mode 100644
index 000000000000..1090fe1682fb
--- /dev/null
+++ b/math/xgobi/distinfo
@@ -0,0 +1 @@
+MD5 (xgobi.sh.gz) = ecce1eec28931e8e7e433b86f97675fe
diff --git a/math/xgobi/files/patch-Imakefile b/math/xgobi/files/patch-Imakefile
new file mode 100644
index 000000000000..a88b5e7b5f96
--- /dev/null
+++ b/math/xgobi/files/patch-Imakefile
@@ -0,0 +1,20 @@
+$FreeBSD$
+
+--- Imakefile.orig Wed Dec 5 08:01:33 2001
++++ Imakefile Wed Dec 5 08:01:51 2001
+@@ -12,11 +12,11 @@
+ /**/# the xgobi directories src, help, ps, etc.
+ XGOBID = $(PWD)/..
+
+- CC = cc
+- CCOPTIONS = -xansi -n32
++# CC = cc
++# CCOPTIONS = -xansi -n32
+
+-# CC = gcc
+-# CCOPTIONS = -ansi -w
++ CC ?= gcc
++ CCOPTIONS = -ansi -w
+
+ LD =
+ CDEBUGFLAGS = -g
diff --git a/math/xgobi/pkg-comment b/math/xgobi/pkg-comment
new file mode 100644
index 000000000000..a6fe7b5915d8
--- /dev/null
+++ b/math/xgobi/pkg-comment
@@ -0,0 +1 @@
+Graphical data visualisation tool
diff --git a/math/xgobi/pkg-descr b/math/xgobi/pkg-descr
new file mode 100644
index 000000000000..6835c2ea147f
--- /dev/null
+++ b/math/xgobi/pkg-descr
@@ -0,0 +1,12 @@
+An interactive dynamic graphics program for data visualization
+in the X Window System. It is especially designed for the exploration
+of multivariate data. Its basic plot is a scatterplot and there are
+a number of the tools available for scatterplot display and manipulation.
+It has a direct manipulation interface, and all the manipulations
+are performed using the mouse.
+It can be used in conjunction with the S language for scientific
+computing and data analysis. (Or R language).
+Also it can be programmed using RPC to communicate with other software.
+
+--
+Tony Maher <tonym@biolateral.com.au>
diff --git a/math/xgobi/pkg-plist b/math/xgobi/pkg-plist
new file mode 100644
index 000000000000..4942ba3b0cf3
--- /dev/null
+++ b/math/xgobi/pkg-plist
@@ -0,0 +1,107 @@
+bin/xgobi
+bin/xgvis
+lib/X11/app-defaults/XGobi.ex
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/c60
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/c60.linecolors
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/c60.lines
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/cube6
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/cube6.lines
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/death1987
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/death1987.col
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/death1987.lines
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/death1987.resources
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/death1987.row
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/flea.col
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/flea.colors
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/flea.dat
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/flea.doc
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/flea.glyphs
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/flea.row
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/kai.dat
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/kai.doc
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/kai.lines
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/kai.resources
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/kai.row
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/laser
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/laser.col
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/laser.doc
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/laser.resources
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/laser.vgroups
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/olive
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/olive.col
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/olive.colors
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/olive.glyphs
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/olive.resources
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/olive.row
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/places
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/places.col
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/places.doc
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/places.resources
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/places.row
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7.colors
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7.doc
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7.glyphs
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7.lines
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7.res
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7.resources
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/randu
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/randu.doc
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/river
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/river.col
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/river.doc
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/sleep.col
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/sleep.dat
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/sleep.doc
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/sleep.missing
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/sleep.row
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/sleep.table
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/sphere1.dat
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/sphere1.doc
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/sphere1.resources
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/sphere2.dat
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/sphere2.doc
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/sphere2.resources
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/tips.col
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/tips.dat
+%%PORTDOCS%%share/examples/xgobi/data_xgobi/tips.doc
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/basket.edges
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/basket.pos
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/buckyball.dat
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/buckyball.linecolors
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/buckyball.lines
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/buckyball.resources
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/grid5.edges
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/grid5.pos
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/hyper8.edges
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/hyper8.pos
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.R
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.col
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.colors
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.dat
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.dist
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.doc
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.glyphs
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.linecolors
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.lines
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.pos
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.raw
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.row
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.sim
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm4.edges
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm4.linecolors
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm4.pos
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm4.row
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm5.edges
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm5.labels
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm5.pos
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm6.edges
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm6.labels
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm6.pos
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/torus1.edges
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/torus1.pos
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/torus2.edges
+%%PORTDOCS%%share/examples/xgobi/data_xgvis/torus2.pos
+%%PORTDOCS%%@dirrm share/examples/xgobi/data_xgvis
+%%PORTDOCS%%@dirrm share/examples/xgobi/data_xgobi
+%%PORTDOCS%%@dirrm share/examples/xgobi