Changes between Version 1 and Version 2 of Ticket #37333, comment 5


Ignore:
Timestamp:
Dec 18, 2012, 4:52:27 PM (11 years ago)
Author:
garymamon@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37333, comment 5

    v1 v2  
    44Thank aronnax,
    55
    6 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 the destroot stage, one should specify directories as ${destroot}${prefix} even if at the end the installation is in ${prefix}. I wish the MacPorts documentation had been clearer on this issue!
     6Although 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 the destroot stage, one should specify directories as ${destroot}${prefix} even if at the end the installation is in ${prefix}.
     7
     8I wish the MacPorts documentation had been clearer on this issue!
    79
    810So, I consider the problem solved.