How to handle files installed to /usr/local/lib/qt4/plugins/script/ correctly in pkg-plist?

Max Brazhnikov makc at
Sat Oct 9 22:54:03 UTC 2010

On Sun, 10 Oct 2010 00:02:11 +0200, Friedemann Becker wrote:
> Hello,
> I'm trying to make a port for musescore, it's compiling and
> installing, and now I'm working through the testing chapter in the
> porter's handbook.
> Musescore has some files that are installed into the
> /usr/local/lib/qt4/plugins/script/ directory, and I'm wondering how to
> handle them correctly. All other files install to ${PREFIX}/..., but I
> don't know what to do with the qt-lib directory. Is it okay to leave
> the files there, and if I do so how do I tell pkg-plist about that?
> Is it okay to just put absolute paths there? like
> /usr/local/lib/qt4/plugins/script/ defines several substitutions for plist (e.g. QT_PLUGINDIR_REL for 
lib/qt4/plugins), you should use them instead hardcoded paths.

> Also strange: there already are installed versions of these files, for
> instance it looks like
> -rwxr-xr-x   1 root  wheel    2363778 Oct  9 12:48
> lrwxr-xr-x   1 root  wheel         28 Jun 30 18:42
> ->
> lrwxr-xr-x   1 root  wheel         28 Jun 30 18:42
> ->
> -r--r--r--   1 root  wheel     974529 Jun 30 18:42
> where is installed by Musescore, the symbolic
> links and the where already there.
> What to do best in this situation?

These are installed by devel/qtscriptgenerator. You should patch your port to 
not install these files, otherwise your port will be in conflict with 


More information about the freebsd-ports mailing list