summaryrefslogtreecommitdiff
path: root/graphics/ploticus
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>1999-11-24 20:29:10 +0000
committerrh <rh@pkgsrc.org>1999-11-24 20:29:10 +0000
commit7dce53cb7a6b4a5213d04c8130e3616da696d656 (patch)
tree0ec7462002d7e9f9ed647f3bae27bf70197d3d6c /graphics/ploticus
parent250ea872ec0f0ee8cb79d0f937efe9583696aaa6 (diff)
downloadpkgsrc-7dce53cb7a6b4a5213d04c8130e3616da696d656.tar.gz
Import of ploticus-1.31, a versatile plotting and data visualization tool.
Diffstat (limited to 'graphics/ploticus')
-rw-r--r--graphics/ploticus/Makefile45
-rw-r--r--graphics/ploticus/files/md54
-rw-r--r--graphics/ploticus/files/patch-sum3
-rw-r--r--graphics/ploticus/patches/patch-aa57
-rw-r--r--graphics/ploticus/pkg/COMMENT1
-rw-r--r--graphics/ploticus/pkg/DESCR9
-rw-r--r--graphics/ploticus/pkg/PLIST65
7 files changed, 184 insertions, 0 deletions
diff --git a/graphics/ploticus/Makefile b/graphics/ploticus/Makefile
new file mode 100644
index 00000000000..75c1c6ab8c5
--- /dev/null
+++ b/graphics/ploticus/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/11/24 20:29:10 rh Exp $
+#
+
+DISTNAME= plsrc13
+PKGNAME= ploticus-1.31
+CATEGORIES= graphics
+MASTER_SITES= http://www.sgpr.net/download/ \
+ http://gd.tuwien.ac.at/visual/ploticus/download/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MANDIST}${EXTRACT_SUFX}
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://www.sgpr.net/
+
+DEPENDS+= png-*:../../graphics/png
+
+NO_CONFIGURE= YES
+USE_X11= YES
+
+MANDIST= plman13
+MANSRC= ${WRKDIR}/${MANDIST}
+DOCDST= ${PREFIX}/share/doc/ploticus
+NROFF?= nroff -mandoc
+
+do-install:
+.for file in pl plpng pltab pltabpng
+ ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin/${file}
+.endfor
+.for file in pl ploticus plpng pltab
+ ${INSTALL_MAN} ${MANSRC}/man1/${file}.1 ${PREFIX}/man/man1/${file}.1
+.endfor
+ ${INSTALL_DATA_DIR} ${DOCDST}
+.for file in Faq Problems Util Welcome annotate areadef attributetypes \
+ axis bars bevelrect breakaxis catslide color condex config \
+ controlling curvefit dataformat dates defineunits \
+ drawcommands endproc functions getdata gifpatent import \
+ interactive legend legendentry limits line linedetails \
+ lineplot missingdata originaldata page paper pie posters \
+ print rangebar rangesweep scaleunits scatterplot scripts \
+ slides specialchars symboldetails tabulate textdetails times \
+ trailer transform variables web
+ ${NROFF} <${MANSRC}/manpl/${file} >${WRKDIR}/${file}
+ ${INSTALL_DATA} ${WRKDIR}/${file} ${DOCDST}/${file}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/ploticus/files/md5 b/graphics/ploticus/files/md5
new file mode 100644
index 00000000000..cdc6836d068
--- /dev/null
+++ b/graphics/ploticus/files/md5
@@ -0,0 +1,4 @@
+$NetBSD: md5,v 1.1.1.1 1999/11/24 20:29:10 rh Exp $
+
+MD5 (plsrc13.tar.gz) = 3e6e72034e845ed78e43f9bd3c2bd190
+MD5 (plman13.tar.gz) = 2073ebcf4515319b1852ff369487a309
diff --git a/graphics/ploticus/files/patch-sum b/graphics/ploticus/files/patch-sum
new file mode 100644
index 00000000000..123899bb1c1
--- /dev/null
+++ b/graphics/ploticus/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/11/24 20:29:10 rh Exp $
+
+MD5 (patch-aa) = d76505159782fa6415be0174f77e3cc4
diff --git a/graphics/ploticus/patches/patch-aa b/graphics/ploticus/patches/patch-aa
new file mode 100644
index 00000000000..425f3f13e10
--- /dev/null
+++ b/graphics/ploticus/patches/patch-aa
@@ -0,0 +1,57 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/11/24 20:29:10 rh Exp $
+
+--- Makefile.orig Thu Oct 28 21:22:36 1999
++++ Makefile Wed Nov 24 20:42:01 1999
+@@ -25,22 +25,22 @@
+ ## and porting.
+
+
+-CC = gcc
++#CC = gcc
+
+ ######## Choose one of the platforms below
+ ######## and comment out the others:
+
+ ## For Solaris 2.x
+-PLATFORM = SOLARIS2
+-XLIBDIR = /usr/openwin/lib
+-XINCLUDEDIR = /usr/openwin/include
+-SLEEPLIB = -lposix4 # for nanosleep() only
++#PLATFORM = SOLARIS2
++#XLIBDIR = /usr/openwin/lib
++#XINCLUDEDIR = /usr/openwin/include
++#SLEEPLIB = -lposix4 # for nanosleep() only
+
+ ## For Linux, FreeBSD
+-# PLATFORM = BSD
+-# XLIBDIR = /usr/X11R6/lib
+-# XINCLUDEDIR = /usr/X11R6/include
+-# SLEEPLIB =
++PLATFORM = BSD
++XLIBDIR = ${X11BASE}/lib
++XINCLUDEDIR = ${X11BASE}/include
++SLEEPLIB =
+
+ ## For AIX 3.2.5
+ # PLATFORM = BSD
+@@ -96,9 +96,9 @@
+
+
+
+-LIBS = $(XLIBS) -lm
++LIBS = ${LDFLAGS} ${XLIBS} -lm
+
+-CFLAGS = -D$(PLATFORM) -DPLOTICUS -DDIST $(XCFLAGS) $(FLAGS)
++CFLAGS+= -D${PLATFORM} -DPLOTICUS -DDIST ${XCFLAGS} ${FLAGS}
+
+ OBJ = custom.o execplfile.o lib.o areadef.o page.o axis.o getdata.o parsedata.o \
+ drawcommands.o annotate.o tabulate.o lineplot.o bars.o bevelrect.o units.o line.o \
+@@ -139,7 +139,7 @@
+ gd16files:
+ $(CC) -c grgd.c -DGDPNG -I./gd16 -I./ -o grgd16.o
+ $(CC) -c devstuff.c -DGDPNG -o devstuff16.o
+- $(CC) -c -I./gd16 -I./ $(GD16H) gd16.c gd_io.c gd_io_dp.c gd_io_file.c gd_png.c
++ $(CC) -c -I./gd16 -I./ -I${PREFIX}/include $(GD16H) gd16.c gd_io.c gd_io_dp.c gd_io_file.c gd_png.c
+
+ dev: pl.o $(OBJ)
+ $(CC) pl.o $(FLAGS) $(OBJ) $(GD13) $(GD) $(XOBJ) $(LIBS) -o pl
diff --git a/graphics/ploticus/pkg/COMMENT b/graphics/ploticus/pkg/COMMENT
new file mode 100644
index 00000000000..faf8e754e39
--- /dev/null
+++ b/graphics/ploticus/pkg/COMMENT
@@ -0,0 +1 @@
+A versatile data visualization engine.
diff --git a/graphics/ploticus/pkg/DESCR b/graphics/ploticus/pkg/DESCR
new file mode 100644
index 00000000000..51e78eb28ae
--- /dev/null
+++ b/graphics/ploticus/pkg/DESCR
@@ -0,0 +1,9 @@
+ Ploticus is a new free software package for Unix that creates graphical data
+displays for web pages and intranets, paper reports, posters, slides, or
+interactive use. Ploticus is script-driven and can be invoked automatically
+(automated) from web servers and other programs. Ploticus can work with flat
+ascii or spreadsheet data sets that can include numerics and text as well as
+dates and times in a wide variety of notations. It also has built-in
+capability of computing frequency distributions, cross-tabs, medians,
+quartiles, and curve fitting. It is the successor to IPL, a freeware plotting
+program by the same author, released in 1989.
diff --git a/graphics/ploticus/pkg/PLIST b/graphics/ploticus/pkg/PLIST
new file mode 100644
index 00000000000..efb62b60e9d
--- /dev/null
+++ b/graphics/ploticus/pkg/PLIST
@@ -0,0 +1,65 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/11/24 20:29:10 rh Exp $
+bin/pl
+bin/plpng
+bin/pltab
+bin/pltabpng
+man/man1/pl.1
+man/man1/ploticus.1
+man/man1/plpng.1
+man/man1/pltab.1
+share/doc/ploticus/Faq
+share/doc/ploticus/Problems
+share/doc/ploticus/Util
+share/doc/ploticus/Welcome
+share/doc/ploticus/annotate
+share/doc/ploticus/areadef
+share/doc/ploticus/attributetypes
+share/doc/ploticus/axis
+share/doc/ploticus/bars
+share/doc/ploticus/bevelrect
+share/doc/ploticus/breakaxis
+share/doc/ploticus/catslide
+share/doc/ploticus/color
+share/doc/ploticus/condex
+share/doc/ploticus/config
+share/doc/ploticus/controlling
+share/doc/ploticus/curvefit
+share/doc/ploticus/dataformat
+share/doc/ploticus/dates
+share/doc/ploticus/defineunits
+share/doc/ploticus/drawcommands
+share/doc/ploticus/endproc
+share/doc/ploticus/functions
+share/doc/ploticus/getdata
+share/doc/ploticus/gifpatent
+share/doc/ploticus/import
+share/doc/ploticus/interactive
+share/doc/ploticus/legend
+share/doc/ploticus/legendentry
+share/doc/ploticus/limits
+share/doc/ploticus/line
+share/doc/ploticus/linedetails
+share/doc/ploticus/lineplot
+share/doc/ploticus/missingdata
+share/doc/ploticus/originaldata
+share/doc/ploticus/page
+share/doc/ploticus/paper
+share/doc/ploticus/pie
+share/doc/ploticus/posters
+share/doc/ploticus/print
+share/doc/ploticus/rangebar
+share/doc/ploticus/rangesweep
+share/doc/ploticus/scaleunits
+share/doc/ploticus/scatterplot
+share/doc/ploticus/scripts
+share/doc/ploticus/slides
+share/doc/ploticus/specialchars
+share/doc/ploticus/symboldetails
+share/doc/ploticus/tabulate
+share/doc/ploticus/textdetails
+share/doc/ploticus/times
+share/doc/ploticus/trailer
+share/doc/ploticus/transform
+share/doc/ploticus/variables
+share/doc/ploticus/web
+@dirrm share/doc/ploticus