SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

66
math/gnuplot/Makefile Normal file
View file

@ -0,0 +1,66 @@
COMMENT = command-driven interactive function plotting program
V = 5.2
PATCHLEVEL = 7
DISTNAME = gnuplot-${V}.${PATCHLEVEL}
CATEGORIES = math graphics
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=gnuplot/}
REVISION = 1
HOMEPAGE = http://www.gnuplot.info/
MAINTAINER = Paul Irofti <paul@irofti.net>
# see Copyright in source
# http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright
PERMIT_PACKAGE = Yes
WANTLIB += c cerf m curses ereadline ${COMPILER_LIBCXX} z
COMPILER = base-clang ports-gcc base-gcc
LIB_DEPENDS += devel/readline \
math/libcerf
FLAVORS = no_cairo no_x11
FLAVOR ?=
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --without-linux-vga \
--without-latex \
--without-tutorial \
--with-readline=${LOCALBASE} \
--disable-wxwidgets \
--with-qt=no \
--without-lua \
--without-pdf
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE = Yes
FAKE_FLAGS = appdefaultdir="${PREFIX}/lib/X11/app-defaults/"
TEST_IS_INTERACTIVE = x11
SUBST_VARS = V
.if ${FLAVOR:Mno_x11}
CONFIGURE_ARGS += --without-x \
--without-gd
.else
LIB_DEPENDS += converters/libiconv graphics/gd
WANTLIB += X11 fontconfig freetype gd iconv jpeg png tiff webp
CONFIGURE_ARGS += --with-x
.endif
.if ${FLAVOR:Mno_cairo} || ${FLAVOR:Mno_x11}
CONFIGURE_ARGS += --without-cairo
.else
LIB_DEPENDS += devel/gettext,-runtime \
devel/pango \
graphics/cairo
WANTLIB += cairo gobject-2.0 glib-2.0 intl pango-1.0 pangocairo-1.0 harfbuzz
.endif
.include <bsd.port.mk>

2
math/gnuplot/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (gnuplot-5.2.7.tar.gz) = l/5QP/Oy41b+KuMiA/x/0s+c7x9Gtg/kbcUBoii59O0=
SIZE (gnuplot-5.2.7.tar.gz) = 5335673

View file

@ -0,0 +1,41 @@
readline -> ereadline
Index: configure
--- configure.orig
+++ configure
@@ -10168,7 +10168,7 @@ fi
if test -d $with_readline/lib; then
LDFLAGS="$LDFLAGS -L$with_readline/lib"
fi
- if test ! -d $with_readline/include/readline; then
+ if test ! -d $with_readline/include/ereadline; then
if test -d $with_readline/include/editline; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $with_readline contains libedit, not readline!" >&5
$as_echo "$as_me: WARNING: $with_readline contains libedit, not readline!" >&2;}
@@ -10261,7 +10261,7 @@ if ${ac_cv_lib_readline_remove_history+:} false; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lreadline ${gp_tcap} $LIBS"
+LIBS="-lereadline ${gp_tcap} $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -10292,7 +10292,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_remove_history" >&5
$as_echo "$ac_cv_lib_readline_remove_history" >&6; }
if test "x$ac_cv_lib_readline_remove_history" = xyes; then :
- TERMLIBS="-lreadline $gp_tcap $TERMLIBS"
+ TERMLIBS="-lereadline $gp_tcap $TERMLIBS"
fi
if test "$ac_cv_lib_readline_remove_history" = no; then
@@ -10333,7 +10333,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_remove_history" >&5
$as_echo "$ac_cv_lib_history_remove_history" >&6; }
if test "x$ac_cv_lib_history_remove_history" = xyes; then :
- TERMLIBS="-lreadline -lhistory $gp_tcap $TERMLIBS"
+ TERMLIBS="-lereadline -lhistory $gp_tcap $TERMLIBS"
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU readline not found - falling back to builtin readline" >&5
$as_echo "$as_me: WARNING: GNU readline not found - falling back to builtin readline" >&2;}

View file

@ -0,0 +1,14 @@
command.o: In function `report_error':
command.c:(.text+0x5842): undefined reference to `WEXITSTATUS'
Index: src/command.c
--- src/command.c.orig
+++ src/command.c
@@ -115,6 +115,7 @@ int thread_rl_RetCode = -1; /* return code from readli
#ifndef _Windows
# include "help.h"
+# include <sys/wait.h>
#endif /* _Windows */
#ifdef _Windows

