diff options
author | sakamoto <sakamoto> | 1999-11-25 08:17:15 +0000 |
---|---|---|
committer | sakamoto <sakamoto> | 1999-11-25 08:17:15 +0000 |
commit | 95195c8e93d6110cb8876c8f7fb681e7d03d09b7 (patch) | |
tree | e74e0eef80be478c71ef5ee0dac16c7ddbe3c511 /graphics | |
parent | 6b83bd958b247c1f07432ed7e34be688e6eacfce (diff) | |
download | pkgsrc-95195c8e93d6110cb8876c8f7fb681e7d03d09b7.tar.gz |
Initial import of Ngraph-6.3.06 pkg by Osamu OISHI <oishi@ims.ac.jp>.
the 2D graph and data analysis program
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Ngraph/Makefile | 31 | ||||
-rw-r--r-- | graphics/Ngraph/files/md5 | 5 | ||||
-rw-r--r-- | graphics/Ngraph/files/patch-sum | 4 | ||||
-rw-r--r-- | graphics/Ngraph/patches/patch-aa | 70 | ||||
-rw-r--r-- | graphics/Ngraph/patches/patch-ab | 21 | ||||
-rw-r--r-- | graphics/Ngraph/pkg/COMMENT | 1 | ||||
-rw-r--r-- | graphics/Ngraph/pkg/DESCR | 7 | ||||
-rw-r--r-- | graphics/Ngraph/pkg/PLIST | 161 |
8 files changed, 300 insertions, 0 deletions
diff --git a/graphics/Ngraph/Makefile b/graphics/Ngraph/Makefile new file mode 100644 index 00000000000..a967b466a04 --- /dev/null +++ b/graphics/Ngraph/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/11/25 08:17:15 sakamoto Exp $ +# + +DISTNAME= Ngraph-6.3.06-src +PKGNAME= Ngraph-6.3.06 +CATEGORIES= graphics +MASTER_SITES= http://www2e.biglobe.ne.jp/~isizaka/bin/ \ + ftp://ftp.cs.umb.edu/pub/interleaf/CDE/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} Ngraph-6.3-doc.tar.gz \ + ileaf-widgets.tar.Z + +MAINTAINER= oishi@ims.ac.jp +HOMEPAGE= http://www2e.biglobe.ne.jp/~isizaka/ + +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +USE_GMAKE= yes +USE_MOTIF= yes +MAKE_ENV+= MOTIF_DEFS="${MOTIF_DEFS}" GMAKE="${GMAKE}" + +post-extract: + ${GTAR} -C ${WRKSRC}/combo -xzf ${DISTDIR}/ileaf-widgets.tar.Z + +post-install: + ${GTAR} -C ${PREFIX}/libexec/Ngraph -xzf ${DISTDIR}/Ngraph-6.3-doc.tar.gz + +.include "../../mk/bsd.pkg.mk" + +.if !defined(IS_LESSTIF) || (${IS_LESSTIF} != "0") +MOTIF_DEFS= -DMOTIF12 +.endif diff --git a/graphics/Ngraph/files/md5 b/graphics/Ngraph/files/md5 new file mode 100644 index 00000000000..30068145ac1 --- /dev/null +++ b/graphics/Ngraph/files/md5 @@ -0,0 +1,5 @@ +$NetBSD: md5,v 1.1.1.1 1999/11/25 08:17:15 sakamoto Exp $ + +MD5 (Ngraph-6.3.06-src.tar.gz) = 6b51d983963f97d0563525cc1e6e07a5 +MD5 (Ngraph-6.3-doc.tar.gz) = ae4ec053ca69abe8fa65f7bf26256be1 +MD5 (ileaf-widgets.tar.Z) = c1519b8cd3718de5cfa266f34cd8674e diff --git a/graphics/Ngraph/files/patch-sum b/graphics/Ngraph/files/patch-sum new file mode 100644 index 00000000000..ebbe3fa524a --- /dev/null +++ b/graphics/Ngraph/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 1999/11/25 08:17:15 sakamoto Exp $ + +MD5 (patch-aa) = 2f91f5561ad1627cfaa54725dcc2d5a8 +MD5 (patch-ab) = 1bce90a7b8b784dac8dda285f0e7d9fb diff --git a/graphics/Ngraph/patches/patch-aa b/graphics/Ngraph/patches/patch-aa new file mode 100644 index 00000000000..8e54a15ac37 --- /dev/null +++ b/graphics/Ngraph/patches/patch-aa @@ -0,0 +1,70 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/11/25 08:17:15 sakamoto Exp $ + +--- Makefile.orig Sat Oct 16 19:00:08 1999 ++++ Makefile Thu Nov 25 11:02:25 1999 +@@ -2,25 +2,42 @@ + MAINVERSION = '"6.03"' + GUIVERSION = '".06"' +-LIBDIR = '"/usr/local/lib/Ngraph"' +-INSTALLDIR = /usr/local/lib/Ngraph +-BINDIR = /usr/local/bin ++LIBDIR = '"${PREFIX}/libexec/Ngraph"' ++INSTALLDIR = ${PREFIX}/libexec/Ngraph ++BINDIR = ${PREFIX}/bin + # + # + ############################################################################### + # +-# Linux + Motif 2.1 (RedHat) [static link] ++# NetBSD + lesstif [static link] + # + CC = gcc +-CCOPTION = -O2 -m486 +-MAKE = make ++CCOPTION = -O2 ++MAKE = ${GMAKE} + AR = ar + RANLIB = ranlib + STRIP = strip +-DEFS = -DJAPANESE +-PLATFORM = '"for X11 [Linux(glibc2)+Motif2.1]"' ++DEFS = ${MOTIF_DEFS} ++PLATFORM = '"for X11 [NetBSD + LessTif]"' ++X11INCLUDE = -I${X11BASE}/include -I../combo ++STATICLINK = ./combo/ComboBox.o ${X11BASE}/lib/libXm.a ++X11LIB = ${LDFLAGS} -lm -lXext -lXt -lXp -lX11 -lICE -lSM ++# ++# ++############################################################################### ++# ++# Linux + Motif 2.1 (RedHat) [static link] ++# ++#CC = gcc ++#CCOPTION = -O2 -m486 ++#MAKE = make ++#AR = ar ++#RANLIB = ranlib ++#STRIP = strip ++#DEFS = -DJAPANESE ++#PLATFORM = '"for X11 [Linux(glibc2)+Motif2.1]"' + #PLATFORM = '"for X11 [Linux(libc5)+Motif2.1]"' +-X11INCLUDE = -I/usr/X11R6/include +-STATICLINK = /usr/X11R6/lib/libXm.a +-X11LIB = -L/usr/X11R6/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM ++#X11INCLUDE = -I/usr/X11R6/include ++#STATICLINK = /usr/X11R6/lib/libXm.a ++#X11LIB = -L/usr/X11R6/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM + # + # +@@ -155,4 +172,5 @@ + + all: ++ (cd combo; $(CC) -c $(X11INCLUDE) ComboBox.c) + (cd src; $(MAKE) kern.a) + (cd x11; $(MAKE) main.o) +@@ -197,4 +215,5 @@ + - (cd x11drive; $(MAKE) clean) + - (cd x11addin; $(MAKE) clean) ++ - (cd combo; rm ComboBox.o) + + cleanbackup: diff --git a/graphics/Ngraph/patches/patch-ab b/graphics/Ngraph/patches/patch-ab new file mode 100644 index 00000000000..b9563b84713 --- /dev/null +++ b/graphics/Ngraph/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/11/25 08:17:15 sakamoto Exp $ + +--- Ngraph.ini.orig Tue Nov 16 17:23:02 1999 ++++ Ngraph.ini Tue Nov 16 17:27:29 1999 +@@ -23,11 +23,11 @@ + script=TEXT-IN: insert legend-text,text-in.nsc, + script=CALC: making a data file,calc.nsc, + script=FFT: Fast Fourier Transform,fft.nsc, +-ext_driver=PostScript(EPSF),gra2ps,-e -c +-ext_driver=PostScript,gra2ps,-c +-prn_driver=PostScript (mono),gra2ps, | lpr, +-prn_driver=PostScript (color),gra2ps, | lpr,-c +-prn_driver=GhostScript,gra2ps, | gs -,-c ++ext_driver=PostScript(EPSF),gra2ps,-e -c -i INSTALLDIR/Ngraph.ps ++ext_driver=PostScript,gra2ps,-c -i INSTALLDIR/Ngraph.ps ++prn_driver=PostScript (mono),gra2ps, | lpr, -i INSTALLDIR/Ngraph.ps ++prn_driver=PostScript (color),gra2ps, | lpr,-c -i INSTALLDIR/Ngraph.ps ++prn_driver=GhostScript,gra2ps, | gs -q -sDEVICE=x11 -sOutputFile=- -dNOPAUSE - ,-c -i INSTALLDIR/Ngraph.ps + font_map=Times,0,-adobe-times-medium-r-normal--*-*-75-75-p-*-iso8859-1 + font_map=TimesBold,0,-adobe-times-bold-r-normal--*-*-75-75-p-*-iso8859-1 + font_map=TimesItalic,0,-adobe-times-medium-i-normal--*-*-75-75-p-*-iso8859-1 diff --git a/graphics/Ngraph/pkg/COMMENT b/graphics/Ngraph/pkg/COMMENT new file mode 100644 index 00000000000..8a7a5580ff1 --- /dev/null +++ b/graphics/Ngraph/pkg/COMMENT @@ -0,0 +1 @@ +the 2D graph and data analysis program diff --git a/graphics/Ngraph/pkg/DESCR b/graphics/Ngraph/pkg/DESCR new file mode 100644 index 00000000000..c1499b132f5 --- /dev/null +++ b/graphics/Ngraph/pkg/DESCR @@ -0,0 +1,7 @@ +Ngraph is a software drawing scientific graphs for students, researchers, +and engineers. Ngraph makes a graph from data files written in a general +ASCII format. Fitting by a n-th polynomial, user-defined functionals is +available. Furthermore, masking invalid data, evaluation of plotted data +points, a transformation by a mathematical expression are also available. +Ngraph will assist making a scientific graph for the purpose of your +presentation, and also analysing data. diff --git a/graphics/Ngraph/pkg/PLIST b/graphics/Ngraph/pkg/PLIST new file mode 100644 index 00000000000..b4b9b336e6a --- /dev/null +++ b/graphics/Ngraph/pkg/PLIST @@ -0,0 +1,161 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/11/25 08:17:15 sakamoto Exp $ +bin/ngraph +libexec/Ngraph/.Ngraph +libexec/Ngraph/.Ngraph.ngp +libexec/Ngraph/.fit.ngp +libexec/Ngraph/INSTALL.jis +libexec/Ngraph/Ngraph +libexec/Ngraph/Ngraph.ini +libexec/Ngraph/Ngraph.ps +libexec/Ngraph/Ngraph.xpm +libexec/Ngraph/append.nsc +libexec/Ngraph/calc.nsc +libexec/Ngraph/calc.tcl +libexec/Ngraph/demo/demo.ngp +libexec/Ngraph/demo/demo1.dat +libexec/Ngraph/demo/demo1.ngp +libexec/Ngraph/demo/demo2.dat +libexec/Ngraph/demo/demo2.ngp +libexec/Ngraph/demo/demo3.dat +libexec/Ngraph/demo/demo3.ngp +libexec/Ngraph/demo/demo4.dat +libexec/Ngraph/demo/demo4.ngp +libexec/Ngraph/demo/demo5a.ngp +libexec/Ngraph/demo/demo5b.ngp +libexec/Ngraph/demo/demo5c.ngp +libexec/Ngraph/demo/demo5d.ngp +libexec/Ngraph/demo/demo5e.ngp +libexec/Ngraph/doc/Ngraph.html +libexec/Ngraph/doc/addin.htm +libexec/Ngraph/doc/copyrigh.htm +libexec/Ngraph/doc/data.htm +libexec/Ngraph/doc/dialogs/axis.jpg +libexec/Ngraph/doc/dialogs/axisbase.jpg +libexec/Ngraph/doc/dialogs/axisfont.jpg +libexec/Ngraph/doc/dialogs/axisgage.jpg +libexec/Ngraph/doc/dialogs/axisnum.jpg +libexec/Ngraph/doc/dialogs/axispos.jpg +libexec/Ngraph/doc/dialogs/data.jpg +libexec/Ngraph/doc/dialogs/datafit.jpg +libexec/Ngraph/doc/dialogs/dataload.jpg +libexec/Ngraph/doc/dialogs/datamask.jpg +libexec/Ngraph/doc/dialogs/datamath.jpg +libexec/Ngraph/doc/dialogs/datamove.jpg +libexec/Ngraph/doc/dialogs/grid.jpg +libexec/Ngraph/doc/dialogs/lgndarc.jpg +libexec/Ngraph/doc/dialogs/lgndcurv.jpg +libexec/Ngraph/doc/dialogs/lgndgaus.jpg +libexec/Ngraph/doc/dialogs/lgndline.jpg +libexec/Ngraph/doc/dialogs/lgndmark.jpg +libexec/Ngraph/doc/dialogs/lgndpoly.jpg +libexec/Ngraph/doc/dialogs/lgndrect.jpg +libexec/Ngraph/doc/dialogs/lgndtext.jpg +libexec/Ngraph/doc/dialogs/loadngp.jpg +libexec/Ngraph/doc/dialogs/loadprm.jpg +libexec/Ngraph/doc/dialogs/merge.jpg +libexec/Ngraph/doc/dialogs/pageord.jpg +libexec/Ngraph/doc/dialogs/prefmisc.jpg +libexec/Ngraph/doc/dialogs/save.jpg +libexec/Ngraph/doc/gra.htm +libexec/Ngraph/doc/graph.htm +libexec/Ngraph/doc/img/axisref.gif +libexec/Ngraph/doc/img/barc.gif +libexec/Ngraph/doc/img/baxispo.gif +libexec/Ngraph/doc/img/bclear.gif +libexec/Ngraph/doc/img/bcross.gif +libexec/Ngraph/doc/img/bcurve.gif +libexec/Ngraph/doc/img/bdataopn.gif +libexec/Ngraph/doc/img/bdatapo.gif +libexec/Ngraph/doc/img/bdraw.gif +libexec/Ngraph/doc/img/beval.gif +libexec/Ngraph/doc/img/bframe.gif +libexec/Ngraph/doc/img/bgauss.gif +libexec/Ngraph/doc/img/blgndpo.gif +libexec/Ngraph/doc/img/bline.gif +libexec/Ngraph/doc/img/bload.gif +libexec/Ngraph/doc/img/bmark.gif +libexec/Ngraph/doc/img/bmath.gif +libexec/Ngraph/doc/img/bpoint.gif +libexec/Ngraph/doc/img/bpolygon.gif +libexec/Ngraph/doc/img/bpreview.gif +libexec/Ngraph/doc/img/bprint.gif +libexec/Ngraph/doc/img/brect.gif +libexec/Ngraph/doc/img/bsave.gif +libexec/Ngraph/doc/img/bscale.gif +libexec/Ngraph/doc/img/bscundo.gif +libexec/Ngraph/doc/img/bsection.gif +libexec/Ngraph/doc/img/bsingle.gif +libexec/Ngraph/doc/img/bstop.gif +libexec/Ngraph/doc/img/btext.gif +libexec/Ngraph/doc/img/btrim.gif +libexec/Ngraph/doc/img/bzoom.gif +libexec/Ngraph/doc/img/iconl.gif +libexec/Ngraph/doc/img/winaxis.gif +libexec/Ngraph/doc/img/wincoord.gif +libexec/Ngraph/doc/img/windata.gif +libexec/Ngraph/doc/img/wininfo.gif +libexec/Ngraph/doc/img/winlgnd.gif +libexec/Ngraph/doc/img/winmerge.gif +libexec/Ngraph/doc/intro.htm +libexec/Ngraph/doc/math.htm +libexec/Ngraph/doc/ngraph.htm +libexec/Ngraph/doc/object.htm +libexec/Ngraph/doc/operate.htm +libexec/Ngraph/doc/refer.htm +libexec/Ngraph/doc/script.htm +libexec/Ngraph/doc/text.htm +libexec/Ngraph/doc/tutorial.htm +libexec/Ngraph/doc/tutorial/aclear.jpg +libexec/Ngraph/doc/tutorial/addgraph.jpg +libexec/Ngraph/doc/tutorial/adialog.jpg +libexec/Ngraph/doc/tutorial/alegend.jpg +libexec/Ngraph/doc/tutorial/awindow.jpg +libexec/Ngraph/doc/tutorial/axispo.jpg +libexec/Ngraph/doc/tutorial/axisref.jpg +libexec/Ngraph/doc/tutorial/datapo.jpg +libexec/Ngraph/doc/tutorial/draw.jpg +libexec/Ngraph/doc/tutorial/eval.jpg +libexec/Ngraph/doc/tutorial/evaldlg.jpg +libexec/Ngraph/doc/tutorial/fdialog.jpg +libexec/Ngraph/doc/tutorial/fdialog2.jpg +libexec/Ngraph/doc/tutorial/fdialog3.jpg +libexec/Ngraph/doc/tutorial/fdup.jpg +libexec/Ngraph/doc/tutorial/filedlg.jpg +libexec/Ngraph/doc/tutorial/fitdlg.jpg +libexec/Ngraph/doc/tutorial/focus.jpg +libexec/Ngraph/doc/tutorial/fopen.jpg +libexec/Ngraph/doc/tutorial/fwindow.jpg +libexec/Ngraph/doc/tutorial/fwindow2.jpg +libexec/Ngraph/doc/tutorial/graphc.jpg +libexec/Ngraph/doc/tutorial/graphf.jpg +libexec/Ngraph/doc/tutorial/graphs.jpg +libexec/Ngraph/doc/tutorial/infowin.jpg +libexec/Ngraph/doc/tutorial/lapoint.jpg +libexec/Ngraph/doc/tutorial/legend.jpg +libexec/Ngraph/doc/tutorial/lwindow.jpg +libexec/Ngraph/doc/tutorial/math.jpg +libexec/Ngraph/doc/tutorial/pointer.jpg +libexec/Ngraph/doc/tutorial/scundo.jpg +libexec/Ngraph/doc/tutorial/trimming.jpg +libexec/Ngraph/doc/tutorial/window.jpg +libexec/Ngraph/fft +libexec/Ngraph/fft.nsc +libexec/Ngraph/fft.tcl +libexec/Ngraph/fitrslt.nsc +libexec/Ngraph/fitrslt.tcl +libexec/Ngraph/gra2ps +libexec/Ngraph/ja/Ngraph +libexec/Ngraph/legend.nsc +libexec/Ngraph/legend.tcl +libexec/Ngraph/math.nsc +libexec/Ngraph/ngraph +libexec/Ngraph/ngraph.sh +libexec/Ngraph/terminal +libexec/Ngraph/text-in.nsc +@dirrm libexec/Ngraph/ja +@dirrm libexec/Ngraph/doc/tutorial +@dirrm libexec/Ngraph/doc/img +@dirrm libexec/Ngraph/doc/dialogs +@dirrm libexec/Ngraph/doc +@dirrm libexec/Ngraph/demo +@dirrm libexec/Ngraph |