[MacPorts] #37333: missing destroot and worksrcpath directories on destroot stage when creating binary + documentation port

MacPorts noreply at macports.org
Tue Dec 18 08:50:43 PST 2012


#37333: missing destroot and worksrcpath directories on destroot stage when
creating binary + documentation port
--------------------------+--------------------------------
  Reporter:  garymamon@…  |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.1.2
Resolution:               |   Keywords:  destroot
      Port:               |
--------------------------+--------------------------------

Comment (by garymamon@…):

 Replying to [comment:4 aronnax@…]:
 > FYI, there is already a port called "scamp",
 source:trunk/dports/science/scamp/Portfile.

 Thank aronnax,

 Although that port is for a much older version, the Portfile was useful to
 me. I realized that I had to add {{{install -d}}} and {{{copy}}} commands
 to the destroot phase (the Portfile in the example you mentioned had put
 similar commands in the post-destroot phase). I also realized that in
 destroy, one should specify directories as ${destroy}${prefix} even if at
 the end the installation is in ${prefix}. I wish the MacPorts
 documentation had been clearer on this issue!

 So, I consider the problem solved.

-- 
Ticket URL: <https://trac.macports.org/ticket/37333#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list