1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
6 VARIANTS= standard lite
7 SDESC[lite]= Command-line driven graphing utility (headless)
8 SDESC[standard]= Command-line driven graphing utility
9 HOMEPAGE= http://www.gnuplot.info/
13 SITES[main]= SF/gnuplot/gnuplot/5.4.10
14 DISTFILE[1]= gnuplot-5.4.10.tar.gz:main
20 SPKGS[standard]= complete
25 OPTIONS_AVAILABLE= LITE
26 OPTIONS_STANDARD= none
29 USES= cpe iconv pkgconfig readline c++:primary
31 LICENSE= CUSTOM1:primary
32 LICENSE_NAME= CUSTOM1:"Gnuplot License"
33 LICENSE_FILE= CUSTOM1:{{WRKSRC}}/Copyright
36 FPC_EQUIVALENT= math/gnuplot
39 CONFIGURE_ARGS= --with-readline=gnu
40 --with-bitmap-terminals
43 PLIST_SUB= MAJORVER=5.4
45 LDFLAGS= -L{{ICONV_LIBRARY_PATH}}
48 [LITE].DESCRIPTION= Build lite variant
49 [LITE].BUILDRUN_DEPENDS_OFF= libGD:single:standard
50 wxWidgets30:primary:standard
51 [LITE].CONFIGURE_ARGS_OFF= --with-gd={{LOCALBASE}}
55 ac_cv_path_WX_CONFIG={{LOCALBASE}}/bin/wx-config
56 [LITE].CONFIGURE_ARGS_ON= --disable-x11-mbfonts
57 --disable-x11-external
70 [LITE].GNOME_COMPONENTS_OFF= atk
77 [LITE].XORG_COMPONENTS_OFF= x11
81 '/^install:/s/install-am//' ${WRKSRC}/share/LaTeX/Makefile.in
83 's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in
85 's|luaL_checkint(|(int)luaL_checkinteger(|' \
86 ${WRKSRC}/term/lua.trm
89 # remove empty directories
90 ${RM} -r ${STAGEDIR}${PREFIX}/libexec/gnuplot
94 (cd ${STAGEDIR}${PREFIX}/share/gnuplot/5.4 && \
95 ${MV} gnuplotrc gnuplotrc.sample)
96 # install examples and strip
97 @${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}
98 (cd ${WRKSRC}/demo && \
99 ${COPYTREE_SHARE} . ${STAGEDIR}${STD_EXAMPLESDIR})
100 ${STRIP_CMD} ${STAGEDIR}${STD_EXAMPLESDIR}/plugin/demo_plugin.so
102 [FILE:1155:descriptions/desc.primary.standard]
103 Gnuplot is a portable multi-platform command-line driven graphing utility.
104 It was originally created to allow scientists and students to visualize
105 mathematical functions and data interactively, but has grown to support
106 many non-interactive uses such as web scripting. It is also used as a
107 plotting engine by third-party applications like Octave. Gnuplot has been
108 supported and under active development since 1986.
110 Gnuplot supports many types of plots in either 2D or 3D. It can draw using
111 lines, points, boxes, contours, vector fields, surfaces, and various
112 associated text. It also supports various specialized plot types. Gnuplot
113 supports many different types of output: interactive screen terminals
114 (with mouse and hotkey input), direct output to pen plotters or modern
115 printers, and output to many file formats (eps, emf, fig, jpeg, LaTeX,
116 pdf, png, postscript, ...). Gnuplot is easily extensible to include new
117 output modes. Recent additions include interactive terminals based on
118 wxWidgets (usable on multiple platforms), and Qt. Mouseable plots embedded
119 in web pages can be generated using the svg or HTML5 canvas terminal
123 [FILE:1293:descriptions/desc.primary.lite]
124 Gnuplot is a portable multi-platform command-line driven graphing utility.
125 It was originally created to allow scientists and students to visualize
126 mathematical functions and data interactively, but has grown to support
127 many non-interactive uses such as web scripting. It is also used as a
128 plotting engine by third-party applications like Octave. Gnuplot has been
129 supported and under active development since 1986.
131 Gnuplot supports many types of plots in either 2D or 3D. It can draw using
132 lines, points, boxes, contours, vector fields, surfaces, and various
133 associated text. It also supports various specialized plot types. Gnuplot
134 supports many different types of output: interactive screen terminals
135 (with mouse and hotkey input), direct output to pen plotters or modern
136 printers, and output to many file formats (eps, emf, fig, jpeg, LaTeX,
137 pdf, png, postscript, ...). Gnuplot is easily extensible to include new
138 output modes. Recent additions include interactive terminals based on
139 wxWidgets (usable on multiple platforms), and Qt. Mouseable plots embedded
140 in web pages can be generated using the svg or HTML5 canvas terminal
143 This is the lite version of the package, which doesn't support rendering
144 directly on graphical terminals and other graphical feaures.
148 975d8c1cc2c41c7cedc4e323aff035d977feb9a97f0296dd2a8a66d197a5b27c 5687565 gnuplot-5.4.10.tar.gz
151 [FILE:782:manifests/plist.primary]
152 @sample share/gnuplot/%%MAJORVER%%/gnuplotrc.sample
153 %%LITE-OFF%%libexec/gnuplot/%%MAJORVER%%/gnuplot_x11
154 %%LITE-OFF%%share/gnuplot/%%MAJORVER%%/app-defaults/Gnuplot
156 share/gnuplot/%%MAJORVER%%/
161 share/gnuplot/%%MAJORVER%%/PostScript/
177 share/gnuplot/%%MAJORVER%%/js/
182 gnuplot_dashedlines.js
193 share/gnuplot/%%MAJORVER%%/lua/gnuplot-tikz.lua
196 [FILE:28:manifests/plist.man]
197 share/man/man1/gnuplot.1.gz
200 [FILE:4997:patches/patch-configure]
201 --- configure.orig 2023-10-20 00:33:55 UTC
203 @@ -13061,12 +13061,12 @@ if test -n "$PKG_CONFIG"; then
204 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
206 if test -n "$PKG_CONFIG" && \
207 - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
208 - ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
209 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
210 + ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
213 test $ac_status = 0; }; then
214 - pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
215 + pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.3" 2>/dev/null`
219 @@ -13079,12 +13079,12 @@ if test -n "$PKG_CONFIG"; then
220 pkg_cv_LUA_LIBS="$LUA_LIBS"
222 if test -n "$PKG_CONFIG" && \
223 - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
224 - ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
225 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
226 + ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
229 test $ac_status = 0; }; then
230 - pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
231 + pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
235 @@ -13103,9 +13103,9 @@ else
236 _pkg_short_errors_supported=no
238 if test $_pkg_short_errors_supported = yes; then
239 - LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
240 + LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
242 - LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
243 + LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
245 # Put the nasty error message in config.log where it belongs
246 echo "$LUA_PKG_ERRORS" >&5
247 @@ -13554,7 +13554,7 @@ else
248 LUA_LIBS=$pkg_cv_LUA_LIBS
249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
250 printf "%s\n" "yes" >&6; }
254 elif test $pkg_failed = untried; then
255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
256 @@ -13569,12 +13569,12 @@ if test -n "$PKG_CONFIG"; then
257 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
259 if test -n "$PKG_CONFIG" && \
260 - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
261 - ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
262 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
263 + ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
266 test $ac_status = 0; }; then
267 - pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
268 + pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua- 5.3" 2>/dev/null`
272 @@ -13587,12 +13587,12 @@ if test -n "$PKG_CONFIG"; then
273 pkg_cv_LUA_LIBS="$LUA_LIBS"
275 if test -n "$PKG_CONFIG" && \
276 - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
277 - ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
278 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
279 + ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
282 test $ac_status = 0; }; then
283 - pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
284 + pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
288 @@ -13611,9 +13611,9 @@ else
289 _pkg_short_errors_supported=no
291 if test $_pkg_short_errors_supported = yes; then
292 - LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
293 + LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
295 - LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
296 + LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
298 # Put the nasty error message in config.log where it belongs
299 echo "$LUA_PKG_ERRORS" >&5
300 @@ -14062,7 +14062,7 @@ else
301 LUA_LIBS=$pkg_cv_LUA_LIBS
302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
303 printf "%s\n" "yes" >&6; }
308 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
309 @@ -14103,7 +14103,7 @@ return luaL_openlibs ();
313 -for ac_lib in '' lua lua5.3 lua5.2 lua5.1
314 +for ac_lib in '' lua lua53 lua5.2 lua5.1
316 if test -z "$ac_lib"; then
317 ac_res="none required"
320 [FILE:1211:patches/patch-docs_Makefile.in]
321 --- docs/Makefile.in.orig 2023-10-20 00:33:54 UTC
323 @@ -1033,7 +1033,7 @@ uninstall-am: uninstall-gihDATA
325 ( cd ../src ; $(MAKE) gnuplot$(EXEEXT) )
326 @BUILD_LUA_TRUE@$(LUA_HELP): $(top_srcdir)/term/lua/gnuplot-tikz.lua
327 -@BUILD_LUA_TRUE@ $(AM_V_GEN) $(LUA) $< termhelp > $@
328 +@BUILD_LUA_TRUE@ $(AM_V_GEN) $(LUA) $(top_srcdir)/term/lua/gnuplot-tikz.lua termhelp > $@
330 allterm.h: $(CORETERM) $(LUA_HELP)
331 $(AM_V_GEN) for e in `grep -E "^[ ]*START_HELP" $(CORETERM) |\
332 @@ -1056,15 +1056,15 @@ groff: grotxt grodvi grops
335 gnuplot.txt: gnuplot.ms $(srcdir)/titlepag.ms
336 - $(AM_V_GEN) groff -s -p -t -e -ms -Tlatin1 $< > $@
337 + $(AM_V_GEN) groff -s -p -t -e -ms -Tlatin1 gnuplot.ms > $@
339 grodvi: gnuplot-groff.dvi
340 gnuplot-groff.dvi: gnuplot.ms $(srcdir)/titlepag.ms
341 - $(AM_V_GEN) groff -s -p -t -e -ms -Tdvi $< > $@
342 + $(AM_V_GEN) groff -s -p -t -e -ms -Tdvi gnuplot.ms > gnuplot.dvi
344 grops: gnuplot-groff.ps
345 gnuplot-groff.ps: gnuplot.ms $(srcdir)/titlepag.ms
346 - $(AM_V_GEN) groff -s -p -t -e -ms -Tps $< > $@
347 + $(AM_V_GEN) groff -s -p -t -e -ms -Tps gnuplot.ms > gnuplot.ps
349 ### doc2xxx dependencies
350 gnuplot.ms: doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc
353 [FILE:273:patches/patch-src_command.c]
354 --- src/command.c.orig 2023-09-04 21:20:22 UTC
356 @@ -113,6 +113,9 @@ static int thread_rl_RetCode = -1; /* re
360 +# if defined __FreeBSD__ || defined __DragonFly__
361 +# include <sys/wait.h>