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! |
| 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}. |
| 7 | |
| 8 | I wish the MacPorts documentation had been clearer on this issue! |