summaryrefslogtreecommitdiff
path: root/math/plplot
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-10-06 08:18:49 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-10-06 08:18:49 +0000
commit59effd03fb3834cd97d7930f551c07e0ec408755 (patch)
tree3100c50ad9887c67ab29c52eea1c13e1f496eb03 /math/plplot
parentUpdate to include some more official patches from the exmh web site. (diff)
Import plplot port. plplot is a scientific plotting library.
Notes
Notes: svn path=/head/; revision=8139
Diffstat (limited to 'math/plplot')
-rw-r--r--math/plplot/Makefile23
-rw-r--r--math/plplot/distinfo1
-rw-r--r--math/plplot/files/patch-aa54
-rw-r--r--math/plplot/files/patch-ab22
-rw-r--r--math/plplot/pkg-comment1
-rw-r--r--math/plplot/pkg-descr13
-rw-r--r--math/plplot/pkg-plist138
7 files changed, 252 insertions, 0 deletions
diff --git a/math/plplot/Makefile b/math/plplot/Makefile
new file mode 100644
index 000000000000..654b51ca0c8b
--- /dev/null
+++ b/math/plplot/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: plplot
+# Version required: 4p99j
+# Date created: 03 Oct 1997
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= plplot4p99j
+PKGNAME= plplot-4.99j
+CATEGORIES= math
+MASTER_SITES= ftp://dino.ph.utexas.edu/plplot/distrib/alpha/
+
+MAINTAINER= tg@FreeBSD.ORG
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-gcc=yes --with-double=yes
+
+post-patch:
+ @perl -pi.bak -e "s|/usr/local/plplot/lib|${PREFIX}/lib/plplot|g;" \
+ ${WRKSRC}/src/plctrl.c
+
+.include <bsd.port.mk>
diff --git a/math/plplot/distinfo b/math/plplot/distinfo
new file mode 100644
index 000000000000..c1b325b55d20
--- /dev/null
+++ b/math/plplot/distinfo
@@ -0,0 +1 @@
+MD5 (plplot4p99j.tar.gz) = e0914f2aa5216b1eeef559a73e9f2af5
diff --git a/math/plplot/files/patch-aa b/math/plplot/files/patch-aa
new file mode 100644
index 000000000000..95be93460cde
--- /dev/null
+++ b/math/plplot/files/patch-aa
@@ -0,0 +1,54 @@
+--- configure.orig Tue Jun 6 21:58:50 1995
++++ configure Fri Oct 3 14:59:52 1997
+@@ -1472,13 +1472,13 @@
+ # ----------------------------------------------------------------------------
+
+ CC_FLAGS=\
+-"-c $DBL_FLAG_C $DEBUG_FLAG_C $SYS_FLAGS_C $PROF_FLAG_C $OPT_FLAG_C"
++"-c $CFLAGS $DBL_FLAG_C $DEBUG_FLAG_C $SYS_FLAGS_C $PROF_FLAG_C $OPT_FLAG_C"
+
+ CXX_FLAGS=\
+-"-c $DBL_FLAG_CXX $DEBUG_FLAG_CXX $SYS_FLAGS_CXX $PROF_FLAG_CXX $OPT_FLAG_CXX"
++"-c $CFLAGS $DBL_FLAG_CXX $DEBUG_FLAG_CXX $SYS_FLAGS_CXX $PROF_FLAG_CXX $OPT_FLAG_CXX"
+
+ F77_FLAGS=\
+-"-c $DBL_FLAG_F $DEBUG_FLAG_F $SYS_FLAGS_F $PROF_FLAG_F $OPT_FLAG_F"
++"-c $FFLAGS $DBL_FLAG_F $DEBUG_FLAG_F $SYS_FLAGS_F $PROF_FLAG_F $OPT_FLAG_F"
+
+ LDC_FLAGS=\
+ "$PROF_FLAG_LC $SYS_FLAGS_LC $DEBUG_FLAG_LC"
+@@ -3062,6 +3062,14 @@
+ # Hmm, would be good to replace that trailing .0 with the
+ # compilation number or some such. Have to think about that.
+ ;;
++ FreeBSD*|NetBSD*|OpenBSD* )
++ SO='.so.$(MAJOR_VERSION).$(MINOR_VERSION)'
++ SHLIB_CCFLAGS="-fpic -DPIC"
++ SHLIB_CXXFLAGS="-fpic -DPIC"
++ SHLIB_BUILD="ld -Bshareable -o"
++ SOVERSION='$(MAJOR_VERSION).$(MINOR_VERSION)'
++ echo "$ac_t""okay" 1>&6
++ ;;
+ HP-UX-* )
+ SO=".sl"
+ SHLIB_F77FLAGS="+z"
+@@ -4192,16 +4200,16 @@
+ fi
+ fi
+ if test -z "$DOC_DIR"; then
+- DOC_DIR=$prefix/doc
++ DOC_DIR=$prefix/share/doc/plplot
+ fi
+ if test -z "$INFO_DIR"; then
+ INFO_DIR=$prefix/info
+ fi
+ if test -z "$INCLUDE_DIR"; then
+- INCLUDE_DIR=$prefix/include
++ INCLUDE_DIR=$prefix/include/plplot
+ fi
+ if test -z "$DEMOS_DIR"; then
+- DEMOS_DIR=$prefix/examples
++ DEMOS_DIR=$prefix/share/examples/plplot
+ fi
+
+ cat >> confdefs.h <<EOF
diff --git a/math/plplot/files/patch-ab b/math/plplot/files/patch-ab
new file mode 100644
index 000000000000..6d2d337d2583
--- /dev/null
+++ b/math/plplot/files/patch-ab
@@ -0,0 +1,22 @@
+--- cf/install.in.orig Tue Jun 6 20:13:09 1995
++++ cf/install.in Fri Oct 3 15:41:49 1997
+@@ -27,15 +27,15 @@
+
+ install_lib:
+ -if test ! -d $(INCLUDE_DIR); then mkdir -p $(INCLUDE_DIR); fi
+- -if test ! -d $(LIB_DIR); then mkdir -p $(LIB_DIR); fi
++ -if test ! -d $(LIB_DIR)/plplot; then mkdir -p $(LIB_DIR)/plplot; fi
+ -if test ! -d $(DOC_DIR); then mkdir -p $(DOC_DIR); fi
+ -if test ! -d $(BIN_DIR); then mkdir -p $(BIN_DIR); fi
+ -if test ! -d $(INFO_DIR); then mkdir -p $(INFO_DIR); fi
+- -cd $(top_srcdir)/lib; cp *.fnt *.map $(LIB_DIR)
++ -cd $(top_srcdir)/lib; cp *.fnt *.map $(LIB_DIR)/plplot
+ -cp $(PLLIB_BASE)* $(LIB_DIR); \
+- for file in $(PLLIB_BASE)*; do $(RANLIB) $(LIB_DIR)/$$file; done
++ for file in $(PLLIB_BASE)*.a; do $(RANLIB) $(LIB_DIR)/$$file; done
+ -cd $(top_srcdir); \
+- cp README NEWS CHANGES Copyright COPYING.LIB FAQ ToDo \
++ cp README NEWS CHANGES FAQ ToDo \
+ mklinks $(DOC_DIR)
+ -if test ! -f $(DOC_DIR)/README.local; then \
+ cp $(top_srcdir)/doc/README.local $(DOC_DIR); fi
diff --git a/math/plplot/pkg-comment b/math/plplot/pkg-comment
new file mode 100644
index 000000000000..1cc7bc18a139
--- /dev/null
+++ b/math/plplot/pkg-comment
@@ -0,0 +1 @@
+A scientific plotting package.
diff --git a/math/plplot/pkg-descr b/math/plplot/pkg-descr
new file mode 100644
index 000000000000..894b1fad6833
--- /dev/null
+++ b/math/plplot/pkg-descr
@@ -0,0 +1,13 @@
+PLplot is a library of C functions that are useful for making scientific
+plots from a program written in C, C++, or Fortran. The PLplot library
+can be used to create standard x-y plots, semilog plots, log-log plots,
+contour plots, 3D plots, mesh plots, bar charts and pie charts. Multiple
+graphs (of the same or different sizes) may be placed on a single page
+with multiple lines in each graph. Different line styles, widths and
+colors are supported. A virtually infinite number of distinct area fill
+patterns may be used. There are almost 1000 characters in the extended
+character set. This includes four different fonts, the Greek alphabet and
+a host of mathematical, musical, and other symbols. The fonts can be
+scaled to any desired size. A variety of output devices are supported and
+new devices can be easily added by writing a small number of device
+dependent routines.
diff --git a/math/plplot/pkg-plist b/math/plplot/pkg-plist
new file mode 100644
index 000000000000..56e7bc94de34
--- /dev/null
+++ b/math/plplot/pkg-plist
@@ -0,0 +1,138 @@
+bin/plm2gif
+bin/plpr
+bin/plrender
+bin/pltek
+include/plplot/pdf.h
+include/plplot/plstrm.h
+include/plplot/plevent.h
+include/plplot/plxwd.h
+include/plplot/plplot.h
+include/plplot/plplotP.h
+include/plplot/plstream.h
+lib/libplplotdX.a
+lib/libplplotdX.so.4.99
+lib/plplot/usaglobe.map
+lib/plplot/usa.map
+lib/plplot/globe.map
+lib/plplot/cglobe.map
+lib/plplot/plxtnd5.fnt
+lib/plplot/plstnd5.fnt
+share/doc/plplot/README
+share/doc/plplot/ToDo
+share/doc/plplot/FAQ
+share/doc/plplot/CHANGES
+share/doc/plplot/NEWS
+share/doc/plplot/mklinks
+share/doc/plplot/README.local
+share/examples/plplot/c/Makefile
+share/examples/plplot/c/plcdemos.h
+share/examples/plplot/c/x18c.c
+share/examples/plplot/c/x17c.c
+share/examples/plplot/c/x16c.c
+share/examples/plplot/c/x15c.c
+share/examples/plplot/c/x14c.c
+share/examples/plplot/c/x13c.c
+share/examples/plplot/c/x12c.c
+share/examples/plplot/c/x11c.c
+share/examples/plplot/c/x10c.c
+share/examples/plplot/c/x09c.c
+share/examples/plplot/c/x08c.c
+share/examples/plplot/c/x07c.c
+share/examples/plplot/c/x06c.c
+share/examples/plplot/c/x05c.c
+share/examples/plplot/c/x04c.c
+share/examples/plplot/c/x03c.c
+share/examples/plplot/c/x02c.c
+share/examples/plplot/c/x01c.c
+share/examples/plplot/c/tutor.c
+share/examples/plplot/c/x19c.c
+share/examples/plplot/f77/Makefile
+share/examples/plplot/f77/x01f.f
+share/examples/plplot/f77/x13f.f
+share/examples/plplot/f77/x12f.f
+share/examples/plplot/f77/x11f.f
+share/examples/plplot/f77/x10f.f
+share/examples/plplot/f77/x09f.f
+share/examples/plplot/f77/x08f.f
+share/examples/plplot/f77/x07f.f
+share/examples/plplot/f77/x06f.f
+share/examples/plplot/f77/x05f.f
+share/examples/plplot/f77/x04f.f
+share/examples/plplot/f77/x03f.f
+share/examples/plplot/f77/x02f.f
+share/examples/plplot/f77/x16f.f
+share/examples/plplot/python/tutorpy
+share/examples/plplot/python/x18py
+share/examples/plplot/python/x17py
+share/examples/plplot/python/x16py
+share/examples/plplot/python/x15py
+share/examples/plplot/python/x14py
+share/examples/plplot/python/x13py
+share/examples/plplot/python/x12py
+share/examples/plplot/python/x11py
+share/examples/plplot/python/x10py
+share/examples/plplot/python/x09py
+share/examples/plplot/python/x08py
+share/examples/plplot/python/x07py
+share/examples/plplot/python/x06py
+share/examples/plplot/python/x05py
+share/examples/plplot/python/x04py
+share/examples/plplot/python/x03py
+share/examples/plplot/python/x02py
+share/examples/plplot/python/x01py
+share/examples/plplot/python/x19py
+share/examples/plplot/tcl/plgrid.tcl
+share/examples/plplot/tcl/x15.tcl
+share/examples/plplot/tcl/x14.tcl
+share/examples/plplot/tcl/x13.tcl
+share/examples/plplot/tcl/x12.tcl
+share/examples/plplot/tcl/x11.tcl
+share/examples/plplot/tcl/x10.tcl
+share/examples/plplot/tcl/x09.tcl
+share/examples/plplot/tcl/x08.tcl
+share/examples/plplot/tcl/x07.tcl
+share/examples/plplot/tcl/x06.tcl
+share/examples/plplot/tcl/x05.tcl
+share/examples/plplot/tcl/x04.tcl
+share/examples/plplot/tcl/x03.tcl
+share/examples/plplot/tcl/x02.tcl
+share/examples/plplot/tcl/x01.tcl
+share/examples/plplot/tcl/tcldemos.tcl
+share/examples/plplot/tcl/plot.tcl
+share/examples/plplot/tcl/plot.dat
+share/examples/plplot/tcl/x16.tcl
+share/examples/plplot/tk/Makefile
+share/examples/plplot/tk/tk01
+share/examples/plplot/tk/xtk02.c
+share/examples/plplot/tk/xtk01.c
+share/examples/plplot/tk/tkdemos.tcl
+share/examples/plplot/tk/tk04
+share/examples/plplot/tk/tk03
+share/examples/plplot/tk/tk02
+share/examples/plplot/tk/xtk04.c
+share/examples/plplot/tk/x01.tcl
+share/examples/plplot/tk/x02.tcl
+share/examples/plplot/tk/x03.tcl
+share/examples/plplot/tk/x04.tcl
+share/examples/plplot/tk/x05.tcl
+share/examples/plplot/tk/x06.tcl
+share/examples/plplot/tk/x07.tcl
+share/examples/plplot/tk/x08.tcl
+share/examples/plplot/tk/x09.tcl
+share/examples/plplot/tk/x10.tcl
+share/examples/plplot/tk/x11.tcl
+share/examples/plplot/tk/x12.tcl
+share/examples/plplot/tk/x13.tcl
+share/examples/plplot/tk/x14.tcl
+share/examples/plplot/tk/x15.tcl
+share/examples/plplot/tk/x16.tcl
+share/examples/plplot/Makefile
+@dirrm include/plplot
+@dirrm lib/plplot
+@dirrm share/doc/plplot
+@dirrm share/examples/plplot/tk
+@dirrm share/examples/plplot/tcl
+@dirrm share/examples/plplot/python
+@dirrm share/examples/plplot/f77
+@dirrm share/examples/plplot/c
+@dirrm share/examples/plplot