mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Import plplot port. plplot is a scientific plotting library.
This commit is contained in:
parent
afcf895e49
commit
59effd03fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8139
23
math/plplot/Makefile
Normal file
23
math/plplot/Makefile
Normal file
@ -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>
|
1
math/plplot/distinfo
Normal file
1
math/plplot/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (plplot4p99j.tar.gz) = e0914f2aa5216b1eeef559a73e9f2af5
|
54
math/plplot/files/patch-aa
Normal file
54
math/plplot/files/patch-aa
Normal file
@ -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
|
22
math/plplot/files/patch-ab
Normal file
22
math/plplot/files/patch-ab
Normal file
@ -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
|
1
math/plplot/pkg-comment
Normal file
1
math/plplot/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A scientific plotting package.
|
13
math/plplot/pkg-descr
Normal file
13
math/plplot/pkg-descr
Normal file
@ -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.
|
138
math/plplot/pkg-plist
Normal file
138
math/plplot/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user