On Jun 21, 2014, at 2:37 AM, Ryan Schmidt <[email protected]> wrote:
> > On Jun 16, 2014, at 7:05 PM, Mark Brethen <[email protected]> wrote: > >> Should this section be patched to place "OCE.framework" in >> ${frameworks_dir}? Initially I used post-destroot to move OCE.framework to >> ${frameworks_dir}. > > Or possibly they expect you to set CMAKE_INSTALL_PREFIX to ${frameworks_dir} > (instead of the default, which is ${prefix}). If that works, and doesn't > cause other unrelated items to also go into ${frameworks_dir}, do that. > Otherwise, yes, the file will need to be patched to put only the framework in > the Frameworks directory. > oce ignores CMAKE_INSTALL_PREFIX, instead using DOCE_INSTALL_PREFIX to install everything; the default is /usr/local. I did not find a command to install the framework to a different location. So I use: post-destroot { move ${destroot}${prefix}/OCE.framework \ ${destroot}${frameworks_dir}/OCE.framework } This solution doesn't require a patch. Mark _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
