[MacPorts] #42596: new port: MobileDevice 1.0.100

MacPorts noreply at macports.org
Sun Feb 23 09:06:01 PST 2014


#42596: new port: MobileDevice 1.0.100
---------------------------------+--------------------------------
  Reporter:  schmurtz_macport@…  |      Owner:  macports-tickets@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.2.1
Resolution:                      |   Keywords:
      Port:                      |
---------------------------------+--------------------------------

Comment (by cal@…):

 You don't need to set `name` since `github.setup` already does that for
 you.

 How did you come up with the version number? It doesn't seem upstream is
 providing any version numbering (or tags, for that matter), so our course
 of action usually is the following:
  - Ask upstream to provide versioning and tags in their git-repo for us to
 track.
  - If upstream isn't willing to do that, reference a commit (like you did)
 and use a date in the form YYYYMMDD as version number.

 The port fails lint (`port lint --nitpick`), because it doesn't set a
 `license` field (effectively preventing binary re-distribution).
 https://github.com/mountainstorm/MobileDevice/blob/master/LICENSE suggests
 the project is MIT-licensed, so `license MIT` would be appropriate. Note
 that the MIT license requires us to ship the license file:
 {{{
 The above copyright notice and this permission notice shall be included in
 all
 copies or substantial portions of the Software.
 }}}
 So you'd have to add something along the lines of:
 {{{
 post-destroot {
   xinstall -m0755 -d ${destroot}${prefix}/share/doc/${name}
   xinstall -m0644 ${worksrcpath}/LICENSE
 ${destroot}${prefix}/share/doc/${name}/
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/42596#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list