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.7
14 DISTFILE[1]= gnuplot-5.4.7.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 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 318a1501c9e659f39cf05ee5268335671bddc6c20eae06851f262fde27c2e739 5683635 gnuplot-5.4.7.tar.gz
152 [FILE:782: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
197 [FILE:28:manifests/plist.man]
198 share/man/man1/gnuplot.1.gz
201 [FILE:4997:patches/patch-configure]
202 --- configure.orig 2023-02-11 18:35:19 UTC
204 @@ -13047,12 +13047,12 @@ if test -n "$PKG_CONFIG"; then
205 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
207 if test -n "$PKG_CONFIG" && \
208 - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
209 - ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
210 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
211 + ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
214 test $ac_status = 0; }; then
215 - pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
216 + pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.3" 2>/dev/null`
220 @@ -13065,12 +13065,12 @@ if test -n "$PKG_CONFIG"; then
221 pkg_cv_LUA_LIBS="$LUA_LIBS"
223 if test -n "$PKG_CONFIG" && \
224 - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
225 - ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
226 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
227 + ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
230 test $ac_status = 0; }; then
231 - pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
232 + pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
236 @@ -13089,9 +13089,9 @@ else
237 _pkg_short_errors_supported=no
239 if test $_pkg_short_errors_supported = yes; then
240 - LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
241 + LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
243 - LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
244 + LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
246 # Put the nasty error message in config.log where it belongs
247 echo "$LUA_PKG_ERRORS" >&5
248 @@ -13540,7 +13540,7 @@ else
249 LUA_LIBS=$pkg_cv_LUA_LIBS
250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
251 printf "%s\n" "yes" >&6; }
255 elif test $pkg_failed = untried; then
256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
257 @@ -13555,12 +13555,12 @@ if test -n "$PKG_CONFIG"; then
258 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
260 if test -n "$PKG_CONFIG" && \
261 - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
262 - ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
263 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
264 + ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
267 test $ac_status = 0; }; then
268 - pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
269 + pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua- 5.3" 2>/dev/null`
273 @@ -13573,12 +13573,12 @@ if test -n "$PKG_CONFIG"; then
274 pkg_cv_LUA_LIBS="$LUA_LIBS"
276 if test -n "$PKG_CONFIG" && \
277 - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
278 - ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
279 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
280 + ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
283 test $ac_status = 0; }; then
284 - pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
285 + pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
289 @@ -13597,9 +13597,9 @@ else
290 _pkg_short_errors_supported=no
292 if test $_pkg_short_errors_supported = yes; then
293 - LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
294 + LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
296 - LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
297 + LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
299 # Put the nasty error message in config.log where it belongs
300 echo "$LUA_PKG_ERRORS" >&5
301 @@ -14048,7 +14048,7 @@ else
302 LUA_LIBS=$pkg_cv_LUA_LIBS
303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
304 printf "%s\n" "yes" >&6; }
309 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
310 @@ -14089,7 +14089,7 @@ return luaL_openlibs ();
314 -for ac_lib in '' lua lua5.3 lua5.2 lua5.1
315 +for ac_lib in '' lua lua53 lua5.2 lua5.1
317 if test -z "$ac_lib"; then
318 ac_res="none required"
321 [FILE:1209:patches/patch-docs_Makefile.in]
322 --- docs/Makefile.in.orig 2023-02-11 18:35:18 UTC
324 @@ -1033,7 +1033,7 @@ uninstall-am: uninstall-gihDATA
326 ( cd ../src ; $(MAKE) gnuplot$(EXEEXT) )
327 @BUILD_LUA_TRUE@$(LUA_HELP): $(top_srcdir)/term/lua/gnuplot-tikz.lua
328 -@BUILD_LUA_TRUE@ $(AM_V_GEN) $(LUA) $< termhelp > $@
329 +@BUILD_LUA_TRUE@ $(AM_V_GEN) $(LUA) $(top_srcdir)/term/lua/gnuplot-tikz.lua termhelp > $@
331 allterm.h: $(CORETERM) $(LUA_HELP)
332 $(AM_V_GEN) for e in `egrep "^[ ]*START_HELP" $(CORETERM) |\
333 @@ -1056,15 +1056,15 @@ groff: grotxt grodvi grops
336 gnuplot.txt: gnuplot.ms $(srcdir)/titlepag.ms
337 - $(AM_V_GEN) groff -s -p -t -e -ms -Tlatin1 $< > $@
338 + $(AM_V_GEN) groff -s -p -t -e -ms -Tlatin1 gnuplot.ms > $@
340 grodvi: gnuplot-groff.dvi
341 gnuplot-groff.dvi: gnuplot.ms $(srcdir)/titlepag.ms
342 - $(AM_V_GEN) groff -s -p -t -e -ms -Tdvi $< > $@
343 + $(AM_V_GEN) groff -s -p -t -e -ms -Tdvi gnuplot.ms > gnuplot.dvi
345 grops: gnuplot-groff.ps
346 gnuplot-groff.ps: gnuplot.ms $(srcdir)/titlepag.ms
347 - $(AM_V_GEN) groff -s -p -t -e -ms -Tps $< > $@
348 + $(AM_V_GEN) groff -s -p -t -e -ms -Tps gnuplot.ms > gnuplot.ps
350 ### doc2xxx dependencies
351 gnuplot.ms: doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc
354 [FILE:273:patches/patch-src_command.c]
355 --- src/command.c.orig 2022-11-01 21:03:33 UTC
357 @@ -113,6 +113,9 @@ static int thread_rl_RetCode = -1; /* re
361 +# if defined __FreeBSD__ || defined __DragonFly__
362 +# include <sys/wait.h>