[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/ploticus/ploticus.desc [COPY] Copyright (C) 2004 - 2025 The T2 SDE Project [COPY] Copyright (C) 1998 - 2004 ROCK Linux Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] Data display engine [T] Ploticus is free software that generates plots and graphs from data. [T] The primary components are the ploticus program and libploticus C [T] language API. Create basic plots quickly from the command line using [T] prefabs, or write customized scripts for maximum power and flexibility. [T] You can invoke it manually, automatically from other programs, or [T] directly as a CGI. Produce PNG, GIF, JPEG, SVG or SWF (flash), [T] PostScript/EPS, or X11 graphics. Clickmaps and mouseover popup labels [T] are supported for interactive web use. [U] https://ploticus.sourceforge.net/ [A] Stephen C. Grubb [M] Rene Rebe [C] extra/tool [F] CROSS [L] GPL [S] Stable [V] 242 [D] b50fd4b18e639756b8583d5385e04370a15bd9abf733ea6c14c49ed6 ploticus242_src.tar.gz http://dl.sourceforge.net/sourceforge/ploticus/ # set prefabs dir during build so that PLOTICUS_PREFABS environment variable # does not have to be set explicitly PREFABS_DIR=/$prefix/share/ploticus/prefabs/ var_append makeopt ' ' PREFABS_DIR=$PREFABS_DIR ploticus_install() { install src/pl $root$bindir/ploticus #FIXME shared file with swi-prolog, have to convert sources to # always use the "ploticus" name instead of # ln -svf pl $root$bindir/pl mkdir -p $root/$prefix/share/ploticus cp -rfv prefabs $root${PREFABS_DIR%prefabs/} # somehow the docs change with each version released ... # cp -fv man/man1/pl.1 $root/$prefic/man/man1/ploticus.1 # cp -fv man/man3/libploticus.3 $root/$prefic/man/man3/ # cp -rfv man/manpl $docdir # cp -rfv man $docdir } # change into src, and do not run make install var_append makeopt ' ' '-C src' makeinstopt= hook_add postmake 3 "ploticus_install" if pkginstalled libx11; then var_append GCC_WRAPPER_INSERT ' ' "$(pkg-config x11 --cflags --libs-only-L)" var_append makeopt ' ' NOX11= var_append makeopt ' ' 'XOBJ="x11.o interact.o"' var_append makeopt ' ' 'XLIBS="-L/usr/X11/lib -lX11"' var_append makeopt ' ' XINCLUDEDIR=-I/usr/X11/include fi