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

10
graphics/gnuplot/DESCR Normal file
View File

@@ -0,0 +1,10 @@
Gnuplot is a command-line driven interactive function plotting utility
for UNIX, MSDOS, and VMS platforms. The software is copyrighted but
freely distributed (i.e., you don't have to pay for it). It was originally
intended as graphical program which would allow scientists and students
to visualize mathematical functions and data. Gnuplot supports many
different types of terminals, plotters, and printers (including many
color devices, and pseudo-devices like LaTeX) and is easily extensible
to include new devices.
This package includes X11 support.

61
graphics/gnuplot/Makefile Normal file
View File

@@ -0,0 +1,61 @@
# $NetBSD: Makefile,v 1.79 2013/06/06 12:54:30 wiz Exp $
DISTNAME= gnuplot-4.6.3
PKGREVISION= 3
CATEGORIES+= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gnuplot.sourceforge.net/
COMMENT= Portable interactive, function plotting utility
CONFLICTS+= gnuplot-nox11-[0-9]*
PATCHDIR= ${.CURDIR}/../../graphics/gnuplot/patches
DISTINFO_FILE= ${.CURDIR}/../../graphics/gnuplot/distinfo
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c
USE_TOOLS+= makeinfo pkg-config gmake
GNU_CONFIGURE= yes
#CONFIGURE_ARGS+= --enable-history-file
CONFIGURE_ARGS+= --with-plot=${PREFIX}
CONFIGURE_ARGS+= --without-latex
CONFIGURE_ARGS+= --without-lisp-files
CONFIGURE_ARGS+= --without-tutorial
CONFIGURE_ARGS+= ac_cv_prog_EMACS=
INFO_FILES= yes
# Use BSD editline wherever possible:
.include "../../mk/bsd.prefs.mk"
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin"
. if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[01234].*)
CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
.include "../../devel/readline/buildlink3.mk"
. else
CONFIGURE_ARGS+= --with-readline=bsd
.include "../../mk/curses.buildlink3.mk"
. endif
.else
CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
.include "../../devel/readline/buildlink3.mk"
.endif
LDFLAGS.SunOS+= -liconv
# Make this available to patch-ah so the font path can include pkgsrc fonts.
SUBST_CLASSES+= fontpath
SUBST_STAGE.fontpath= pre-configure
SUBST_MESSAGE.fontpath= Fixing font path.
SUBST_FILES.fontpath= src/variable.c
SUBST_SED.fontpath= -e 's,@PKGSRC_PREFIX@,"${PREFIX}",'
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/plotutils/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

42
graphics/gnuplot/PLIST Normal file
View File

@@ -0,0 +1,42 @@
@comment $NetBSD: PLIST,v 1.17 2012/11/18 01:56:20 joerg Exp $
bin/gnuplot
${PLIST.qt4}libexec/gnuplot/4.6/gnuplot_qt
${PLIST.x11}libexec/gnuplot/4.6/gnuplot_x11
man/man1/gnuplot.1
share/gnuplot/4.6/PostScript/8859-1.ps
share/gnuplot/4.6/PostScript/8859-15.ps
share/gnuplot/4.6/PostScript/8859-2.ps
share/gnuplot/4.6/PostScript/8859-9.ps
share/gnuplot/4.6/PostScript/aglfn.txt
share/gnuplot/4.6/PostScript/cp1250.ps
share/gnuplot/4.6/PostScript/cp1251.ps
share/gnuplot/4.6/PostScript/cp437.ps
share/gnuplot/4.6/PostScript/cp850.ps
share/gnuplot/4.6/PostScript/cp852.ps
share/gnuplot/4.6/PostScript/koi8r.ps
share/gnuplot/4.6/PostScript/koi8u.ps
share/gnuplot/4.6/PostScript/prologue.ps
share/gnuplot/4.6/PostScript/utf-8.ps
${PLIST.x11}share/gnuplot/4.6/app-defaults/Gnuplot
share/gnuplot/4.6/colors_default.gp
share/gnuplot/4.6/colors_mono.gp
share/gnuplot/4.6/colors_podo.gp
share/gnuplot/4.6/gnuplot.gih
share/gnuplot/4.6/gnuplot.pdf
share/gnuplot/4.6/gnuplotrc
share/gnuplot/4.6/js/README
share/gnuplot/4.6/js/canvasmath.js
share/gnuplot/4.6/js/canvastext.js
share/gnuplot/4.6/js/gnuplot_common.js
share/gnuplot/4.6/js/gnuplot_dashedlines.js
share/gnuplot/4.6/js/gnuplot_mouse.css
share/gnuplot/4.6/js/gnuplot_mouse.js
share/gnuplot/4.6/js/gnuplot_svg.js
share/gnuplot/4.6/js/grid.png
share/gnuplot/4.6/js/help.png
share/gnuplot/4.6/js/nextzoom.png
share/gnuplot/4.6/js/previouszoom.png
share/gnuplot/4.6/js/textzoom.png
share/gnuplot/4.6/lua/gnuplot-tikz.lua
${PLIST.qt4}share/gnuplot/4.6/qt/qtgnuplot_fr.qm
${PLIST.qt4}share/gnuplot/4.6/qt/qtgnuplot_ja.qm

