Opened 12 years ago

Closed 12 years ago

#37796 closed enhancement (fixed)

scala2.10-docs: New subport of scala

Reported by: mallman (Michael Allman) Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: scala2.10-docs

Description

Attached is a patch to the scala2.10 Portfile which adds a scala2.10-docs subport consisting of the standard API docs. I'm pretty new to portfile development, and I couldn't find any documentation on subports, so please review carefully for correctness. Note it was my original goal to add a +doc variant to the scala2.10 port, however the scala api docs are not available in a distfile of the same format as the scala distribution itself. This prevented the use of MacPorts' native distfile extraction capability, so the subport approach was taken instead.

Attachments (1)

scala2.10_Portfile.patch (1.6 KB) - added by mallman (Michael Allman) 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by mallman (Michael Allman)

Attachment: scala2.10_Portfile.patch added

comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)

Cc: ryandesign@… added; ryandesign removed
Owner: changed from macports-tickets@… to blair@…
Summary: Add scala2.10-docs subportscala2.10-docs: New subport of scala
Version: 2.1.2

Thanks for the ticket. In the future, please try to Cc relevant port maintainers.

FYI, the Cc field takes full email addresses, not just MacPorts handles.

comment:2 Changed 12 years ago by blair (Blair Zajac)

Resolution: fixed
Status: newclosed

Thanks very much! I tweaked the work to move the scala2.10 destroot block into the if block. Committed in r102152.

Note: See TracTickets for help on using tickets.