1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Import xmgr port. xmgr is an XY plotting tool with a point-and-click interface.

PR:		5989
Submitted by:	Lars Köller <Lars.Koeller@Uni-Bielefeld.DE>
This commit is contained in:
Thomas Gellekum 1998-04-09 08:51:42 +00:00
parent 231b0d80ef
commit 1ec26f18bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10454
11 changed files with 248 additions and 0 deletions

32
math/xmgr/Makefile Normal file
View File

@ -0,0 +1,32 @@
# New ports collection makefile for: xmgr-4.1.1
# Version required: 4.1.1
# Date created: Sun 18 Dec 1997
# Whom: Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE>
#
# $Id$
#
DISTNAME= xmgr-4.1.1
CATEGORIES= math print
MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src/ \
ftp://fire.mpi-stuttgart.mpg.de/pub/mirror/xmgr4/src/ \
ftp://wauug.erols.com/pub/X-Windows/xmgr4/src/
MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE
BUILD_DEPENDS= ${X11BASE}/lib/libhlpclient.a:${PORTSDIR}/x11/libhelp \
${LOCALBASE}/lib/libmfhdf.a:${PORTSDIR}/graphics/hdf
LIB_DEPENDS= Xbae\\.6\\.:${PORTSDIR}/x11/xbae
USE_X11= YES
REQUIRE_MOTIF= YES
HAS_CONFIGURE= YES
CONFIGURE_ARGS= -prefix=${X11BASE} \
--enable-extra-incpath=${X11BASE}/include/X11:${LOCALBASE}/include \
--enable-extra-ldpath=${LOCALBASE}/lib --enable-libhelp \
--enable-mfhdf --enable-acegr-home=${X11BASE}/lib/X11/xmgr
ALL_TARGET=
INSTALL_TARGET= install links
.include <bsd.port.mk>

1
math/xmgr/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (xmgr-4.1.1.tar.gz) = 8591870278cb44ff72417d3a93cbc3e5

27
math/xmgr/files/freebsd Normal file
View File

@ -0,0 +1,27 @@
#**********************************
#* FreeBSD with X11R6 and Motif 2.0 *
#**********************************
###############################
# Compiler
#
CC="gcc"
###############################
###############################
# C flags
#
CFLAGS="-Wall"
###############################
###############################
# Misc optimization flags
#
OPTIMIZE="-O2"
###############################
###############################
# Flags used for debugging
#
DEBUG="-g -O2"
###############################

Binary file not shown.

45
math/xmgr/files/patch-aa Normal file
View File

@ -0,0 +1,45 @@
*** ../xmgr-4.1.1/configure Mon Dec 1 02:09:24 1997
--- ./configure Sun Jan 18 17:31:25 1998
***************
*** 626,631 ****
--- 626,632 ----
case "${host}" in
i?86-*-linux-*) CONF_FILE="ix86-linux";;
+ i?86-*-freebsd*) CONF_FILE="freebsd";;
*-*-linux-*) CONF_FILE="linux";;
i?86-*-sco-*) CONF_FILE="ix86-sco";;
alpha-dec-osf4.*) CONF_FILE="alpha-osf4";;
***************
*** 4857,4863 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
! LIBS="-ldf $LIBS"
cat > conftest.$ac_ext <<EOF
#line 4863 "configure"
#include "confdefs.h"
--- 4857,4863 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
! LIBS="-lmfhdf -ldf -lz $LIBS"
cat > conftest.$ac_ext <<EOF
#line 4863 "configure"
#include "confdefs.h"
***************
*** 4881,4887 ****
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
! NETCDF_LIBS="$NETCDF_LIBS -ldf"; cat >> confdefs.h <<\EOF
#define HAVE_MFHDF 1
EOF
--- 4882,4888 ----
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
! NETCDF_LIBS="$NETCDF_LIBS -lmfhdf -ldf -lz"; cat >> confdefs.h <<\EOF
#define HAVE_MFHDF 1
EOF

18
math/xmgr/files/patch-ab Normal file
View File

@ -0,0 +1,18 @@
*** ../xmgr-4.1.1/examples/Makefile Sun Jan 18 19:09:32 1998
--- ./examples/Makefile Sun Jan 18 19:10:16 1998
***************
*** 32,38 ****
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)
links : dummy
--- 32,38 ----
install : $(EXAMPLES) $(DOTEST)
$(MKINSTALLDIRS) $(GR_HOME)/examples
for i in $(EXAMPLES); do $(INSTALL_DATA) $$i $(GR_HOME)/examples; done
! install -c -o bin -g bin -m 555 $(DOTEST) $(GR_HOME)/examples/$(DOTEST)
links : dummy

18
math/xmgr/files/patch-ac Normal file
View File

@ -0,0 +1,18 @@
*** ../xmgr-4.1.1/auxiliary/Makefile Sun Jan 18 19:12:42 1998
--- ./auxiliary/Makefile Sun Jan 18 19:13:16 1998
***************
*** 22,28 ****
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
tests : dummy
--- 22,28 ----
install : $(AUXILIARIES) fdf2fit
$(MKINSTALLDIRS) $(GR_HOME)/auxiliary
for i in $(AUXILIARIES); do $(INSTALL_DATA) $$i $(GR_HOME)/auxiliary; done
! install -c -o bin -g bin -m 555 fdf2fit $(GR_HOME)/auxiliary
tests : dummy

