Opened 12 years ago

Closed 12 years ago

#35392 closed submission (fixed)

New port: devel/ninja (build system)

Reported by: 521E328E-2A13-4749-826A-E4EF4F22A0F1@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: ninja

Description

Attached is a Portfile for http://martine.github.com/ninja/

They use date of release as version number. I was unable to convince them to change this¹, and I see a few other ports do stray from the major.minor.patch so I hope this is OK (better to use their version scheme than introduce parallel versioning).

The Portfile uses git as fetch.type as they don’t provide distribution archives other than those automatically generated by GitHub, but I don’t believe these work well with port (because the archive contain a folder that doesn’t match the archive name).

¹ https://groups.google.com/forum/?fromgroups#!topic/ninja-build/j6XRGZGfkFE

Attachments (1)

Portfile (1.5 KB) - added by 521E328E-2A13-4749-826A-E4EF4F22A0F1@… 12 years ago.
Portfile for devel/ninja

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by 521E328E-2A13-4749-826A-E4EF4F22A0F1@…

Attachment: Portfile added

Portfile for devel/ninja

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

Owner: changed from macports-tickets@… to ryandesign@…
Port: ninja added; devel/ninja removed
Status: newassigned

Thanks.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

I've committed it in r96015 with these changes:

  • added standard modeline
  • converted to using github portgroup, thereby allowing it to fetch from a distfile instead of from git, and fixing the livecheck
  • ensured we're UsingTheRightCompiler and -arch flags and added a universal variant
  • enabled verbose build output
Note: See TracTickets for help on using tickets.