Opened 10 years ago

Closed 10 years ago

#46169 closed enhancement (fixed)

cmake @3.0.2 Adding documentation variant

Reported by: jonathanrmadsen@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: cssdev
Port: cmake

Description

Added doc variant. Requires py-sphinx. Set building doc to default

Attachments (2)

Portfile (4.7 KB) - added by jonathanrmadsen@… 10 years ago.
Modified Portfile
cmake.diff (1.0 KB) - added by jonathanrmadsen@… 10 years ago.
Portfile diff

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by jonathanrmadsen@…

Attachment: Portfile added

Modified Portfile

Changed 10 years ago by jonathanrmadsen@…

Attachment: cmake.diff added

Portfile diff

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: documentation removed

You should provide a unified diff rather than a complete new portfile.

One must never depend on stub ports, like py-sphinx. Instead depend on the specific subport that you're going to use, for example py27-sphinx. Also ensure that MacPorts python2.7 is the version of python that gets used.

cmake.diff is not formatted correctly. It looks like it has embedded ANSI escape codes.

If possible, it is preferable to make documentation a separate port, rather than a variant of an existing port.

comment:2 Changed 10 years ago by michaelld (Michael Dickens)

Owner: changed from macports-tickets@… to michaelld@…

comment:3 Changed 10 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Added in r133052.

Note: See TracTickets for help on using tickets.