summaryrefslogtreecommitdiff
path: root/math/xmgr
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1999-02-10 12:54:26 +0000
committerfrueauf <frueauf@pkgsrc.org>1999-02-10 12:54:26 +0000
commit76f72150299041b9255dbc5952107ae18dcdefa3 (patch)
tree1aa337ce3a1981f1614b714d06293629f40f96dc /math/xmgr
parent65ad3f060a4154f97e8a52dac4aa9c3ab009f2b5 (diff)
downloadpkgsrc-76f72150299041b9255dbc5952107ae18dcdefa3.tar.gz
Initial addition of xmgr-4.1.2, a powerful XY plotting tool for workstations
or X-terminals using X. Provided in pr 6752 by Rene Hexel, this version is from his rework after feedback, thanx!
Diffstat (limited to 'math/xmgr')
-rw-r--r--math/xmgr/Makefile34
-rw-r--r--math/xmgr/files/md53
-rw-r--r--math/xmgr/patches/patch-aa21
-rw-r--r--math/xmgr/patches/patch-ab12
-rw-r--r--math/xmgr/patches/patch-ac17
-rw-r--r--math/xmgr/patches/patch-ad17
-rw-r--r--math/xmgr/patches/patch-ae15
-rw-r--r--math/xmgr/patches/patch-af22
-rw-r--r--math/xmgr/pkg/COMMENT1
-rw-r--r--math/xmgr/pkg/DESCR13
-rw-r--r--math/xmgr/pkg/PLIST83
11 files changed, 238 insertions, 0 deletions
diff --git a/math/xmgr/Makefile b/math/xmgr/Makefile
new file mode 100644
index 00000000000..0484017923d
--- /dev/null
+++ b/math/xmgr/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/02/10 12:54:26 frueauf Exp $
+# FreeBSD Id: Makefile,v 1.13 1998/12/12 22:27:21 jseger Exp
+#
+
+DISTNAME= xmgr-4.1.2
+CATEGORIES= math
+MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src/ \
+ ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src/old/ \
+ ftp://fire.mpi-stuttgart.mpg.de/pub/mirrors/xmgr4/src/ \
+ ftp://fire.mpi-stuttgart.mpg.de/pub/mirrors/xmgr4/src/old/ \
+ ftp://wauug.erols.com/pub/X-Windows/xmgr4/src/ \
+ ftp://wauug.erols.com/pub/X-Windows/xmgr4/src/old/
+
+MAINTAINER= packages@NetBSD.org
+HOMEPAGE= http://plasma-gate.weizmann.ac.il/Xmgr/
+
+BUILD_DEPENDS= bison:../../devel/bison
+DEPENDS+= xpm-3.4k:../../graphics/xpm
+DEPENDS+= fort77-1.14a:../../lang/fort77
+DEPENDS+= netcdf-3.4:../../devel/netcdf
+
+USE_X11= YES
+USE_MOTIF= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --enable-acegr-home=${PREFIX} \
+ --enable-extra-incpath=${X11BASE}/include/X11:${LOCALBASE}/include \
+ --enable-extra-ldpath=${LOCALBASE}/lib
+CONFIGURE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+CONFIGURE_ENV+= INSTALL_DATA="${INSTALL_DATA}"
+
+ALL_TARGET=
+INSTALL_TARGET= install
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/xmgr/files/md5 b/math/xmgr/files/md5
new file mode 100644
index 00000000000..39c1b40f931
--- /dev/null
+++ b/math/xmgr/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/02/10 12:54:27 frueauf Exp $
+
+MD5 (xmgr-4.1.2.tar.gz) = 2c6240bbd0c287cf8419aea48d73a2a3
diff --git a/math/xmgr/patches/patch-aa b/math/xmgr/patches/patch-aa
new file mode 100644
index 00000000000..3d6ff668e64
--- /dev/null
+++ b/math/xmgr/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/02/10 12:54:27 frueauf Exp $
+
+--- configure.orig Wed May 13 17:39:40 1998
++++ configure Wed Jan 6 18:21:26 1999
+@@ -1143,6 +1143,8 @@
+
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL} -m 555'
++
+ case "$INSTALL" in
+ /*) ;;
+ *) INSTALL=`pwd`/"$INSTALL" ;
+@@ -5395,6 +5397,7 @@
+ s%@CC@%$CC%g
+ s%@CPP@%$CPP%g
+ s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
++s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
+ s%@INSTALL_DATA@%$INSTALL_DATA%g
+ s%@RANLIB@%$RANLIB%g
+ s%@LN_S@%$LN_S%g
diff --git a/math/xmgr/patches/patch-ab b/math/xmgr/patches/patch-ab
new file mode 100644
index 00000000000..62a56feaeec
--- /dev/null
+++ b/math/xmgr/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/02/10 12:54:27 frueauf Exp $
+
+--- conf/Make.conf.in.orig Tue May 12 13:48:45 1998
++++ conf/Make.conf.in Wed Jan 6 17:54:31 1999
+@@ -58,6 +58,7 @@
+ # BSD install
+ INSTALL=@INSTALL@
+ INSTALL_PROGRAM=@INSTALL_PROGRAM@
++INSTALL_SCRIPT=@INSTALL_SCRIPT@
+ INSTALL_DATA=@INSTALL_DATA@
+ MKINSTALLDIRS=@MKINSTALLDIRS@
+
diff --git a/math/xmgr/patches/patch-ac b/math/xmgr/patches/patch-ac
new file mode 100644
index 00000000000..04bb992874e
--- /dev/null
+++ b/math/xmgr/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/02/10 12:54:27 frueauf Exp $
+
+--- examples/Makefile.orig Fri Nov 28 01:00:16 1997
++++ examples/Makefile Tue Feb 9 15:23:34 1999
+@@ -30,9 +30,9 @@
+ devclean : dummy
+
+ install : $(EXAMPLES) $(DOTEST)
+- $(MKINSTALLDIRS) $(GR_HOME)/examples
+- for i in $(EXAMPLES); do $(INSTALL_DATA) $$i $(GR_HOME)/examples; done
+- $(INSTALL_PROGRAM) $(DOTEST) $(GR_HOME)/examples/$(DOTEST)
++ ${MKINSTALLDIRS} ${PREFIX}/share/examples/${ACEGR}
++ for i in $(EXAMPLES); do $(INSTALL_DATA) $$i ${PREFIX}/share/examples/${ACEGR}; done
++ ${INSTALL_SCRIPT} ${DOTEST} ${PREFIX}/share/examples/${ACEGR}/${DOTEST}
+
+ links : dummy
+
diff --git a/math/xmgr/patches/patch-ad b/math/xmgr/patches/patch-ad
new file mode 100644
index 00000000000..e1a2aabc98b
--- /dev/null
+++ b/math/xmgr/patches/patch-ad
@@ -0,0 +1,17 @@
+$NetBSD: patch-ad,v 1.1.1.1 1999/02/10 12:54:27 frueauf Exp $
+
+--- auxiliary/Makefile.orig Fri Nov 28 01:00:55 1997
++++ auxiliary/Makefile Tue Feb 9 15:43:21 1999
+@@ -20,9 +20,9 @@
+ devclean : dummy
+
+ install : $(AUXILIARIES) fdf2fit
+- $(MKINSTALLDIRS) $(GR_HOME)/auxiliary
+- for i in $(AUXILIARIES); do $(INSTALL_DATA) $$i $(GR_HOME)/auxiliary; done
+- $(INSTALL_PROGRAM) fdf2fit $(GR_HOME)/auxiliary
++ ${MKINSTALLDIRS} ${PREFIX}/share/${ACEGR}
++ for i in ${AUXILIARIES}; do ${INSTALL_DATA} $$i ${PREFIX}/share/${ACEGR}; done
++ ${INSTALL_SCRIPT} fdf2fit ${PREFIX}/bin
+
+ tests : dummy
+
diff --git a/math/xmgr/patches/patch-ae b/math/xmgr/patches/patch-ae
new file mode 100644
index 00000000000..75c4783327b
--- /dev/null
+++ b/math/xmgr/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1.1.1 1999/02/10 12:54:27 frueauf Exp $
+
+--- doc/Makefile.orig Mon Dec 1 01:33:13 1997
++++ doc/Makefile Tue Feb 9 15:21:16 1999
+@@ -25,8 +25,8 @@
+ devclean : dummy
+
+ install : $(DOCS)
+- $(MKINSTALLDIRS) $(GR_HOME)/doc
+- for i in $(DOCS); do $(INSTALL_DATA) $$i $(GR_HOME)/doc; done
++ $(MKINSTALLDIRS) ${PREFIX}/share/doc/${ACEGR}
++ for i in $(DOCS); do $(INSTALL_DATA) $$i ${PREFIX}/share/doc/${ACEGR}; done
+
+ links : dummy
+
diff --git a/math/xmgr/patches/patch-af b/math/xmgr/patches/patch-af
new file mode 100644
index 00000000000..397d0d3d71a
--- /dev/null
+++ b/math/xmgr/patches/patch-af
@@ -0,0 +1,22 @@
+$NetBSD: patch-af,v 1.1.1.1 1999/02/10 12:54:27 frueauf Exp $
+
+--- src/helpwin.c.orig Tue Nov 18 15:32:04 1997
++++ src/helpwin.c Tue Feb 9 15:34:13 1999
+@@ -44,7 +44,7 @@
+ errmsg(buf);
+ } else {
+ /* xmhelp doesn't like "file://localhost/" prefix */
+- sprintf(URL, "file:%s/doc/%s", xmgrdir, ha);
++ sprintf(URL, "file:%s/share/doc/xmgr/%s", xmgrdir, ha);
+ get_help(w, (XtPointer) URL, ha);
+ }
+ #else /* usual HTML browser */
+@@ -52,7 +52,7 @@
+ if (strstr(ha, "http:")) {
+ strcpy(URL, ha);
+ } else {
+- sprintf(URL, "file://localhost%s/doc/%s", xmgrdir, ha);
++ sprintf(URL, "file://localhost%s/share/doc/xmgr/%s", xmgrdir, ha);
+ }
+
+ len = strlen(help_viewer);
diff --git a/math/xmgr/pkg/COMMENT b/math/xmgr/pkg/COMMENT
new file mode 100644
index 00000000000..9fcefd63017
--- /dev/null
+++ b/math/xmgr/pkg/COMMENT
@@ -0,0 +1 @@
+a powerful XY plotting tool for workstations or X-terminals using X.
diff --git a/math/xmgr/pkg/DESCR b/math/xmgr/pkg/DESCR
new file mode 100644
index 00000000000..3ea16d29285
--- /dev/null
+++ b/math/xmgr/pkg/DESCR
@@ -0,0 +1,13 @@
+xmgr is an XY plotting tool for scientific data using X. A few of
+its features are:
+
+ * User defined scaling, tick marks, labels, symbols, line styles, colors.
+ * Batch mode for unattended plotting.
+ * Read and write parameters used during a session.
+ * Polynomial regression, splines, running averages, DFT/FFT,
+ cross/auto-correlation.
+ * Hardcopy support for PostScript, HP-GL, and FrameMaker .mif format.
+
+While xmgr has a convenient point-and-click interface, most parameter settings
+and operations are available through a command line interface (found in
+Data/Commands).
diff --git a/math/xmgr/pkg/PLIST b/math/xmgr/pkg/PLIST
new file mode 100644
index 00000000000..02fbd729ef1
--- /dev/null
+++ b/math/xmgr/pkg/PLIST
@@ -0,0 +1,83 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/02/10 12:54:27 frueauf Exp $
+bin/fdf2fit
+bin/grbatch
+bin/grconvert
+bin/xmgr
+include/acegr_np.h
+lib/libacegr_np.a
+share/xmgr/README
+share/xmgr/greg2jul.c
+share/xmgr/jul2greg.c
+share/xmgr/magic.xmgr
+share/doc/xmgr/CHANGES.html
+share/doc/xmgr/FAQ.html
+share/doc/xmgr/acegr_np.html
+share/doc/xmgr/commands.html
+share/doc/xmgr/data.html
+share/doc/xmgr/dblclick.html
+share/doc/xmgr/dlmodule.html
+share/doc/xmgr/edcrset.html
+share/doc/xmgr/file.html
+share/doc/xmgr/fonts.html
+share/doc/xmgr/graphops.html
+share/doc/xmgr/hotkeys.html
+share/doc/xmgr/intro.html
+share/doc/xmgr/main.html
+share/doc/xmgr/nohelp.html
+share/doc/xmgr/npipe.html
+share/doc/xmgr/options.html
+share/doc/xmgr/page.html
+share/doc/xmgr/plot.html
+share/doc/xmgr/points.html
+share/doc/xmgr/regions.html
+share/doc/xmgr/sets.html
+share/doc/xmgr/test_np.c
+share/doc/xmgr/testf_np.f
+share/doc/xmgr/trans.html
+share/doc/xmgr/usage.html
+share/doc/xmgr/view.html
+share/doc/xmgr/xmgr.html
+share/examples/xmgr/altaxis.par
+share/examples/xmgr/au.d
+share/examples/xmgr/axes.par
+share/examples/xmgr/bar.d
+share/examples/xmgr/bar2.d
+share/examples/xmgr/bars.d
+share/examples/xmgr/brw.dat
+share/examples/xmgr/co2.all
+share/examples/xmgr/co2.par
+share/examples/xmgr/dotest
+share/examples/xmgr/explain.par
+share/examples/xmgr/fills.dat
+share/examples/xmgr/graphs.par
+share/examples/xmgr/hilo.dat
+share/examples/xmgr/log.d
+share/examples/xmgr/logistic.d
+share/examples/xmgr/logtest.par
+share/examples/xmgr/manygraphs.d
+share/examples/xmgr/mlo.dat
+share/examples/xmgr/moresyms.dat
+share/examples/xmgr/props.gr
+share/examples/xmgr/regions.par
+share/examples/xmgr/slideshow.d
+share/examples/xmgr/stackedb.d
+share/examples/xmgr/symslines.dat
+share/examples/xmgr/tbar3.dat
+share/examples/xmgr/terr.d
+share/examples/xmgr/terr2.d
+share/examples/xmgr/test.com
+share/examples/xmgr/test.dat
+share/examples/xmgr/test1.par
+share/examples/xmgr/test2.d
+share/examples/xmgr/tfonts.par
+share/examples/xmgr/tforms.par
+share/examples/xmgr/times.dat
+share/examples/xmgr/tinset.d
+share/examples/xmgr/tlog.demo
+share/examples/xmgr/tmc.c
+share/examples/xmgr/tpipe.d
+share/examples/xmgr/tstack.dat
+share/examples/xmgr/txyr.dat
+@dirrm share/examples/xmgr
+@dirrm share/doc/xmgr
+@dirrm share/xmgr