Opened 6 years ago

Closed 5 years ago

#28128 closed enhancement (fixed)

'single' variant for plplot

Reported by: drs@… Owned by: tenomoto
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 
                            -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 (5)

comment:1 Changed 6 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 6 years ago by tenomoto

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

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

This could now be implemented as a subport if desired.

comment:4 Changed 5 years ago by tenomoto

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

comment:5 Changed 5 years ago by tenomoto

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

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.