#23634: NEW: aap --------------------------------------------+------------------------------- Reporter: mail_ben_schmidt@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: aap | --------------------------------------------+------------------------------- Comment(by ryandesign@…): Replying to [comment:5 ryandesign@…]:
* cleaned up destroot: no need to create that directory beforehand, and no need to overwrite destroot.destdir; just add desired nonstandard args to destroot.args [[br]] * added code from [wiki:PortfileRecipes#doc PortfileRecipes] for installing documentation files; more documentation appears to be available in the doc/ directory; you may want to read doc/README.txt and see if you can improve the port to install those files as well
Sorry, I see now what was going on here. The port already installs the docs into a weird directory, and by creating share/doc before the destroot, you were allowing aap's own build system to install a symlink into that directory pointing to the weird directory. However, the symlink points to the weird directory within the destroot, so that doesn't actually work after the port has been installed and the destroot has been deleted: {{{ $ ls -ld /opt/local/share/doc/aap lrwxr-xr-x 1 root wheel 118 Oct 14 19:30 /opt/local/share/doc/aap -> /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_aap/work/destroot/opt/local/lib/aap/Exec-1.091/doc }}} -- Ticket URL: <https://trac.macports.org/ticket/23634#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS