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

Friedemann Becker ports.friedemann.becker at googlemail.com
Sat Oct 9 22:28:36 UTC 2010


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/libqtscript_core.so?

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 libqtscript_uitools.so
lrwxr-xr-x   1 root  wheel         28 Jun 30 18:42
libqtscript_uitools.so.1 -> libqtscript_uitools.so.1.0.0
lrwxr-xr-x   1 root  wheel         28 Jun 30 18:42
libqtscript_uitools.so.1.0 -> libqtscript_uitools.so.1.0.0
-r--r--r--   1 root  wheel     974529 Jun 30 18:42 libqtscript_uitools.so.1.0.0

where libqtscript_uitools.so is installed by Musescore, the symbolic
links and the libqtscript_uitools.so.1.0.0 where already there.

What to do best in this situation?

Thanks in advance,
Best regards,
Friedemann Becker


More information about the freebsd-ports mailing list