On Sep 13, 2016, at 12:45 AM, Ken Cunningham <ken.cunningham.web...@gmail.com> 
wrote:
> To make it install as a command line app, I could xinstall the relevant parts 
> of the build folder into ${prefix}/libexec/sshuttle,

${destroot}${prefix}/libexec/sshuttle (in post-destroot phase).

> and then use a system call to symlink the main binary  back into
> 
> ${prefix}/bin

${destroot}${prefix}/bin

> Is that the recommended way to manage a port like this?

That seems reasonable.

The trac port does something similar in post-destroot (copying some files into 
${destroot}${prefix}/share/trac/contrib and then linking some things into 
${destroot}${prefix}/bin) if you're looking for an example to help.

-- 
Daniel J. Luke



_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to