Changes between Initial Version and Version 1 of Ticket #37333, comment 5
- Timestamp:
- Dec 18, 2012, 4:51:47 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37333, comment 5
initial v1 4 4 Thank aronnax, 5 5 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!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! 7 7 8 8 So, I consider the problem solved.