New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28128 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

'single' variant for plplot

Reported by: drs@… Owned by: takeshi@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: plplot

Description (last modified by jmr@…) (diff)

Some packages (outside of macports, perhaps) depend upon the single precision version of plplot. It would be useful if a 'single' variant could be added to the plplot Portfile, e.g.:

bash$ tail Portfile 
                            -DTK_LIBRARY=${prefix}/lib/libtk.dylib
    configure.args-append   -DPLD_xcairo=OFF \
                            -DPLD_xwin=OFF \
                            -DPLD_tk=OFF \
                            -DENABLE_tk=OFF
}

variant single {
    configure.args-append   -DPL_DOUBLE=OFF
}
bash$ 

thanks, Darrell

Change History

comment:1 Changed 3 years ago by jmr@…

  • Owner changed from macports-tickets@… to takeshi@…
  • Description modified (diff)
  • Port set to plplot

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.

comment:2 Changed 3 years ago by takeshi@…

Isn't it better to create a separate port i.e. plplot-single?

comment:3 Changed 2 years ago by jmr@…

This could now be implemented as a subport if desired.

comment:4 Changed 2 years ago by takeshi@…

Where can I find a way to write subport. I don't find any in guide, man portfile or PortfileRecipes.

comment:5 Changed 2 years ago by takeshi@…

  • Status changed from new to closed
  • Resolution set to fixed

I created plplot-single subport. It is independent from plplot so it can be installed separately and co-exist with plplot (double). Committed in r92763.

Note: See TracTickets for help on using tickets.