30
math/gnuplot/pkg/DESCR Normal file
View file

@ -0,0 +1,30 @@
Gnuplot is a command-driven interactive function plotting program.
Plots any number of functions, built up of C operators, C library
functions, and some things C doesn't have like **, sgn(), etc. Also
support for plotting data files, to compare actual data to
theoretical curves.
User-defined X and Y ranges (optional auto-ranging), smart axes
scaling, smart tic marks.
Labelling of X and Y axes.
User-defined constants and functions.
Support through a generalized graphics driver for AED 512, AED 767,
BBN BitGraph, Commodore Amiga, Roland DXY800A, EEPIC, TeXDraw, EmTeX,
Epson 60dpi printers, Epson LX-800, Fig, HP2623, HP2648, HP75xx, HPGL,
HP LaserJet II, Imagen, Iris 4D, MS-DOS Kermit, Kyocera laser printer,
LaTeX, NEC CP6 pinwriter, PostScript, QMS QUIC, ReGis (VT125 and
VT2xx), SCO Xenix CGI, Selanar, Star color printer, Tandy DMP-130
printer, Tek 401x, Tek 410x, Vectrix 384, VT like Tektronix emulator,
Unix PC (ATT 3b1 or ATT 7300), unixplot, and X11. The PC version
compiled by Microsoft C supports IBM CGA, EGA, VGA, Hercules, ATT
6300, and Corona 325 graphics. The PC version compiled by Borland C++
supports IBM CGA, EGA, MCGA, VGA, Hercules and ATT 6300 graphics.
Other devices can be added simply, but will require recompiling.
Shell escapes and command line substitution.
Output redirection.

View file

@ -0,0 +1,4 @@
lib/X11/app-defaults/Gnuplot
libexec/gnuplot/
libexec/gnuplot/${V}/
@bin libexec/gnuplot/${V}/gnuplot_x11

44
math/gnuplot/pkg/PLIST Normal file
View file

@ -0,0 +1,44 @@
@bin bin/gnuplot
@man man/man1/gnuplot-ja.1
@man man/man1/gnuplot.1
share/gnuplot/
!%%no_x11%%
share/gnuplot/${V}/
share/gnuplot/${V}/PostScript/
share/gnuplot/${V}/PostScript/8859-1.ps
share/gnuplot/${V}/PostScript/8859-15.ps
share/gnuplot/${V}/PostScript/8859-2.ps
share/gnuplot/${V}/PostScript/8859-9.ps
share/gnuplot/${V}/PostScript/aglfn.txt
share/gnuplot/${V}/PostScript/cp1250.ps
share/gnuplot/${V}/PostScript/cp1251.ps
share/gnuplot/${V}/PostScript/cp1252.ps
share/gnuplot/${V}/PostScript/cp437.ps
share/gnuplot/${V}/PostScript/cp850.ps
share/gnuplot/${V}/PostScript/cp852.ps
share/gnuplot/${V}/PostScript/koi8r.ps
share/gnuplot/${V}/PostScript/koi8u.ps
share/gnuplot/${V}/PostScript/prologue.ps
share/gnuplot/${V}/PostScript/utf-8.ps
share/gnuplot/${V}/colors_default.gp
share/gnuplot/${V}/colors_mono.gp
share/gnuplot/${V}/colors_podo.gp
share/gnuplot/${V}/gnuplot.gih
share/gnuplot/${V}/gnuplotrc
share/gnuplot/${V}/js/
share/gnuplot/${V}/js/README
share/gnuplot/${V}/js/canvasmath.js
share/gnuplot/${V}/js/canvastext.js
share/gnuplot/${V}/js/gnuplot_common.js
share/gnuplot/${V}/js/gnuplot_dashedlines.js
share/gnuplot/${V}/js/gnuplot_mouse.css
share/gnuplot/${V}/js/gnuplot_mouse.js
share/gnuplot/${V}/js/gnuplot_svg.js
share/gnuplot/${V}/js/grid.png
share/gnuplot/${V}/js/help.png
share/gnuplot/${V}/js/nextzoom.png
share/gnuplot/${V}/js/previouszoom.png
share/gnuplot/${V}/js/return.png
share/gnuplot/${V}/js/textzoom.png
share/gnuplot/${V}/lua/
share/gnuplot/${V}/lua/gnuplot-tikz.lua