Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2001 11:27:35 +1100 (EST)
From:      Tony Maher <tonym@biolateral.com.au>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32994: New port: graphics/xgobi
Message-ID:  <200112190027.fBJ0RZB15466@c31516.thorn1.nsw.optusnet.com.au>

next in thread | raw e-mail | index | archive | help

>Number:         32994
>Category:       ports
>Synopsis:       New port: graphics/xgobi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 18 16:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Tony Maher
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
BioLateral
>Environment:
System: FreeBSD dt.home 4.4-STABLE FreeBSD 4.4-STABLE #1: Sun Dec 16 16:39:43 EST 2001 root@dt.home:/usr/obj/usr/src/sys/DT i386


>Description:
    xgobi

    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.
    -adapted from the manual page.

    The port is marked NO_CDROM.  I have received email from 2 of the 3
    authors who would not care if it was packaged on CDROM but they are not
    copyright holder (Bellcore/Telcordia is the copyright holder).
    I'll contact Telcordia but this may take a while and may not be worth
    the effort.

    I have marked the port with
    CATEGORIES= graphics maths
    but maybe its better the other way round.  I can't tell what the 
    standard is here (it seems mixed with gnuplot in math but plotmtv in
    graphics)

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xgobi
#	xgobi/Makefile
#	xgobi/pkg-descr
#	xgobi/pkg-comment
#	xgobi/distinfo
#	xgobi/files
#	xgobi/files/patch-Imakefile
#	xgobi/pkg-plist
#
echo c - xgobi
mkdir -p xgobi > /dev/null 2>&1
echo x - xgobi/Makefile
sed 's/^X//' >xgobi/Makefile << 'END-of-xgobi/Makefile'
X# New ports collection makefile for:	xgobi
X# Date created:				5 December 2001
X# Whom:					Tony Maher <tonym@biolateral.com.au>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xgobi
XPORTVERSION=	2001.09
XCATEGORIES=	graphics math
XMASTER_SITES=	http://www.research.att.com/areas/stat/xgobi/
XDISTNAME=	${PORTNAME}
XEXTRACT_SUFX=	.sh.gz
X
XMAINTAINER=	tonym@biolateral.com.au
X
XNO_CDROM=	"Restrictive copyright (do not sell for profit)"
X
XPATCH_WRKSRC=		${WRKDIR}/${PORTNAME}/src
XCONFIGURE_WRKSRC=	${PATCH_WRKSRC}
XBUILD_WRKSRC=		${PATCH_WRKSRC}
X
XUSE_IMAKE=		true
XXFREE86_HTML_MAN=	no
X
XPROGRAMS=	xgvis xgobi
XMANDIR=		${WRKSRC}/manpages
XMAN1=		xgvis.1 xgobi.1
X
X# The distfile is a shar file.  It also does not extract cleanly.
X# 3 files extract to current directory so use post-extract to move
X# them to proper locations.
X
Xdo-extract:
X	@ ${RM} -rf ${WRKDIR}
X	@ ${MKDIR} ${WRKDIR}
X	@ for file in ${EXTRACT_ONLY}; do \
X	    cd ${WRKDIR} && \
X	        ${GZCAT} ${DISTDIR}/$${file} | ${SH} > /dev/null; \
X	done
X
Xpost-extract:
X	@ ${MV} ${WRKDIR}/aclocal.m4 ${WRKSRC}
X	@ ${MV} ${WRKDIR}/make.out   ${WRKSRC}
X	@ ${MV} ${WRKDIR}/xgobi.html ${MANDIR}
X
Xdo-install:
X	@ cd ${WRKSRC}; \
X	  for file in ${PROGRAMS}; do \
X		${INSTALL_PROGRAM} src/$$file ${PREFIX}/bin; \
X		${INSTALL_MAN} ${MANDIR}/$${file}.1 ${PREFIX}/man/man1; \
X		${GZIP_CMD} ${PREFIX}/man/man1/$${file}.1; \
X	done
X	@ cd ${WRKDIR}/${PORTNAME}; \
X	  ${INSTALL_DATA} XGobi.ex ${PREFIX}/lib/X11/app-defaults
X
Xpost-install:
X	@ for file in ${PROGRAMS}; do \
X		strip ${PREFIX}/bin/$$file; \
X	done
X.if !defined(NOPORTDOCS)
X	 @ ${MKDIR} ${DOCSDIR}
X	 @ ${MKDIR} ${EXAMPLESDIR}
X	 @ cd ${WRKSRC}; \
X	   for dir in data_*; do \
X		${MKDIR} ${EXAMPLESDIR}/$${dir}; \
X		cd ${WRKSRC}/$${dir}; \
X		for file in *; do \
X			${INSTALL_DATA} $${file} ${EXAMPLESDIR}/$${dir}; \
X		done \
X	   done
X.endif
X
X.include <bsd.port.mk>
END-of-xgobi/Makefile
echo x - xgobi/pkg-descr
sed 's/^X//' >xgobi/pkg-descr << 'END-of-xgobi/pkg-descr'
XAn interactive dynamic graphics program for data visualization
Xin the X Window System.  It is especially designed for the exploration
Xof multivariate data.  Its basic plot is a scatterplot and there are
Xa number of the tools available for scatterplot display and manipulation.
XIt has a direct manipulation interface, and all the manipulations
Xare performed using the mouse.
XIt can be used in conjunction with the S language for scientific
Xcomputing and data analysis. (Or R language).
XAlso it can be programmed using RPC to communicate with other software.
X-adapted from the manual page.
X
X--
XTony Maher <tonym@biolateral.com.au>
END-of-xgobi/pkg-descr
echo x - xgobi/pkg-comment
sed 's/^X//' >xgobi/pkg-comment << 'END-of-xgobi/pkg-comment'
XGraphics visualisation
END-of-xgobi/pkg-comment
echo x - xgobi/distinfo
sed 's/^X//' >xgobi/distinfo << 'END-of-xgobi/distinfo'
XMD5 (xgobi.sh.gz) = ecce1eec28931e8e7e433b86f97675fe
END-of-xgobi/distinfo
echo c - xgobi/files
mkdir -p xgobi/files > /dev/null 2>&1
echo x - xgobi/files/patch-Imakefile
sed 's/^X//' >xgobi/files/patch-Imakefile << 'END-of-xgobi/files/patch-Imakefile'
X--- Imakefile.orig	Wed Dec  5 08:01:33 2001
X+++ Imakefile	Wed Dec  5 08:01:51 2001
X@@ -12,11 +12,11 @@
X /**/#  the xgobi directories src, help, ps, etc.
X          XGOBID = $(PWD)/..
X 
X-              CC = cc
X-       CCOPTIONS = -xansi -n32
X+#              CC = cc
X+#       CCOPTIONS = -xansi -n32
X 
X-#           CC = gcc
X-#    CCOPTIONS = -ansi -w
X+           CC = gcc
X+    CCOPTIONS = -ansi -w
X 
X              LD = 
X      CDEBUGFLAGS = -g
END-of-xgobi/files/patch-Imakefile
echo x - xgobi/pkg-plist
sed 's/^X//' >xgobi/pkg-plist << 'END-of-xgobi/pkg-plist'
Xbin/xgvis
Xbin/xgobi
Xlib/X11/app-defaults/XGobi.ex
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/c60
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/c60.linecolors
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/c60.lines
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/cube6
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/cube6.lines
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/death1987
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/death1987.col
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/death1987.lines
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/death1987.resources
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/death1987.row
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/flea.col
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/flea.colors
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/flea.dat
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/flea.doc
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/flea.glyphs
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/flea.row
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/kai.dat
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/kai.doc
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/kai.lines
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/kai.resources
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/kai.row
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/laser
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/laser.col
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/laser.doc
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/laser.resources
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/laser.vgroups
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/olive
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/olive.col
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/olive.colors
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/olive.glyphs
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/olive.resources
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/olive.row
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/places
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/places.col
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/places.doc
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/places.resources
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/places.row
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7.colors
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7.doc
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7.glyphs
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7.lines
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7.res
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/prim7.resources
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/randu
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/randu.doc
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/river
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/river.col
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/river.doc
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/sleep.col
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/sleep.dat
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/sleep.doc
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/sleep.missing
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/sleep.row
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/sleep.table
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/sphere1.dat
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/sphere1.doc
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/sphere1.resources
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/sphere2.dat
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/sphere2.doc
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/sphere2.resources
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/tips.col
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/tips.dat
X%%PORTDOCS%%share/examples/xgobi/data_xgobi/tips.doc
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/basket.edges
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/basket.pos
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/buckyball.dat
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/buckyball.linecolors
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/buckyball.lines
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/buckyball.resources
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/grid5.edges
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/grid5.pos
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/hyper8.edges
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/hyper8.pos
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.R
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.col
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.colors
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.dat
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.dist
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.doc
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.glyphs
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.linecolors
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.lines
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.pos
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.raw
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.row
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/morsecodes.sim
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm4.edges
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm4.linecolors
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm4.pos
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm4.row
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm5.edges
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm5.labels
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm5.pos
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm6.edges
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm6.labels
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/perm6.pos
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/torus1.edges
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/torus1.pos
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/torus2.edges
X%%PORTDOCS%%share/examples/xgobi/data_xgvis/torus2.pos
X%%PORTDOCS%%@dirrm share/examples/xgobi/data_xgobi
X%%PORTDOCS%%@dirrm share/examples/xgobi/data_xgvis
X%%PORTDOCS%%@dirrm share/examples/xgobi
END-of-xgobi/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112190027.fBJ0RZB15466>