From nobody@FreeBSD.org  Mon May  4 00:25:16 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DFCBF1065672
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  4 May 2009 00:25:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id CCCAB8FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  4 May 2009 00:25:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n440PG6E047556
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 4 May 2009 00:25:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n440PGvi047555;
	Mon, 4 May 2009 00:25:16 GMT
	(envelope-from nobody)
Message-Id: <200905040025.n440PGvi047555@www.freebsd.org>
Date: Mon, 4 May 2009 00:25:16 GMT
From: "Pedro F. Giffuni" <giffunip@tutopia.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Add octave knob for math/plplot
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         134195
>Category:       ports
>Synopsis:       Add octave knob for math/plplot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 04 00:30:01 UTC 2009
>Closed-Date:    Tue May 05 23:00:06 UTC 2009
>Last-Modified:  Tue May  5 23:10:01 UTC 2009
>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@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@tutopia.com
+MAINTAINER=	ports@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:
Responsible-Changed-From-To: freebsd-ports-bugs->amdmi3 
Responsible-Changed-By: amdmi3 
Responsible-Changed-When: Mon May 4 11:23:53 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134195 
State-Changed-From-To: open->feedback 
State-Changed-By: amdmi3 
State-Changed-When: Tue May 5 00:57:34 UTC 2009 
State-Changed-Why:  
Installs file into /, plist is incorrect: 
http://people.freebsd.org/~amdmi3/plplot-5.8.0_1.log 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134195 

From: "Pedro F. Giffuni" <giffunip@tutopia.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/134195: Add octave knob for math/plplot
Date: Mon, 4 May 2009 20:00:41 -0700 (PDT)

 Ughh.. it's not worth it, please just close the PR while it still works (an=
 d drop me as the maintainer).=0A=0A=0A      
State-Changed-From-To: feedback->open 
State-Changed-By: amdmi3 
State-Changed-When: Tue May 5 22:56:59 UTC 2009 
State-Changed-Why:  
Feedback received 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134195 
State-Changed-From-To: open->closed 
State-Changed-By: amdmi3 
State-Changed-When: Tue May 5 23:00:05 UTC 2009 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134195 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/134195: commit references a PR
Date: Tue,  5 May 2009 23:00:11 +0000 (UTC)

 amdmi3      2009-05-05 23:00:02 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math/plplot          Makefile 
   Log:
   - Make BROKEN message for WITH_PYTHON case more informative
   - Reset maintainer at his request
   
   PR:             134195
   Submitted by:   "Pedro F. Giffuni" <giffunip at tutopia dot com> (maintainer)
   
   Revision  Changes    Path
   1.57      +2 -2      ports/math/plplot/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
