> Am 05.11.2016 um 22:41 schrieb René J.V. Bertin <rjvber...@gmail.com>:
> 
> Are there any existing ports that install a QuickLook generator, and if so, 
> is there a policy to follow?

See:

QLColorcode
https://trac.macports.org/browser/trunk/dports/sysutils/qlcolorcode/Portfile

QLMarkdown
https://trac.macports.org/browser/trunk/dports/sysutils/qlmarkdown/Portfile

QLStephen
https://trac.macports.org/browser/trunk/dports/sysutils/QLStephen/Portfile

> Should they go into ${prefix}/Library/QuickLook, or into /Library/QuickLook?

/Library/QuickLook

For details, see into their ports file above:

destroot.violate_mtree  yes
[..]
destroot {
   xinstall -d ${destroot}/Library/QuickLook
   file copy ${worksrcpath}/build/Release/${name}.qlgenerator 
${destroot}/Library/QuickLook
}





Regards,
Sierk Bornemann

Reply via email to