[MacPorts] #38321: gnuplot @4.6.1 Enhancement: add variant for old bitmap formats

MacPorts noreply at macports.org
Thu Mar 7 09:26:33 PST 2013


#38321: gnuplot @4.6.1 Enhancement: add variant for old bitmap formats
-------------------------+--------------------------------
 Reporter:  predoehl@…   |      Owner:  macports-tickets@…
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.1.3
 Keywords:  haspatch     |       Port:  gnuplot
-------------------------+--------------------------------
 A default build of Gnuplot >= 4.6.0 lacks terminal support for PBM and
 other old-school bitmap formats.  Quoting the release notes, it is
 "available if needed but is no longer configured in by default."  There is
 a configure option that turns it on.

 I still happen to need PBM support, so I added a new variant to the
 corresponding port, calling it "bmpterm" -- maybe not the best name.  I've
 tested it and it worked for me.  It's a just tiny patch to the Portfile,
 so I'll just embed the whole patch here:

 {{{
 --- Portfile.orig       2013-03-06 22:35:07.000000000 -0700
 +++ Portfile    2013-03-07 10:20:26.000000000 -0700
 @@ -5,7 +5,7 @@
  PortGroup                   xcodeversion 1.0

  name                        gnuplot
 -version                     4.6.1
 +version                     4.6.2
  revision        1
  categories                  math science
  # the license has some inconvenient requirements that we're not meeting
 @@ -111,6 +111,10 @@
      configure.args-delete   --without-cairo
  }

 +variant bmpterm description "Enable bitmap-output terminals" {
 +    configure.args-append   --with-bitmap-terminals
 +}
 +
  # One can in principle choose between wxWidgets and wxWidgets-devel,
  # but only 2.9 allows building 64-bit binaries.
  # If it is acceptable to depend on wxWidgets-devel only,
 }}}

 I'm new to MacPorts, so maybe I'm doing this wrong -- if so, I welcome
 your feedback.  Thanks!

-- 
Ticket URL: <https://trac.macports.org/ticket/38321>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list