From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 28 21:50:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2C5A25ED for ; Thu, 28 Mar 2013 21:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 105016B9 for ; Thu, 28 Mar 2013 21:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2SLo0d9066747 for ; Thu, 28 Mar 2013 21:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2SLo0qp066746; Thu, 28 Mar 2013 21:50:00 GMT (envelope-from gnats) Resent-Date: Thu, 28 Mar 2013 21:50:00 GMT Resent-Message-Id: <201303282150.r2SLo0qp066746@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kevin Zheng Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 55A40425 for ; Thu, 28 Mar 2013 21:40:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 45E57645 for ; Thu, 28 Mar 2013 21:40:31 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2SLeUr5045010 for ; Thu, 28 Mar 2013 21:40:30 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2SLeUMs045009; Thu, 28 Mar 2013 21:40:30 GMT (envelope-from nobody) Message-Id: <201303282140.r2SLeUMs045009@red.freebsd.org> Date: Thu, 28 Mar 2013 21:40:30 GMT From: Kevin Zheng To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/177452: [patch] Update COMMENT and pkg-descr for math/gnuplot X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 21:50:01 -0000 >Number: 177452 >Category: ports >Synopsis: [patch] Update COMMENT and pkg-descr for math/gnuplot >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 21:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Kevin Zheng >Release: 9.1-RELEASE >Organization: >Environment: FreeBSD sigma.local 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The descriptions for math/gnuplot could really use some updating. This patch does just that. - Update COMMENT and pkg-descr, based on the Official Gnuplot Manual - Fix conversion to OptionsNG (someone forgot NOPORTDOCS and NOPORTEXAMPLES) - Add EXAMPLES to the list of options - Use standard DESC lines for a few common options (like X11) - Trim ABI numbers from LIB_DEPENDS >How-To-Repeat: >Fix: Apply the attached patch (using `svn patch`) in ports/head/math/gnuplot. Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 315502) +++ Makefile (working copy) @@ -7,7 +7,7 @@ MASTER_SITES= SF MAINTAINER= glewis@FreeBSD.org -COMMENT= A command-driven interactive function plotting program +COMMENT= Command-line driven graphing utility GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-lasergnu \ @@ -18,16 +18,12 @@ --with-bitmap-terminals MAKE_JOBS_SAFE= yes -OPTIONS_DEFINE= CAIRO GD GRIDBOX PDF PLOT TETEX THINSPLINES WX X11 -CAIRO_DESC= Enable CAIRO support -GD_DESC= Enable GD support +OPTIONS_DEFINE= CAIRO EXAMPLES GD GRIDBOX PDF PLOT TETEX THINSPLINES WX X11 GRIDBOX_DESC= Use the gridbox optimization for hidden3d -PDF_DESC= Enable PDF support PLOT_DESC= Enable plot support TETEX_DESC= Search kpsexpand at run-time THINSPLINES_DESC= Enable thin plate splines for grids in dgrid3d -WX_DESC= Enable WX support -X11_DESC= Enable X11 support +WX_DESC= wxWidgets (formerly wxWindows) support OPTIONS_DEFAULT=CAIRO GD PDF PLOT TETEX WX X11 @@ -36,14 +32,14 @@ .include .if ${PORT_OPTIONS:MCAIRO} -LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo +LIB_DEPENDS+= cairo:${PORTSDIR}/graphics/cairo USE_GNOME+= pango .else CONFIGURE_ARGS+= --without-cairo .endif .if ${PORT_OPTIONS:MGD} -LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd +LIB_DEPENDS+= gd:${PORTSDIR}/graphics/gd CONFIGURE_ARGS+= --with-gd=${LOCALBASE} .else CONFIGURE_ARGS+= --without-gd @@ -54,7 +50,7 @@ .endif .if ${PORT_OPTIONS:MPDF} -LIB_DEPENDS+= pdf.6:${PORTSDIR}/print/pdflib +LIB_DEPENDS+= pdf:${PORTSDIR}/print/pdflib CONFIGURE_ARGS+= --with-pdf=${LOCALBASE} .else CONFIGURE_ARGS+= --without-pdf @@ -62,7 +58,7 @@ .if ${PORT_OPTIONS:MPLOT} USE_XORG+= xaw xmu xt xext -LIB_DEPENDS+= plot.4:${PORTSDIR}/graphics/plotutils +LIB_DEPENDS+= plot:${PORTSDIR}/graphics/plotutils CONFIGURE_ARGS+= --with-plot=${LOCALBASE} .else CONFIGURE_ARGS+= --without-plot @@ -99,10 +95,10 @@ PLIST_SUB+= X11="@comment " .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} PORTDOCS= * .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} PORTEXAMPLES= * .endif @@ -115,7 +111,7 @@ 's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in @${FIND} "${WRKSRC}" -name '*.orig' -delete -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-build: @cd ${WRKSRC}/docs && ${MAKE} groff .endif @@ -127,7 +123,8 @@ cd ${WRKSRC}/demo && ${FIND} . \ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} .endif -.if !defined(NOPORTDOCS) + +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR}/psdoc cd ${WRKSRC}/docs && ${INSTALL_DATA} gnuplot.txt gnuplot.dvi \ gnuplot.ps ${DOCSDIR} Index: pkg-descr =================================================================== --- pkg-descr (revision 315502) +++ pkg-descr (working copy) @@ -1,32 +1,19 @@ -Gnuplot is a command-driven interactive function plotting program. +Gnuplot is a portable multi-platform command-line driven graphing utility. It +was originally created to allow scientists and students to visualize +mathematical functions and data interactively, but has grown to support many +non-interactive uses such as web scripting. It is also used as a plotting engine +by third-party applications like Octave. Gnuplot has been supported and under +active development since 1986. -Plots any number of functions, built up of C operators, C library -functions, and some things C doesn't have like **, sgn(), etc. Also -support for plotting data files, to compare actual data to -theoretical curves. +Gnuplot supports many types of plots in either 2D or 3D. It can draw using +lines, points, boxes, contours, vector fields, surfaces, and various associated +text. It also supports various specialized plot types. Gnuplot supports many +different types of output: interactive screen terminals (with mouse and hotkey +input), direct output to pen plotters or modern printers, and output to many +file formats (eps, emf, fig, jpeg, LaTeX, pdf, png, postscript, ...). Gnuplot is +easily extensible to include new output modes. Recent additions include +interactive terminals based on wxWidgets (usable on multiple platforms), and Qt. +Mouseable plots embedded in web pages can be generated using the svg or HTML5 +canvas terminal drivers. -User-defined X and Y ranges (optional auto-ranging), smart axes -scaling, smart tic marks. - -Labelling of X and Y axes. - -User-defined constants and functions. - -Support through a generalized graphics driver for AED 512, AED 767, -BBN BitGraph, Commodore Amiga, Roland DXY800A, EEPIC, TeXDraw, EmTeX, -Epson 60dpi printers, Epson LX-800, Fig, HP2623, HP2648, HP75xx, HPGL, -HP LaserJet II, Imagen, Iris 4D, MS-DOS Kermit, Kyocera laser printer, -LaTeX, NEC CP6 pinwriter, PostScript, QMS QUIC, ReGis (VT125 and -VT2xx), SCO Xenix CGI, Selanar, Star color printer, Tandy DMP-130 -printer, Tek 401x, Tek 410x, Vectrix 384, VT like Tektronix emulator, -Unix PC (ATT 3b1 or ATT 7300), unixplot, and X11. The PC version -compiled by Microsoft C supports IBM CGA, EGA, VGA, Hercules, ATT -6300, and Corona 325 graphics. The PC version compiled by Borland C++ -sup- ports IBM CGA, EGA, MCGA, VGA, Hercules and ATT 6300 graphics. -Other devices can be added simply, but will require recompiling. - -Shell escapes and command line substitution. - -Output redirection. - WWW: http://www.gnuplot.info/ >Release-Note: >Audit-Trail: >Unformatted: