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.5
14 DISTFILE[1]= gnuplot-5.4.5.tar.gz:main
19 SPKGS[standard]= complete
23 OPTIONS_AVAILABLE= LITE
24 OPTIONS_STANDARD= none
27 USES= cpe iconv pkgconfig readline c++:primary
29 LICENSE= CUSTOM1:primary
30 LICENSE_NAME= CUSTOM1:"Gnuplot License"
31 LICENSE_FILE= CUSTOM1:{{WRKSRC}}/Copyright
34 FPC_EQUIVALENT= math/gnuplot
37 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 wxWidgets: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
78 [LITE].XORG_COMPONENTS_OFF= x11
82 '/^install:/s/install-am//' ${WRKSRC}/share/LaTeX/Makefile.in
84 's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in
86 's|luaL_checkint(|(int)luaL_checkinteger(|' \
87 ${WRKSRC}/term/lua.trm
90 # remove empty directories
91 ${RM} -r ${STAGEDIR}${PREFIX}/libexec/gnuplot
95 (cd ${STAGEDIR}${PREFIX}/share/gnuplot/5.4 && \
96 ${MV} gnuplotrc gnuplotrc.sample)
97 # install examples and strip
98 @${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}
99 (cd ${WRKSRC}/demo && \
100 ${COPYTREE_SHARE} . ${STAGEDIR}${STD_EXAMPLESDIR})
101 ${STRIP_CMD} ${STAGEDIR}${STD_EXAMPLESDIR}/plugin/demo_plugin.so
103 [FILE:1155:descriptions/desc.primary.standard]
104 Gnuplot is a portable multi-platform command-line driven graphing utility.
105 It was originally created to allow scientists and students to visualize
106 mathematical functions and data interactively, but has grown to support
107 many non-interactive uses such as web scripting. It is also used as a
108 plotting engine by third-party applications like Octave. Gnuplot has been
109 supported and under active development since 1986.
111 Gnuplot supports many types of plots in either 2D or 3D. It can draw using
112 lines, points, boxes, contours, vector fields, surfaces, and various
113 associated text. It also supports various specialized plot types. Gnuplot
114 supports many different types of output: interactive screen terminals
115 (with mouse and hotkey input), direct output to pen plotters or modern
116 printers, and output to many file formats (eps, emf, fig, jpeg, LaTeX,
117 pdf, png, postscript, ...). Gnuplot is easily extensible to include new
118 output modes. Recent additions include interactive terminals based on
119 wxWidgets (usable on multiple platforms), and Qt. Mouseable plots embedded
120 in web pages can be generated using the svg or HTML5 canvas terminal
124 [FILE:1293:descriptions/desc.primary.lite]
125 Gnuplot is a portable multi-platform command-line driven graphing utility.
126 It was originally created to allow scientists and students to visualize
127 mathematical functions and data interactively, but has grown to support
128 many non-interactive uses such as web scripting. It is also used as a
129 plotting engine by third-party applications like Octave. Gnuplot has been
130 supported and under active development since 1986.
132 Gnuplot supports many types of plots in either 2D or 3D. It can draw using
133 lines, points, boxes, contours, vector fields, surfaces, and various
134 associated text. It also supports various specialized plot types. Gnuplot
135 supports many different types of output: interactive screen terminals
136 (with mouse and hotkey input), direct output to pen plotters or modern
137 printers, and output to many file formats (eps, emf, fig, jpeg, LaTeX,
138 pdf, png, postscript, ...). Gnuplot is easily extensible to include new
139 output modes. Recent additions include interactive terminals based on
140 wxWidgets (usable on multiple platforms), and Qt. Mouseable plots embedded
141 in web pages can be generated using the svg or HTML5 canvas terminal
144 This is the lite version of the package, which doesn't support rendering
145 directly on graphical terminals and other graphical feaures.
149 66f679115dd30559e110498fc94d926949d4d370b4999a042e724b8e910ee478 5643171 gnuplot-5.4.5.tar.gz
152 [FILE:810:manifests/plist.primary]
153 @sample share/gnuplot/%%MAJORVER%%/gnuplotrc.sample
154 %%LITE-OFF%%libexec/gnuplot/%%MAJORVER%%/gnuplot_x11
155 %%LITE-OFF%%share/gnuplot/%%MAJORVER%%/app-defaults/Gnuplot
157 share/gnuplot/%%MAJORVER%%/
162 share/gnuplot/%%MAJORVER%%/PostScript/
178 share/gnuplot/%%MAJORVER%%/js/
183 gnuplot_dashedlines.js
194 share/gnuplot/%%MAJORVER%%/lua/gnuplot-tikz.lua
195 share/man/man1/gnuplot.1.gz
198 [FILE:4997:patches/patch-configure]
199 --- configure.orig 2022-09-26 16:40:08 UTC
201 @@ -13047,12 +13047,12 @@ if test -n "$PKG_CONFIG"; then
202 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
204 if test -n "$PKG_CONFIG" && \
205 - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
206 - ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
207 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
208 + ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
211 test $ac_status = 0; }; then
212 - pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
213 + pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.3" 2>/dev/null`
217 @@ -13065,12 +13065,12 @@ if test -n "$PKG_CONFIG"; then
218 pkg_cv_LUA_LIBS="$LUA_LIBS"
220 if test -n "$PKG_CONFIG" && \
221 - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
222 - ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
223 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
224 + ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
227 test $ac_status = 0; }; then
228 - pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
229 + pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
233 @@ -13089,9 +13089,9 @@ else
234 _pkg_short_errors_supported=no
236 if test $_pkg_short_errors_supported = yes; then
237 - LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
238 + LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
240 - LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
241 + LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
243 # Put the nasty error message in config.log where it belongs
244 echo "$LUA_PKG_ERRORS" >&5
245 @@ -13540,7 +13540,7 @@ else
246 LUA_LIBS=$pkg_cv_LUA_LIBS
247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
248 printf "%s\n" "yes" >&6; }
252 elif test $pkg_failed = untried; then
253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
254 @@ -13555,12 +13555,12 @@ if test -n "$PKG_CONFIG"; then
255 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
257 if test -n "$PKG_CONFIG" && \
258 - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
259 - ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
260 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
261 + ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
264 test $ac_status = 0; }; then
265 - pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
266 + pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua- 5.3" 2>/dev/null`
270 @@ -13573,12 +13573,12 @@ if test -n "$PKG_CONFIG"; then
271 pkg_cv_LUA_LIBS="$LUA_LIBS"
273 if test -n "$PKG_CONFIG" && \
274 - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
275 - ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
276 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
277 + ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
280 test $ac_status = 0; }; then
281 - pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
282 + pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
286 @@ -13597,9 +13597,9 @@ else
287 _pkg_short_errors_supported=no
289 if test $_pkg_short_errors_supported = yes; then
290 - LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
291 + LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
293 - LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
294 + LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
296 # Put the nasty error message in config.log where it belongs
297 echo "$LUA_PKG_ERRORS" >&5
298 @@ -14048,7 +14048,7 @@ else
299 LUA_LIBS=$pkg_cv_LUA_LIBS
300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
301 printf "%s\n" "yes" >&6; }
306 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
307 @@ -14089,7 +14089,7 @@ return luaL_openlibs ();
311 -for ac_lib in '' lua lua5.3 lua5.2 lua5.1
312 +for ac_lib in '' lua lua53 lua5.2 lua5.1
314 if test -z "$ac_lib"; then
315 ac_res="none required"
318 [FILE:1209:patches/patch-docs_Makefile.in]
319 --- docs/Makefile.in.orig 2022-09-26 16:40:07 UTC
321 @@ -1033,7 +1033,7 @@ uninstall-am: uninstall-gihDATA
323 ( cd ../src ; $(MAKE) gnuplot$(EXEEXT) )
324 @BUILD_LUA_TRUE@$(LUA_HELP): $(top_srcdir)/term/lua/gnuplot-tikz.lua
325 -@BUILD_LUA_TRUE@ $(AM_V_GEN) $(LUA) $< termhelp > $@
326 +@BUILD_LUA_TRUE@ $(AM_V_GEN) $(LUA) $(top_srcdir)/term/lua/gnuplot-tikz.lua termhelp > $@
328 allterm.h: $(CORETERM) $(LUA_HELP)
329 $(AM_V_GEN) for e in `egrep "^[ ]*START_HELP" $(CORETERM) |\
330 @@ -1059,15 +1059,15 @@ groff: grotxt grodvi grops
333 gnuplot.txt: gnuplot.ms $(srcdir)/titlepag.ms
334 - $(AM_V_GEN) groff -s -p -t -e -ms -Tlatin1 $< > $@
335 + $(AM_V_GEN) groff -s -p -t -e -ms -Tlatin1 gnuplot.ms > $@
337 grodvi: gnuplot-groff.dvi
338 gnuplot-groff.dvi: gnuplot.ms $(srcdir)/titlepag.ms
339 - $(AM_V_GEN) groff -s -p -t -e -ms -Tdvi $< > $@
340 + $(AM_V_GEN) groff -s -p -t -e -ms -Tdvi gnuplot.ms > gnuplot.dvi
342 grops: gnuplot-groff.ps
343 gnuplot-groff.ps: gnuplot.ms $(srcdir)/titlepag.ms
344 - $(AM_V_GEN) groff -s -p -t -e -ms -Tps $< > $@
345 + $(AM_V_GEN) groff -s -p -t -e -ms -Tps gnuplot.ms > gnuplot.ps
347 ### doc2xxx dependencies
348 gnuplot.ms: doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc
351 [FILE:273:patches/patch-src_command.c]
352 --- src/command.c.orig 2022-09-26 16:24:42 UTC
354 @@ -113,6 +113,9 @@ static int thread_rl_RetCode = -1; /* re
358 +# if defined __FreeBSD__ || defined __DragonFly__
359 +# include <sys/wait.h>