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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37333, comment 5

    initial v1  
    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 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!
     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}. I wish the MacPorts documentation had been clearer on this issue!
    77
    88So, I consider the problem solved.