Opened 7 years ago

Closed 6 years ago

#28128 closed enhancement (fixed)

'single' variant for plplot

Reported by: drs@… Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: plplot

Description (last modified by jmroot (Joshua Root))

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 
    configure.args-append   -DPLD_xcairo=OFF \
                            -DPLD_xwin=OFF \
                            -DPLD_tk=OFF \

variant single {
    configure.args-append   -DPL_DOUBLE=OFF

thanks, Darrell

Change History (5)

comment:1 Changed 7 years ago by jmroot (Joshua Root)

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

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

comment:2 Changed 7 years ago by tenomoto (Takeshi Enomoto)

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

comment:3 Changed 6 years ago by jmroot (Joshua Root)

This could now be implemented as a subport if desired.

comment:4 Changed 6 years ago by tenomoto (Takeshi Enomoto)

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

comment:5 Changed 6 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

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.