On 03/08/13 16:14, Max Brazhnikov wrote:
On Wed, 06 Mar 2013 23:56:04 +0100 Guido Falsi wrote:
Hi!
I'm updating the port comms/openobex I maintain.
With the last version they moved to cmake. The port is installing these
files:
lib/cmake/OpenObex-1.7/openobex-target-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/OpenObex-1.7/openobex-config-version.cmake
lib/cmake/OpenObex-1.7/openobex-target.cmake
lib/cmake/OpenObex-1.7/openobex-config.cmake
I had a look at other ports installing similar files and found out that
these are being put in a plethora of places.
cmake(1) will look for them in:
<prefix>/(lib/<arch>|lib|share)/cmake/<name>*/
<prefix>/(lib/<arch>|lib|share)/<name>*/
<prefix>/(lib/<arch>|lib|share)/<name>*/(cmake|CMake)/
Not being a cmake guru I'm not sure what is the "right thing" about these.
Should I leave the port put them where he wants them and just update the
plist?
yes.
Is there a standard place where such files should be put? Or a standard
nomenclature for the directory(most ports I have seen use just lowercase
PORTNAME for this)
http://xkcd.com/927/
Or there is no consensus and it's at maintainer/committer discretion?
BTW what are these files for? :)
Think of them like *.pc files for pkg-config.
Thanks for the reply. This is exactly the information I was looking for.
--
Guido Falsi <madpi...@freebsd.org>
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information