1
math/xmgr/pkg-comment Normal file
View File

@ -0,0 +1 @@
A powerful XY plotting tool for workstations or X-terminals using X

13
math/xmgr/pkg-descr Normal file
View File

@ -0,0 +1,13 @@
xmgr is an XY plotting tool for workstations or X-terminals 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).

90
math/xmgr/pkg-plist Normal file
View File

@ -0,0 +1,90 @@
lib/X11/xmgr/auxiliary/README
lib/X11/xmgr/auxiliary/fdf2fit
lib/X11/xmgr/auxiliary/greg2jul.c
lib/X11/xmgr/auxiliary/jul2greg.c
lib/X11/xmgr/auxiliary/magic.xmgr
lib/X11/xmgr/bin/xmgr
lib/X11/xmgr/bin/grbatch
lib/X11/xmgr/bin/grconvert
lib/X11/xmgr/doc/CHANGES.html
lib/X11/xmgr/doc/FAQ.html
lib/X11/xmgr/doc/acegr_np.html
lib/X11/xmgr/doc/commands.html
lib/X11/xmgr/doc/data.html
lib/X11/xmgr/doc/dblclick.html
lib/X11/xmgr/doc/dlmodule.html
lib/X11/xmgr/doc/edcrset.html
lib/X11/xmgr/doc/file.html
lib/X11/xmgr/doc/fonts.html
lib/X11/xmgr/doc/graphops.html
lib/X11/xmgr/doc/hotkeys.html
lib/X11/xmgr/doc/intro.html
lib/X11/xmgr/doc/main.html
lib/X11/xmgr/doc/nohelp.html
lib/X11/xmgr/doc/npipe.html
lib/X11/xmgr/doc/options.html
lib/X11/xmgr/doc/page.html
lib/X11/xmgr/doc/plot.html
lib/X11/xmgr/doc/points.html
lib/X11/xmgr/doc/regions.html
lib/X11/xmgr/doc/sets.html
lib/X11/xmgr/doc/test_np.c
lib/X11/xmgr/doc/testf_np.f
lib/X11/xmgr/doc/trans.html
lib/X11/xmgr/doc/usage.html
lib/X11/xmgr/doc/view.html
lib/X11/xmgr/doc/xmgr.html
lib/X11/xmgr/examples/altaxis.par
lib/X11/xmgr/examples/au.d
lib/X11/xmgr/examples/axes.par
lib/X11/xmgr/examples/bar.d
lib/X11/xmgr/examples/bar2.d
lib/X11/xmgr/examples/bars.d
lib/X11/xmgr/examples/brw.dat
lib/X11/xmgr/examples/co2.all
lib/X11/xmgr/examples/co2.par
lib/X11/xmgr/examples/dotest
lib/X11/xmgr/examples/explain.par
lib/X11/xmgr/examples/fills.dat
lib/X11/xmgr/examples/graphs.par
lib/X11/xmgr/examples/hilo.dat
lib/X11/xmgr/examples/log.d
lib/X11/xmgr/examples/logistic.d
lib/X11/xmgr/examples/logtest.par
lib/X11/xmgr/examples/manygraphs.d
lib/X11/xmgr/examples/mlo.dat
lib/X11/xmgr/examples/moresyms.dat
lib/X11/xmgr/examples/props.gr
lib/X11/xmgr/examples/regions.par
lib/X11/xmgr/examples/slideshow.d
lib/X11/xmgr/examples/stackedb.d
lib/X11/xmgr/examples/symslines.dat
lib/X11/xmgr/examples/tbar3.dat
lib/X11/xmgr/examples/terr.d
lib/X11/xmgr/examples/terr2.d
lib/X11/xmgr/examples/test.com
lib/X11/xmgr/examples/test.dat
lib/X11/xmgr/examples/test1.par
lib/X11/xmgr/examples/test2.d
lib/X11/xmgr/examples/tfonts.par
lib/X11/xmgr/examples/tforms.par
lib/X11/xmgr/examples/times.dat
lib/X11/xmgr/examples/tinset.d
lib/X11/xmgr/examples/tlog.demo
lib/X11/xmgr/examples/tmc.c
lib/X11/xmgr/examples/tpipe.d
lib/X11/xmgr/examples/tstack.dat
lib/X11/xmgr/examples/txyr.dat
lib/X11/xmgr/include/acegr_np.h
lib/X11/xmgr/lib/libacegr_np.a
bin/xmgr
bin/grbatch
bin/grconvert
bin/fdf2fit
@dirrm lib/X11/xmgr/auxiliary
@dirrm lib/X11/xmgr/bin
@dirrm lib/X11/xmgr/doc
@dirrm lib/X11/xmgr/examples
@dirrm lib/X11/xmgr/include
@dirrm lib/X11/xmgr/lib
@dirrm lib/X11/xmgr

3
math/xmgr/scripts/configure vendored Normal file
View File

@ -0,0 +1,3 @@
#! /bin/sh
cp ${FILESDIR}/freebsd ${WRKSRC}/conf/freebsd