Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

22
graphics/plotutils/DESCR Normal file
View File

@@ -0,0 +1,22 @@
The GNU plotutils package contains programs for plotting scientific data,
and a function library for drawing vector graphics and doing vector graphics
animations. The package includes:
* GNU graph, which does two-dimensional plotting in real time. It's designed
for command-line use, and can be used in shell scripts. It produces output
on an X Window System display, in Illustrator format, in Postscript format,
in PCL 5 format, in HP-GL/2 format, in Fig format (editable with the xfig
drawing editor), in Tektronix format, or in GNU Metafile format. Output in
Postscript format may be edited with the idraw drawing editor.
* GNU plot, which translates GNU Metafile format to any of the other formats.
* GNU tek2plot, for translating legacy Tektronix data to any of the above
formats.
* GNU plotfont, for displaying character maps of the fonts that are available
in the above formats.
* GNU spline, which does spline interpolation of data.
* GNU ode, which numerically integrates a system consisting of one or more
ordinary differential equations.
The programs graph, plot, tek2plot, and plotfont are based on GNU libplot, a C
function library for device-independent two-dimensional vector graphics. GNU
libplot is compatible with the traditional Unix libplot library, but is much
more powerful. It is installed as part of the package.

View File

@@ -0,0 +1,28 @@
# $NetBSD: Makefile,v 1.49 2013/02/16 11:17:56 wiz Exp $
DISTNAME= plotutils-2.6
PKGREVISION= 4
CATEGORIES= devel graphics
MASTER_SITES= ${MASTER_SITE_GNU:=plotutils/}
MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/plotutils/plotutils.html
COMMENT= Programs and library for plotting scientific data
LICENSE= gnu-gpl-v3
CONFLICTS+= plotutils-nox11-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= lex yacc
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-libplotter
MAKE_JOBS_SAFE= no
INFO_FILES= yes
.include "options.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

61
graphics/plotutils/PLIST Normal file
View File

@@ -0,0 +1,61 @@
@comment $NetBSD: PLIST,v 1.8 2010/05/02 13:28:43 wiz Exp $
bin/double
bin/graph
bin/hersheydemo
bin/ode
bin/pic2plot
bin/plot
bin/plotfont
bin/spline
bin/tek2plot
include/plot.h
include/plotcompat.h
include/plotter.h
info/plotutils.info
lib/libplot.la
lib/libplotter.la
man/man1/ode.1
man/man1/plot.1
man/man1/plotfont.1
man/man1/spline.1
man/man1/tek2plot.1
share/libplot/README
share/libplot/colors.txt
share/libplot/h-fonts.txt
share/libplot/h-glyphs.txt
share/libplot/hershey.bib
share/libplot/kana.txt
share/libplot/kanji.txt
share/ode/README
share/ode/atwoods.ode
share/ode/bead.ode
share/ode/chem.ode
share/ode/coupled.ode
share/ode/ddho.ode
share/ode/dynamo.ode
share/ode/henon.ode
share/ode/limitcycle.ode
share/ode/lorenz.ode
share/ode/lunar.sh
share/ode/orbit.ode
share/ode/population.ode
share/ode/qcd.ode
share/ode/rumor.ode
share/ode/soliton.ode
share/ode/viscous.ode
share/pic2plot/README
share/pic2plot/macros.pic
share/pic2plot/pic0.ps
share/pic2plot/pic1.ps
share/pic2plot/picmacros.ps
share/tek2plot/README
share/tek2plot/aitest.tek
share/tek2plot/dmerc.tek
share/tek2plot/fotest.tek
share/tek2plot/imtesth.tek
share/tek2plot/karney.tek
share/tek2plot/ocpred.tek
share/tek2plot/scale.tek
share/tek2plot/skymap.tek
share/tek2plot/skymap2.tek
share/tek2plot/usmap.tek

View File

@@ -0,0 +1,24 @@
# $NetBSD: buildlink3.mk,v 1.17 2013/02/16 11:17:56 wiz Exp $
BUILDLINK_TREE+= plotutils
.if !defined(PLOTUTILS_BUILDLINK3_MK)
PLOTUTILS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.plotutils+= plotutils>=2.4.1nb2
BUILDLINK_ABI_DEPENDS.plotutils+= plotutils>=2.6nb4
BUILDLINK_PKGSRCDIR.plotutils?= ../../graphics/plotutils
pkgbase := plotutils
.include "../../mk/pkg-build-options.mk"
.include "../../graphics/png/buildlink3.mk"
.if !empty(PKG_BUILD_OPTIONS.plotutils:Mx11)
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.endif
.endif # PLOTUTILS_BUILDLINK3_MK
BUILDLINK_TREE+= -plotutils

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.6 2011/01/14 11:30:36 wiz Exp $
SHA1 (plotutils-2.6.tar.gz) = 7921301d9dfe8991e3df2829bd733df6b2a70838
RMD160 (plotutils-2.6.tar.gz) = 2a32244eb20e00b82a0742dde7b690f688e82774
Size (plotutils-2.6.tar.gz) = 3657562 bytes
SHA1 (patch-aa) = 953805bbe32d8e049cdd4de79cd8b4a77a49fc04

View File

@@ -0,0 +1,15 @@
# $NetBSD: options.mk,v 1.3 2012/10/23 10:24:07 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.plotutils
PKG_SUPPORTED_OPTIONS= x11
PKG_SUGGESTED_OPTIONS= x11
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mx11)
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-x
.endif

View File

@@ -0,0 +1,39 @@
$NetBSD: patch-aa,v 1.6 2011/01/14 11:30:36 wiz Exp $
Fix build with png-1.5.
--- libplot/z_write.c.orig 2008-07-16 00:54:10.000000000 +0000
+++ libplot/z_write.c
@@ -164,7 +164,7 @@ _pl_z_maybe_output_image (S___(Plotter *
}
/* cleanup after libpng errors (error handler does a longjmp) */
- if (setjmp (png_ptr->jmpbuf))
+ if (setjmp (png_jmpbuf (png_ptr)))
{
png_destroy_write_struct (&png_ptr, (png_info **)NULL);
return -1;
@@ -444,7 +444,11 @@ _our_error_fn_stdio (png_struct *png_ptr
#endif
}
+#if (PNG_LIBPNG_VER < 10500)
longjmp (png_ptr->jmpbuf, 1);
+#else
+ png_longjmp (png_ptr, 1);
+#endif
}
static void
@@ -515,7 +519,11 @@ _our_error_fn_stream (png_struct *png_pt
#endif
}
+#if (PNG_LIBPNG_VER < 10500)
longjmp (png_ptr->jmpbuf, 1);
+#else
+ png_longjmp (png_ptr, 1);
+#endif
}
static void