summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ploticus/Makefile29
-rw-r--r--graphics/ploticus/distinfo13
-rw-r--r--graphics/ploticus/patches/patch-ab13
-rw-r--r--graphics/ploticus/patches/patch-ac19
-rw-r--r--graphics/ploticus/patches/patch-ad13
-rw-r--r--graphics/ploticus/pkg/PLIST14
6 files changed, 85 insertions, 16 deletions
diff --git a/graphics/ploticus/Makefile b/graphics/ploticus/Makefile
index bf2c0a59b79..2ff109ba070 100644
--- a/graphics/ploticus/Makefile
+++ b/graphics/ploticus/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2001/05/22 09:32:22 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2001/07/08 08:09:39 rh Exp $
#
-DISTNAME= plsrc13
-PKGNAME= ploticus-1.39
+DISTNAME= plsrc141
+PKGNAME= ploticus-1.41
CATEGORIES= graphics
MASTER_SITES= http://www.sgpr.net/download/ \
http://gd.tuwien.ac.at/visual/ploticus/download/
@@ -16,10 +16,9 @@ DEPENDS+= png>=1.0.11:../../graphics/png
NO_CONFIGURE= YES
USE_X11= YES
-DIST_SUBDIR= ploticus-1.39
+DIST_SUBDIR= ${PKGNAME}
-WRKSRC= ${WRKDIR}/ploticus/src
-MANSRC= ${WRKDIR}/ploticus/man
+MANSRC= ${WRKSRC:C/plsrc/plman/}
DOCDST= ${PREFIX}/share/doc/ploticus
NROFF?= nroff -mandoc
@@ -28,12 +27,24 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin/${file}
.endfor
.for file in pl ploticus plpng pltab
- ${INSTALL_MAN} ${MANSRC}/../man/man1/${file}.1 \
+ ${INSTALL_MAN} ${MANSRC}/man/man1/${file}.1 \
${PREFIX}/man/man1/${file}.1
.endfor
${INSTALL_DATA_DIR} ${DOCDST}
-.for file in Faq Problems Util annotate areadef attributetypes axis bars bevelrect breakaxis catslide color condex config controlling curvefit dataformat dates datesettings defineunits drawcommands endproc functions getdata gifpatent import interactive legend legendentry limits line linedetails lineplot missingdata originaldata page paper pie posters print processdata rangebar rangesweep scaleunits scatterplot scripts slides specialchars symboldetails tabulate textdetails times trailer transform variables web
- ${NROFF} <${MANSRC}/../man/manpl/${file} >${WRKDIR}/${file}
+.for file in Changelog Contents Copyright Download Feedback Feedback00 \
+ Versions Welcome
+ ${INSTALL_DATA} ${MANSRC}/man/manpl/${file} ${DOCDST}/${file}
+.endfor
+.for file in Faq Problems annotate areadef attributetypes autorange \
+ axis bars bevelrect breakaxis catslide color condex config \
+ controlling curvefit dataformat dates datesettings defineunits \
+ drawcommands endproc foo functions getdata gifpatent import \
+ interactive legend legendentry limits line linedetails lineplot \
+ missingdata originaldata page paper pie posters prefabs print \
+ processdata rangebar rangesweep scaleunits scatterplot scripts \
+ slides specialchars symboldetails tabulate textdetails times \
+ trailer transform variables web
+ ${NROFF} <${MANSRC}/man/manpl/${file} >${WRKDIR}/${file}
${INSTALL_DATA} ${WRKDIR}/${file} ${DOCDST}/${file}
.endfor
diff --git a/graphics/ploticus/distinfo b/graphics/ploticus/distinfo
index 732e41fd176..951f9d7c184 100644
--- a/graphics/ploticus/distinfo
+++ b/graphics/ploticus/distinfo
@@ -1,7 +1,10 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 09:54:23 wiz Exp $
+$NetBSD: distinfo,v 1.3 2001/07/08 08:09:39 rh Exp $
-SHA1 (ploticus-1.39/plsrc13.tar.gz) = 9e6c55630a1ec125a92bd6a2c3b9d554ca39dd3a
-Size (ploticus-1.39/plsrc13.tar.gz) = 274912 bytes
-SHA1 (ploticus-1.39/plman13.tar.gz) = d0f93ee8deea2f15e33180541b6b2139c8c0b7a2
-Size (ploticus-1.39/plman13.tar.gz) = 98974 bytes
+SHA1 (ploticus-1.41/plsrc141.tar.gz) = 675ee667d4b0561abf9f271fdaf7a081db86b0c7
+Size (ploticus-1.41/plsrc141.tar.gz) = 257913 bytes
+SHA1 (ploticus-1.41/plman141.tar.gz) = c353434240574e77d8098ac695b4969a750c53f1
+Size (ploticus-1.41/plman141.tar.gz) = 147028 bytes
SHA1 (patch-aa) = 4bb627cfedaf0d3692c9700533f7551ca0e133ea
+SHA1 (patch-ab) = a1e7b090bf6f13c9f3659a81dcdf6a284b67a978
+SHA1 (patch-ac) = 0038991b57d5537a8c9af9a2b92e374ec50f6689
+SHA1 (patch-ad) = 49e77b3fc5794d3ec9005ac632bb5226dd748704
diff --git a/graphics/ploticus/patches/patch-ab b/graphics/ploticus/patches/patch-ab
new file mode 100644
index 00000000000..1e1f916d1a7
--- /dev/null
+++ b/graphics/ploticus/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2001/07/08 08:09:40 rh Exp $
+
+--- preliminaries.c.orig Sun Jul 8 09:47:17 2001
++++ preliminaries.c
+@@ -18,7 +18,7 @@
+
+ /* set first part of name for for tmp files.. */
+ make_unique_string( buf, 0 );
+-sprintf( Tmpname, "/usr/tmp/plo%s", buf );
++sprintf( Tmpname, "/tmp/plo%s", buf );
+
+ Errfp = stderr; /* portability? */
+ Diagfp = stderr; /* portability? */
diff --git a/graphics/ploticus/patches/patch-ac b/graphics/ploticus/patches/patch-ac
new file mode 100644
index 00000000000..140352edc69
--- /dev/null
+++ b/graphics/ploticus/patches/patch-ac
@@ -0,0 +1,19 @@
+$NetBSD: patch-ac,v 1.1 2001/07/08 08:09:40 rh Exp $
+
+--- units.c.orig Sun Jul 8 09:52:03 2001
++++ units.c
+@@ -275,8 +275,14 @@
+ else i = 1;
+
+ if( unittyp[i] == LINEAR ) {
++ /* when generating incremental axes moving from negative to positive, for zero sprintf sometimes
++ gives -0.00 or very tiny values like -5.5579e-17. The following is a workaround.. scg 7/5/01 */
++ if( f < 0.0000000000001 && f > -0.0000000000001 ) f = 0.0;
++
+ if( strlen( format ) < 1 ) sprintf( result, "%g", f );
+ else sprintf( result, format, f );
++
++
+ if( Bignumspacer ) rewritenums( result ); /* rewrite w/various spacing, decimal pt options*/
+ }
+
diff --git a/graphics/ploticus/patches/patch-ad b/graphics/ploticus/patches/patch-ad
new file mode 100644
index 00000000000..a82df5e990b
--- /dev/null
+++ b/graphics/ploticus/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2001/07/08 08:09:40 rh Exp $
+
+--- getdata.c.orig Sun Jul 8 09:53:12 2001
++++ getdata.c
+@@ -349,7 +349,7 @@
+ char recordid[80];
+ char data[MAXITEMS][DATAMAXLEN+1];
+ char *df[MAXITEMS];
+-char str[255], str2[255];
++char str[MAXINBUF], str2[MAXINBUF]; /* size increased from 255 scg 6/27/01 */
+ int nfields, nrecords, nd;
+ int i;
+ char commentchar[12];
diff --git a/graphics/ploticus/pkg/PLIST b/graphics/ploticus/pkg/PLIST
index 62697cd36a0..37cbdd42a59 100644
--- a/graphics/ploticus/pkg/PLIST
+++ b/graphics/ploticus/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2000/10/08 18:27:10 hubertf Exp $
+@comment $NetBSD: PLIST,v 1.3 2001/07/08 08:09:40 rh Exp $
bin/pl
bin/plpng
bin/pltab
@@ -7,12 +7,20 @@ man/man1/pl.1
man/man1/ploticus.1
man/man1/plpng.1
man/man1/pltab.1
+share/doc/ploticus/Changelog
+share/doc/ploticus/Contents
+share/doc/ploticus/Copyright
+share/doc/ploticus/Download
share/doc/ploticus/Faq
+share/doc/ploticus/Feedback
+share/doc/ploticus/Feedback00
share/doc/ploticus/Problems
-share/doc/ploticus/Util
+share/doc/ploticus/Versions
+share/doc/ploticus/Welcome
share/doc/ploticus/annotate
share/doc/ploticus/areadef
share/doc/ploticus/attributetypes
+share/doc/ploticus/autorange
share/doc/ploticus/axis
share/doc/ploticus/bars
share/doc/ploticus/bevelrect
@@ -29,6 +37,7 @@ share/doc/ploticus/datesettings
share/doc/ploticus/defineunits
share/doc/ploticus/drawcommands
share/doc/ploticus/endproc
+share/doc/ploticus/foo
share/doc/ploticus/functions
share/doc/ploticus/getdata
share/doc/ploticus/gifpatent
@@ -46,6 +55,7 @@ share/doc/ploticus/page
share/doc/ploticus/paper
share/doc/ploticus/pie
share/doc/ploticus/posters
+share/doc/ploticus/prefabs
share/doc/ploticus/print
share/doc/ploticus/processdata
share/doc/ploticus/rangebar