ports/134195: Add octave knob for math/plplot
Pedro F. Giffuni
giffunip at tutopia.com
Mon May 4 00:30:02 UTC 2009
>Number: 134195
>Category: ports
>Synopsis: Add octave knob for math/plplot
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon May 04 00:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Pedro F. Giffuni
>Release: 7.2-RC2
>Organization:
>Environment:
FreeBSD kakumen.cable.net.co 7.2-RC2 FreeBSD 7.2-RC2 #1: Sun May 3 11:06:43 COT 2009 pedro at kakumen.cable.net.co:/usr/src/sys/amd64/compile/GENERIC.Dell amd64
>Description:
- Add knob for Octave support. (untested)
- Remove myself as maintainer: my job doesn't leave me enough time to finish the change of the build system to CMake.
>How-To-Repeat:
>Fix:
diff -ruN plplot.orig/Makefile plplot/Makefile
--- plplot.orig/Makefile 2009-01-11 22:27:03.000000000 -0500
+++ plplot/Makefile 2009-05-03 19:15:21.000000000 -0500
@@ -11,7 +11,7 @@
CATEGORIES= math science
MASTER_SITES= SF
-MAINTAINER= giffunip at tutopia.com
+MAINTAINER= ports at FreeBSD.org
COMMENT= A scientific plotting package
LIB_DEPENDS= unicode.0:${PORTSDIR}/devel/libunicode \
@@ -67,8 +67,16 @@
CONFIGURE_ARGS+= --disable-gcw
.endif
+.if defined(WITH_OCTAVE)
+CONFIGURE_ARGS+= --enable-octave
+BUILD_DEPENDS+= octave:${PORTSDIR}/math/octave
+PLIST_SUB+= OCTAVE=""
+.else
+PLIST_SUB+= OCTAVE="@comment "
+.endif
+
.if defined(WITH_PYTHON)
-BROKEN= does not build
+BROKEN= Broken with PYTHON
USE_PYTHON= yes
PLIST_SUB+= PYTHON=""
CONFIGURE_ENV+= PYTHON_VERSION="${PYTHON_VERSION}"
@@ -114,6 +122,7 @@
@${ECHO_MSG} " WITHOUT_X11=yes Turns off X11 support"
@${ECHO_MSG} " WITH_FORTRAN=yes Turns on Fortran support"
@${ECHO_MSG} " WITH_GNOME=yes Turns on GNOME driver support"
+ @${ECHO_MSG} " WITH_OCTAVE=yes Turns on Octave support"
@${ECHO_MSG} " WITH_PYTHON=yes Turns on Python support"
@${ECHO_MSG} " WITH_SVGALIB=yes Turns on SVGAlib support"
@${ECHO_MSG} " WITH_TCLTK=yes Turns on Tcl/Tk support"
diff -ruN plplot.orig/pkg-plist plplot/pkg-plist
--- plplot.orig/pkg-plist 2009-01-11 22:27:03.000000000 -0500
+++ plplot/pkg-plist 2009-05-03 19:14:35.000000000 -0500
@@ -422,6 +422,184 @@
%%GNOME%%%%DATADIR%%%%VERSION%%/examples/c/plplotcanvas_demo.c
%%FORTRAN%%@dirrm %%DATADIR%%%%VERSION%%/examples/f95
%%FORTRAN%%@dirrm %%DATADIR%%%%VERSION%%/examples/f77
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/diffn.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/gradn.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/lena.img
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p1.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p10.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p11.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p12.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p13.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p14.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p15.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p16.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p17.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p18.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p19.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p2.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p20.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p21.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p3.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p4.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p5.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p6.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p7.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p8.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/p9.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/plplot_octave_demo.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/rosenbrock.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x01c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x02c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x03c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x04c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x05c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x06c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x07c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x08c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x09c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x10c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x11c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x12c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x13c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x14c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x15c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x16c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x17c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x18c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x19c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/octave/x22c.m
+%%OCTAVE%%share/plplot%%VERSION%%/examples/test_octave.sh
+%%OCTAVE%%@dirrm share/plplot%%VERSION%%/examples/octave/
+%%OCTAVE%%share/plplot_octave/arrow.m
+%%OCTAVE%%share/plplot_octave/arrows.m
+%%OCTAVE%%share/plplot_octave/autostyle.m
+%%OCTAVE%%share/plplot_octave/axis.m
+%%OCTAVE%%share/plplot_octave/axis_set.m
+%%OCTAVE%%share/plplot_octave/bgr.m
+%%OCTAVE%%share/plplot_octave/blue.m
+%%OCTAVE%%share/plplot_octave/bone.m
+%%OCTAVE%%share/plplot_octave/bottom_title.m
+%%OCTAVE%%share/plplot_octave/clip.m
+%%OCTAVE%%share/plplot_octave/closeallfig.m
+%%OCTAVE%%share/plplot_octave/closefig.m
+%%OCTAVE%%share/plplot_octave/colormap.m
+%%OCTAVE%%share/plplot_octave/comet.m
+%%OCTAVE%%share/plplot_octave/contour.m
+%%OCTAVE%%share/plplot_octave/cool.m
+%%OCTAVE%%share/plplot_octave/copper.m
+%%OCTAVE%%share/plplot_octave/drawnow.m
+%%OCTAVE%%share/plplot_octave/fig.m
+%%OCTAVE%%share/plplot_octave/fig_raise.m
+%%OCTAVE%%share/plplot_octave/fig_state.m
+%%OCTAVE%%share/plplot_octave/figure.m
+%%OCTAVE%%share/plplot_octave/fill.m
+%%OCTAVE%%share/plplot_octave/free_fig.m
+%%OCTAVE%%share/plplot_octave/ginput.m
+%%OCTAVE%%share/plplot_octave/green.m
+%%OCTAVE%%share/plplot_octave/grid.m
+%%OCTAVE%%share/plplot_octave/griddata.m
+%%OCTAVE%%share/plplot_octave/gtext.m
+%%OCTAVE%%share/plplot_octave/hls2rgb.m
+%%OCTAVE%%share/plplot_octave/hot.m
+%%OCTAVE%%share/plplot_octave/hsv.m
+%%OCTAVE%%share/plplot_octave/label_plot.m
+%%OCTAVE%%share/plplot_octave/legend.m
+%%OCTAVE%%share/plplot_octave/loglog.m
+%%OCTAVE%%share/plplot_octave/lp_setup.m
+%%OCTAVE%%share/plplot_octave/mesh.m
+%%OCTAVE%%share/plplot_octave/meshc.m
+%%OCTAVE%%share/plplot_octave/meshz.m
+%%OCTAVE%%share/plplot_octave/mplot.m
+%%OCTAVE%%share/plplot_octave/multiplot.m
+%%OCTAVE%%share/plplot_octave/oneplot.m
+%%OCTAVE%%share/plplot_octave/peaks.m
+%%OCTAVE%%share/plplot_octave/pink.m
+%%OCTAVE%%share/plplot_octave/plclearplot.m
+%%OCTAVE%%share/plplot_octave/plclg.m
+%%OCTAVE%%share/plplot_octave/plcolormap.m
+%%OCTAVE%%share/plplot_octave/pldef.m
+%%OCTAVE%%share/plplot_octave/plimage.m
+%%OCTAVE%%share/plplot_octave/plot.m
+%%OCTAVE%%share/plplot_octave/plot3.m
+%%OCTAVE%%share/plplot_octave/plot_border.m
+%%OCTAVE%%share/plplot_octave/plot_margin.m
+%%OCTAVE%%share/plplot_octave/plplot_stub.m
+%%OCTAVE%%share/plplot_octave/plrb.m
+%%OCTAVE%%share/plplot_octave/plsetopt.m
+%%OCTAVE%%share/plplot_octave/polar.m
+%%OCTAVE%%share/plplot_octave/prism.m
+%%OCTAVE%%share/plplot_octave/red.m
+%%OCTAVE%%share/plplot_octave/rgb2hls.m
+%%OCTAVE%%share/plplot_octave/rgbplot.m
+%%OCTAVE%%share/plplot_octave/save_fig.m
+%%OCTAVE%%share/plplot_octave/semilogx.m
+%%OCTAVE%%share/plplot_octave/semilogy.m
+%%OCTAVE%%share/plplot_octave/set_view.m
+%%OCTAVE%%share/plplot_octave/shade.m
+%%OCTAVE%%share/plplot_octave/shading.m
+%%OCTAVE%%share/plplot_octave/shg.m
+%%OCTAVE%%share/plplot_octave/stopdraw.m
+%%OCTAVE%%share/plplot_octave/stripc.m
+%%OCTAVE%%share/plplot_octave/stripc_add.m
+%%OCTAVE%%share/plplot_octave/stripc_del.m
+%%OCTAVE%%share/plplot_octave/struct_contains.m
+%%OCTAVE%%share/plplot_octave/subplot.m
+%%OCTAVE%%share/plplot_octave/subwindow.m
+%%OCTAVE%%share/plplot_octave/support/__comet.m
+%%OCTAVE%%share/plplot_octave/support/__pl_contour.m
+%%OCTAVE%%share/plplot_octave/support/__pl_draw_legend.m
+%%OCTAVE%%share/plplot_octave/support/__pl_fill.m
+%%OCTAVE%%share/plplot_octave/support/__pl_init.m
+%%OCTAVE%%share/plplot_octave/support/__pl_logplotit.m
+%%OCTAVE%%share/plplot_octave/support/__pl_matstr.m
+%%OCTAVE%%share/plplot_octave/support/__pl_mesh.m
+%%OCTAVE%%share/plplot_octave/support/__pl_meshplotit.m
+%%OCTAVE%%share/plplot_octave/support/__pl_opt.m
+%%OCTAVE%%share/plplot_octave/support/__pl_plenv.m
+%%OCTAVE%%share/plplot_octave/support/__pl_plot3.m
+%%OCTAVE%%share/plplot_octave/support/__pl_plotit.m
+%%OCTAVE%%share/plplot_octave/support/__pl_pltext.m
+%%OCTAVE%%share/plplot_octave/support/__pl_polargrid.m
+%%OCTAVE%%share/plplot_octave/support/__pl_store.m
+%%OCTAVE%%share/plplot_octave/support/__plr1__.m
+%%OCTAVE%%share/plplot_octave/support/__plr2__.m
+%%OCTAVE%%share/plplot_octave/support/__plr__.m
+%%OCTAVE%%share/plplot_octave/support/__plt1__.m
+%%OCTAVE%%share/plplot_octave/support/__plt2__.m
+%%OCTAVE%%share/plplot_octave/support/__plt2mm__.m
+%%OCTAVE%%share/plplot_octave/support/__plt2mv__.m
+%%OCTAVE%%share/plplot_octave/support/__plt2ss__.m
+%%OCTAVE%%share/plplot_octave/support/__plt2vm__.m
+%%OCTAVE%%share/plplot_octave/support/__plt2vv__.m
+%%OCTAVE%%share/plplot_octave/support/__plt__.m
+%%OCTAVE%%share/plplot_octave/support/is_strmatrix.m
+%%OCTAVE%%share/plplot_octave/support/is_strvector.m
+%%OCTAVE%%share/plplot_octave/surf.m
+%%OCTAVE%%share/plplot_octave/surfc.m
+%%OCTAVE%%share/plplot_octave/surfl.m
+%%OCTAVE%%share/plplot_octave/tdeblank.m
+%%OCTAVE%%share/plplot_octave/text.m
+%%OCTAVE%%share/plplot_octave/title.m
+%%OCTAVE%%share/plplot_octave/top_title.m
+%%OCTAVE%%share/plplot_octave/xlabel.m
+%%OCTAVE%%share/plplot_octave/xticks.m
+%%OCTAVE%%share/plplot_octave/ylabel.m
+%%OCTAVE%%share/plplot_octave/yticks.m
+%%OCTAVE%%share/plplot_octave/zlabel.m
+%%OCTAVE%%share/plplot_octave/zoom.m
+%%OCTAVE%%%%DOCSDIR%%/BUGS.octave
+%%OCTAVE%%%%DOCSDIR%%/FGA.octave
+%%OCTAVE%%%%DOCSDIR%%/INSTALL.octave
+%%OCTAVE%%%%DOCSDIR%%/README.octave
+%%OCTAVE%%%%DOCSDIR%%/ToDo.octave
+%%OCTAVE%%%%DOCSDIR%%/USAGE.octave
+%%OCTAVE%%PLplot/toggle_plplot_use.m
+%%OCTAVE%%PLplot/use_plplot.m
+%%OCTAVE%%PLplot/plplot_octave_path.m
+%%OCTAVE%%@dirrm PLplot
+%%OCTAVE%%plplot_octave.oct
+%%OCTAVE%%@dirrm share/plplot_octave/support/
+%%OCTAVE%%@dirrm share/plplot_octave
@dirrm %%DATADIR%%%%VERSION%%/examples/c++
@dirrm %%DATADIR%%%%VERSION%%/examples/c
@dirrm %%DATADIR%%%%VERSION%%/examples
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list