[MacPorts] #42886: gildas @201402b_1 New port

MacPorts noreply at macports.org
Thu Mar 27 14:01:17 PDT 2014


#42886: gildas  @201402b_1 New port
--------------------------------+--------------------------------
  Reporter:  sebastien.maret@…  |      Owner:  macports-tickets@…
      Type:  submission         |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.2.1
Resolution:                     |   Keywords:
      Port:                     |
--------------------------------+--------------------------------

Comment (by ryandesign@…):

 Some observations:

  * The lines "`extract.suffix .tar.gz`" and "`worksrcdir ${distname}`"
 should be removed because those are the defaults.
  * You still have "`port:gcc48`" listed as a library dependency.
 Presumably instead the compilers 1.0 portgroup should be allowed to add
 the dependency for you.
  * In the build block, instead of using "`system "cd ${worksrcpath} &&
 ..."`" you should use "`system -W ${worksrcpath} "..."`"
  * In the destroot block, where you refer to "`${workpath}/gildas-exe-
 feb14b`", you should instead simplify that to "`${worksrcpath}`".
  * Instead of using "`system`" to call "`cp -a`", you should just use the
 Tcl command "`copy`".
  * Note that "`reinplace`" can accept multiple filenames in a single
 invocation. So you could simplify the destroot by copying all the files
 individually, then reinplacing the prefix in them all at once.

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


More information about the macports-tickets mailing list