Import of grace-5.1.4
Grace is a tool to make two-dimensional plots of numerical data. It runs under various (if not all) flavours of UNIX with X11 and M*tif. Its capabilities are roughly similar to GUI-based programs like Sigmaplot or Microcal Origin plus script-based tools like gnuplot or Genplot. Its strength lies in the fact that it combines the convenience of a graphical user interface with the power of a scripting language which enables it to do sophisticated calculations or perform automated tasks. Flavors: no_x11 - build command line tool only, no gui fftw - use math/fftw for optimized FFT netcdf - use math/netcdf for network common data form support xmhtml - use www/xmhtml to use grace's internal HTML browser for helpfiles etc. WWW: http://plasma-gate.weizmann.ac.il/Grace/ MAINTAINER= Nikolay Sturm <Nikolay.Sturm@desy.de>
This commit is contained in:
parent
3e6689d5c4
commit
1832e4fb3a
70
math/grace/Makefile
Normal file
70
math/grace/Makefile
Normal file
@ -0,0 +1,70 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/07/13 18:53:55 pvalchev Exp $
|
||||
# $FreeBSD: ports/math/grace/Makefile,v 1.18 2001/04/25 05:59:19 lkoeller Exp $
|
||||
# Original from: Lars Koeller <Lars.Koeller@Uni-Bielefeld.de>
|
||||
|
||||
COMMENT= "GRaphing, Advanced Computation and Exploration of data"
|
||||
|
||||
DISTNAME= grace-5.1.4
|
||||
CATEGORIES= math
|
||||
NEED_VERSION= 1.419
|
||||
|
||||
HOMEPAGE= http://plasma-gate.weizmann.ac.il/Grace/
|
||||
|
||||
MAINTAINER= Nikolay Sturm <Nikolay.Sturm@desy.de>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/grace/src/ \
|
||||
ftp://ftp.fu-berlin.de/unix/graphics/grace/src/ \
|
||||
ftp://freedom7.swmed.edu/pub/mirrors/grace/src/
|
||||
|
||||
FAKE_FLAGS= GRACE_HOME=${WRKINST}${PREFIX}/grace
|
||||
|
||||
CONFIGURE_STYLE= gnu dest
|
||||
CONFIGURE_ARGS+= --with-bundled-xbae \
|
||||
--with-extra-incpath=${LOCALBASE}/include \
|
||||
--with-extra-ldpath=${LOCALBASE}/lib \
|
||||
--enable-grace-home=${LOCALBASE}/grace
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libpdf.a::print/pdflib
|
||||
LIB_DEPENDS= jpeg.62::graphics/jpeg \
|
||||
png.2::graphics/png \
|
||||
t1.2::devel/t1lib \
|
||||
tiff.35::graphics/tiff
|
||||
|
||||
FLAVORS= no_x11 fftw netcdf xmhtml
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mno_x11}
|
||||
CONFIGURE_ARGS+= --without-x
|
||||
.else
|
||||
USE_X11= Yes
|
||||
USE_MOTIF= openmotif
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mfftw}
|
||||
LIB_DEPENDS+= fftw.2::math/fftw
|
||||
CONFIGURE_ARGS+= --with-fftw
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-fftw
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mnetcdf}
|
||||
LIB_DEPENDS+= netcdf.1::math/netcdf
|
||||
CONFIGURE_ARGS+= --enable-netcdf
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-netcdf
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mxmhtml}
|
||||
LIB_DEPENDS+= XmHTML.1::www/xmhtml
|
||||
CONFIGURE_ARGS+= --enable-xmhtml
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-xmhtml
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/grace/files/md5
Normal file
3
math/grace/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (grace-5.1.4.tar.gz) = 22cf4c27e01e57e06cd64c26ede80f5c
|
||||
RMD160 (grace-5.1.4.tar.gz) = 5f0e613b2b6a38a2f09ddba72fcf54818b096858
|
||||
SHA1 (grace-5.1.4.tar.gz) = 64ec51327bc45c866b61df38e12865ba6e9b61e2
|
47
math/grace/pkg/DEINSTALL
Normal file
47
math/grace/pkg/DEINSTALL
Normal file
@ -0,0 +1,47 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/07/13 18:53:55 pvalchev Exp $
|
||||
#
|
||||
# grace de-installation
|
||||
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
|
||||
NO_X11=`echo "$1" | sed -e "s/.*-no_x11/no_x11/"`
|
||||
|
||||
LINKS="$PREFIX/bin/grace \
|
||||
$PREFIX/bin/gracebat \
|
||||
$PREFIX/include/grace_np.h \
|
||||
$PREFIX/lib/libgrace_np.a \
|
||||
$PREFIX/man/man1/grace.1 \
|
||||
$PREFIX/man/man1/gracebat.1 \
|
||||
$PREFIX/man/man1/grconvert.1"
|
||||
|
||||
if [ ! $NO_X11 == "no_x11" ]; then
|
||||
LINKS="$LINKS $PREFIX/bin/xmgrace \
|
||||
$PREFIX/man/man1/xmgrace.1"
|
||||
fi
|
||||
|
||||
for LINK in $LINKS; do
|
||||
if [ -L $LINK ]; then
|
||||
rm -f $LINK
|
||||
else
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| Did not delete $LINK, not a link to a $1"
|
||||
echo "| file. Please have a look at the file."
|
||||
echo "+---------------"
|
||||
echo
|
||||
ERROR=1
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! $ERROR ]; then
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| All links to $1 files are deleted."
|
||||
echo "+---------------"
|
||||
echo
|
||||
fi
|
||||
|
||||
exit 0
|
17
math/grace/pkg/DESCR
Normal file
17
math/grace/pkg/DESCR
Normal file
@ -0,0 +1,17 @@
|
||||
Grace is a tool to make two-dimensional plots of numerical data. It
|
||||
runs under various (if not all) flavours of UNIX with X11 and M*tif.
|
||||
Its capabilities are roughly similar to GUI-based programs like
|
||||
Sigmaplot or Microcal Origin plus script-based tools like gnuplot or
|
||||
Genplot. Its strength lies in the fact that it combines the
|
||||
convenience of a graphical user interface with the power of a
|
||||
scripting language which enables it to do sophisticated calculations
|
||||
or perform automated tasks.
|
||||
|
||||
Flavors:
|
||||
no_x11 - build command line tool only, no gui
|
||||
fftw - use math/fftw for optimized FFT
|
||||
netcdf - use math/netcdf for network common data form support
|
||||
xmhtml - use x11/xmhtml to use grace's internal HTML browser
|
||||
for helpfiles etc.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
68
math/grace/pkg/INSTALL
Normal file
68
math/grace/pkg/INSTALL
Normal file
@ -0,0 +1,68 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.1.1.1 2001/07/13 18:53:55 pvalchev Exp $
|
||||
#
|
||||
# Pre/post-installation setup of grace
|
||||
|
||||
# exit on errors, use a sane path and install prefix
|
||||
#
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
GRACE_DIR=${PREFIX}/grace
|
||||
NO_X11=`echo "$1" | sed -e "s/.*-no_x11/no_x11/"`
|
||||
|
||||
do_notice()
|
||||
{
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| A file/link $PREFIX/bin/grace has been found."
|
||||
echo "| Links to grace files will not be set!"
|
||||
echo "+---------------"
|
||||
echo
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
if [ $NO_X11 == "no_x11" ]; then
|
||||
ln -s $GRACE_DIR/bin/grace $PREFIX/bin/grace
|
||||
ln -s $GRACE_DIR/bin/grace $PREFIX/bin/gracebat
|
||||
else
|
||||
ln -s $GRACE_DIR/bin/xmgrace $PREFIX/bin/grace
|
||||
ln -s $GRACE_DIR/bin/xmgrace $PREFIX/bin/gracebat
|
||||
ln -s $GRACE_DIR/bin/xmgrace $PREFIX/bin/xmgrace
|
||||
ln -s $GRACE_DIR/doc/xmgrace.1 $PREFIX/man/man1/xmgrace.1
|
||||
fi
|
||||
ln -s $GRACE_DIR/include/grace_np.h $PREFIX/include/grace_np.h
|
||||
ln -s $GRACE_DIR/lib/libgrace_np.a $PREFIX/lib/libgrace_np.a
|
||||
ln -s $GRACE_DIR/doc/grace.1 $PREFIX/man/man1/grace.1
|
||||
ln -s $GRACE_DIR/doc/gracebat.1 $PREFIX/man/man1/gracebat.1
|
||||
ln -s $GRACE_DIR/doc/grconvert.1 $PREFIX/man/man1/grconvert.1
|
||||
}
|
||||
|
||||
# verify proper execution
|
||||
#
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Verify/process the command
|
||||
#
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
: nothing to pre-install for this port
|
||||
;;
|
||||
POST-INSTALL)
|
||||
if [ -x $PREFIX/bin/grace ]; then
|
||||
do_notice $1
|
||||
else
|
||||
do_install $1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
2
math/grace/pkg/PFRAG.no-no_x11
Normal file
2
math/grace/pkg/PFRAG.no-no_x11
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.no-no_x11,v 1.1.1.1 2001/07/13 18:53:55 pvalchev Exp $
|
||||
grace/bin/xmgrace
|
2
math/grace/pkg/PFRAG.no_x11
Normal file
2
math/grace/pkg/PFRAG.no_x11
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.no_x11,v 1.1.1.1 2001/07/13 18:53:55 pvalchev Exp $
|
||||
grace/bin/grace
|
137
math/grace/pkg/PLIST
Normal file
137
math/grace/pkg/PLIST
Normal file
@ -0,0 +1,137 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/07/13 18:53:55 pvalchev Exp $
|
||||
grace/auxiliary/README
|
||||
grace/auxiliary/convcal.c
|
||||
grace/auxiliary/magic.grace
|
||||
grace/bin/convcal
|
||||
grace/bin/fdf2fit
|
||||
grace/bin/gracebat
|
||||
grace/bin/grconvert
|
||||
%%no_x11%%
|
||||
!%%no_x11%%
|
||||
grace/doc/10.1.dat
|
||||
grace/doc/10a.dat
|
||||
grace/doc/10b.dat
|
||||
grace/doc/10c.dat
|
||||
grace/doc/2.1.dat
|
||||
grace/doc/3.dat
|
||||
grace/doc/7.1.2.agr
|
||||
grace/doc/7.1.3.agr
|
||||
grace/doc/8.2.dat
|
||||
grace/doc/CHANGES.html
|
||||
grace/doc/FAQ.dvi
|
||||
grace/doc/FAQ.html
|
||||
grace/doc/GPL.html
|
||||
grace/doc/Tutorial.dvi
|
||||
grace/doc/Tutorial.html
|
||||
grace/doc/UsersGuide.dvi
|
||||
grace/doc/UsersGuide.html
|
||||
grace/doc/grace.1
|
||||
grace/doc/gracebat.1
|
||||
grace/doc/grconvert.1
|
||||
grace/doc/mygraph.png
|
||||
grace/doc/nohelp.html
|
||||
grace/doc/philosophical-gnu-sm.jpg
|
||||
grace/doc/shiftdata.sh
|
||||
grace/doc/xmgrace.1
|
||||
grace/examples/altaxis.par
|
||||
grace/examples/arrows.agr
|
||||
grace/examples/au.agr
|
||||
grace/examples/axes.agr
|
||||
grace/examples/bar.agr
|
||||
grace/examples/boxplot.agr
|
||||
grace/examples/brw.dat
|
||||
grace/examples/chartebar.agr
|
||||
grace/examples/charts.agr
|
||||
grace/examples/co2.agr
|
||||
grace/examples/co2.par
|
||||
grace/examples/dotest
|
||||
grace/examples/explain.agr
|
||||
grace/examples/fills.agr
|
||||
grace/examples/graphs.par
|
||||
grace/examples/hilo.agr
|
||||
grace/examples/log.dat
|
||||
grace/examples/log2.agr
|
||||
grace/examples/logistic.agr
|
||||
grace/examples/logistic.fit
|
||||
grace/examples/logit.agr
|
||||
grace/examples/logtest.par
|
||||
grace/examples/manygraphs.agr
|
||||
grace/examples/mlo.dat
|
||||
grace/examples/motif.agr
|
||||
grace/examples/pie.agr
|
||||
grace/examples/polar.agr
|
||||
grace/examples/props.agr
|
||||
grace/examples/regions.par
|
||||
grace/examples/spectrum.agr
|
||||
grace/examples/stackedb.agr
|
||||
grace/examples/symslines.agr
|
||||
grace/examples/terr.agr
|
||||
grace/examples/test.com
|
||||
grace/examples/test.dat
|
||||
grace/examples/test1.par
|
||||
grace/examples/test2.agr
|
||||
grace/examples/tfonts.agr
|
||||
grace/examples/tforms.par
|
||||
grace/examples/times.agr
|
||||
grace/examples/tinset.agr
|
||||
grace/examples/tlog.agr
|
||||
grace/examples/tmc.c
|
||||
grace/examples/tstack.agr
|
||||
grace/examples/txttrans.agr
|
||||
grace/examples/txyr.agr
|
||||
grace/examples/typeset.agr
|
||||
grace/examples/vmap.agr
|
||||
grace/examples/xysize.agr
|
||||
grace/examples/xyz.agr
|
||||
grace/fonts/FontDataBase
|
||||
grace/fonts/enc/IsoLatin1.enc
|
||||
grace/fonts/enc/IsoLatin2.enc
|
||||
grace/fonts/enc/IsoLatin9.enc
|
||||
grace/fonts/enc/MacRoman.enc
|
||||
grace/fonts/enc/PDFDoc.enc
|
||||
grace/fonts/enc/PSLatin1.enc
|
||||
grace/fonts/enc/WinAnsi.enc
|
||||
grace/fonts/type1/d050000l.afm
|
||||
grace/fonts/type1/d050000l.pfb
|
||||
grace/fonts/type1/n019003l.afm
|
||||
grace/fonts/type1/n019003l.pfb
|
||||
grace/fonts/type1/n019004l.afm
|
||||
grace/fonts/type1/n019004l.pfb
|
||||
grace/fonts/type1/n019023l.afm
|
||||
grace/fonts/type1/n019023l.pfb
|
||||
grace/fonts/type1/n019024l.afm
|
||||
grace/fonts/type1/n019024l.pfb
|
||||
grace/fonts/type1/n021003l.afm
|
||||
grace/fonts/type1/n021003l.pfb
|
||||
grace/fonts/type1/n021004l.afm
|
||||
grace/fonts/type1/n021004l.pfb
|
||||
grace/fonts/type1/n021023l.afm
|
||||
grace/fonts/type1/n021023l.pfb
|
||||
grace/fonts/type1/n021024l.afm
|
||||
grace/fonts/type1/n021024l.pfb
|
||||
grace/fonts/type1/n022003l.afm
|
||||
grace/fonts/type1/n022003l.pfb
|
||||
grace/fonts/type1/n022004l.afm
|
||||
grace/fonts/type1/n022004l.pfb
|
||||
grace/fonts/type1/n022023l.afm
|
||||
grace/fonts/type1/n022023l.pfb
|
||||
grace/fonts/type1/n022024l.afm
|
||||
grace/fonts/type1/n022024l.pfb
|
||||
grace/fonts/type1/s050000l.afm
|
||||
grace/fonts/type1/s050000l.pfb
|
||||
grace/gracerc
|
||||
grace/gracerc.user
|
||||
grace/include/grace_np.h
|
||||
grace/lib/libgrace_np.a
|
||||
grace/templates/Default.agr
|
||||
@dirrm grace/templates
|
||||
@dirrm grace/lib
|
||||
@dirrm grace/include
|
||||
@dirrm grace/fonts/type1
|
||||
@dirrm grace/fonts/enc
|
||||
@dirrm grace/fonts
|
||||
@dirrm grace/examples
|
||||
@dirrm grace/doc
|
||||
@dirrm grace/bin
|
||||
@dirrm grace/auxiliary
|
||||
@dirrm grace
|
6
math/grace/pkg/SECURITY
Normal file
6
math/grace/pkg/SECURITY
Normal file
@ -0,0 +1,6 @@
|
||||
$OpenBSD: SECURITY,v 1.1.1.1 2001/07/13 18:53:55 pvalchev Exp $
|
||||
|
||||
${WRKSRC}/src/plotone.c and editpwin.c
|
||||
call to tmpnam seems ok, uses wrapper script grace_openw() for writing
|
||||
|
||||
Program makes extensive use of strcat and friends.
|
Loading…
Reference in New Issue
Block a user