12
graphics/gnuplot/distinfo Normal file
View File

@@ -0,0 +1,12 @@
$NetBSD: distinfo,v 1.22 2013/05/16 14:17:04 adam Exp $
SHA1 (gnuplot-4.6.3.tar.gz) = f01e417dc9504a05fd5cc2595b05ccb58bcea5b2
RMD160 (gnuplot-4.6.3.tar.gz) = 42ff3a2066e5089b19c52a88cd2c17d9db87681d
Size (gnuplot-4.6.3.tar.gz) = 4973116 bytes
SHA1 (patch-aa) = fa5981422c83d1467b0df8a7c36ce7b2439855f2
SHA1 (patch-ac) = 271c107d7793d8817221474eca4b5da78abad9c9
SHA1 (patch-ad) = 5165374c6e8275f2f030659daa45051851e98413
SHA1 (patch-ae) = ce2a89ebcdcae1b1945563b48e6ebb6974d3a048
SHA1 (patch-af) = e5672a05f88d0ba3c1471b379dd47cd1b274f8b1
SHA1 (patch-ag) = 8a27282ee0e9add193e3437e2f88dac149e40068
SHA1 (patch-ah) = e4024ebbc039d7b5e741aa109259de6269b03765

View File

@@ -0,0 +1,53 @@
# $NetBSD: options.mk,v 1.7 2013/05/16 14:17:04 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnuplot
PKG_SUPPORTED_OPTIONS= gd lua pdf x11 qt4
.if ${OPSYS} != "NetBSD"
# wxterminal is broken on NetBSD c.f. pkg/47177
PKG_SUPPORTED_OPTIONS+= wxwidgets
.endif
PKG_SUGGESTED_OPTIONS= gd x11
.include "../../mk/bsd.options.mk"
PLIST_VARS+= x11 qt4
.if !empty(PKG_OPTIONS:Mgd)
.include "../../graphics/gd/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mlua)
.include "../../lang/lua/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-lua
.endif
# PDF output is also provided by cairo
.if !empty(PKG_OPTIONS:Mpdf)
CONFIGURE_ARGS+= --with-pdf
.include "../../print/pdflib-lite/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mx11)
PLIST.x11= yes
.include "../../x11/libXaw/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-x
.endif
.if !empty(PKG_OPTIONS:Mqt4)
USE_LANGUAGES+= c++
CONFIGURE_ARGS+= --enable-qt
PLIST.qt4= yes
.include "../../x11/qt4-libs/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-qt
.endif
.if !empty(PKG_OPTIONS:Mwxwidgets)
USE_LANGUAGES+= c++
CONFIGURE_ARGS+= --enable-wxwidgets
.include "../../x11/wxGTK28/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-wxwidgets
.endif

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.10 2012/08/10 15:14:54 drochner Exp $
--- src/stdfn.h.orig 2011-09-21 11:43:50.000000000 +0000
+++ src/stdfn.h
@@ -349,7 +349,7 @@ size_t strnlen __PROTO((const char *str,
#endif
/* sleep delay time, where delay is a double value */
-#if defined(HAVE_USLEEP)
+#if 0 /*defined(HAVE_USLEEP)*/
# define GP_SLEEP(delay) usleep((unsigned int) ((delay)*1e6))
# ifndef HAVE_SLEEP
# define HAVE_SLEEP

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-ac,v 1.2 2012/08/10 15:14:54 drochner Exp $
NetBSD editline keeps header files in "readline", not "editline".
Same applies to DragonFly.
--- src/gp_hist.h.orig 2011-02-21 07:56:57.000000000 +0000
+++ src/gp_hist.h
@@ -70,7 +70,7 @@ extern long int gnuplot_history_size;
* (almost) compatible readline replacement
*/
#if defined(HAVE_LIBEDITLINE)
-# include <editline/readline.h>
+# include <readline/readline.h>
#endif
#if defined(READLINE) && !defined(HAVE_LIBREADLINE) && !defined(HAVE_LIBEDITLINE)

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-ad,v 1.1 2009/09/14 18:52:03 asau Exp $
NetBSD editline keeps header files in "readline", not "editline".
Same applies to DragonFly.
--- src/readline.h.orig 2008-12-15 07:18:36.000000000 +0300
+++ src/readline.h 2009-09-14 17:16:14.000000000 +0400
@@ -51,7 +51,7 @@
# include <readline/readline.h>
#endif
#if defined(HAVE_LIBEDITLINE)
-# include <editline/readline.h>
+# include <readline/readline.h>
#endif
#if defined(HAVE_LIBEDITLINE)

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-ae,v 1.2 2011/02/08 13:13:41 adam Exp $
NetBSD editline keeps header files in "readline", not "editline".
Same applies to DragonFly.
--- src/plot.c.orig 2008-12-15 07:18:36.000000000 +0300
+++ src/plot.c 2009-09-14 17:22:09.000000000 +0400
@@ -118,7 +118,7 @@
/* BSD editline
*/
#ifdef HAVE_LIBEDITLINE
-# include <editline/readline.h>
+# include <readline/readline.h>
#endif
/* enable gnuplot history with readline */

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-af,v 1.3 2011/03/14 08:06:53 adam Exp $
NetBSD editline keeps header files in "readline", not "editline".
Same applies to DragonFly.
--- configure.in.orig 2009-03-15 06:39:15.000000000 +0300
+++ configure.in 2009-09-14 17:35:06.000000000 +0400
@@ -352,7 +352,7 @@
if test "$ac_cv_lib_edit_readline" = yes; then
AC_DEFINE(HAVE_LIBEDITLINE,1,
[ Define if you are using the BSD editline library. ])
- AC_CHECK_HEADERS(editline/readline.h,,
+ AC_CHECK_HEADERS(readline/readline.h,,
AC_MSG_WARN([found BSD editline library but not readline.h please add path to readline.h to CPPFLAGS in Makefile]))
if test "$enable_history_file" = yes; then

View File

@@ -0,0 +1,30 @@
$NetBSD: patch-ag,v 1.6 2012/11/07 19:22:05 he Exp $
NetBSD editline keeps header files in "readline", not "editline".
Same applies to DragonFly.
Also get rid of a non-portable "test ... ==" instance.
--- configure.orig 2012-09-26 23:06:30.000000000 +0000
+++ configure
@@ -9197,9 +9197,9 @@ fi
$as_echo "#define HAVE_LIBEDITLINE 1" >>confdefs.h
- for ac_header in editline/readline.h
+ for ac_header in readline/readline.h
do :
- ac_fn_c_check_header_mongrel "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
+ ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
if test "x$ac_cv_header_editline_readline_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_EDITLINE_READLINE_H 1
@@ -15340,7 +15340,7 @@ $as_echo " tek40xx, tek410x, texdraw,
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
$as_echo "" >&6; }
-if test "$with_bitmap_terminals" == yes; then
+if test "$with_bitmap_terminals" = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: dot-matrix terminals: yes ( --without-bitmap-terminals to disable)" >&5
$as_echo " dot-matrix terminals: yes ( --without-bitmap-terminals to disable)" >&6; }
else

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-ah,v 1.2 2011/02/08 13:13:41 adam Exp $
Add NetBSD native X and pkgsrc modular X directories to the candidate
font path list.
--- src/variable.c.orig 2008-12-15 04:18:36.000000000 +0000
+++ src/variable.c
@@ -275,6 +275,12 @@ static const struct path_table fontpath_
{ "$`kpsexpand '$TEXMFMAIN'`/fonts/type1!" },
{ "$`kpsexpand '$TEXMFDIST'`/fonts/type1!" },
#endif
+ /* NetBSD pkgsrc X.org */
+ { @PKGSRC_PREFIX@ "/lib/X11/fonts/Type1" },
+ { @PKGSRC_PREFIX@ "/lib/X11/fonts/truetype" },
+ /* NetBSD native X.org */
+ { "/usr/X11R7/lib/X11/fonts/Type1" },
+ { "/usr/X11R7/lib/X11/fonts/truetype" },
/* Linux paths */
{ "/usr/X11R6/lib/X11/fonts/Type1" },
{ "/usr/X11R6/lib/X11/fonts/truetype" },