I'm working on a MacPorts Portfile to install Wt on OS X.  I noticed that the 
default installer creates a directory ${CMAKE_INSTALL_PREFIX}/cmake and drops 
the FindQt.cmake file into it.

MacPorts is pretty picky about where files get dropped on the filesystem (see 
man porthier - included for reference below).  Based on my quick read through 
of the porthier man page and a little poking around the macports filesystem, I 
believe this file would be best placed in 
${CMAKE_INSTALL_PREFIX}/share/wt/FindQt.cmake.

Is there a configuration option to control where this file is installed?

Thanks,
Craig

Craig Miller
http://spatialminds.com


PORTHIER(7)          BSD Miscellaneous Information Manual          PORTHIER(7)

NAME
     porthier -- layout of the ports-filesystems

DESCRIPTION
     A sketch of the filesystem hierarchy as it is applied on ports being 
distributed by MacPorts.

     ${prefix}/      The base of the MacPorts filesystem hierarchy. By default 
set to "/opt/local/"

                     bin/      common utilities, programming tools, and 
applications

                     etc/      system configuration files and scripts

                     include/  standard C include files

                     lib/      archive libraries

                     libexec/  system daemons & system utilities (executed by 
other programs)

                     Library/Frameworks/
                               Native Mac OS X Library Frameworks

                     sbin/     system programs and administration utilities

                     share/    architecture-independent files

                               doc/       miscellaneous documentation
                               examples/  various examples for users and 
programmers
                               info/      GNU Info hypertext system
                               java/      applications based on Java
                               locale/    localization files
                               man/       manual pages
                               misc/      misc system-wide ASCII text files

                     src/      source code

                               macports/  MacPorts package building topdir
                     var/      multi-purpose log, temporary, transient, and 
spool files

                               db/     misc. automatically generated 
system-specific database files
                               macports/
                                       MacPorts runtime data
                                       build/  Where ports are built and 
destrooted
                                       distfiles/
                                               Holds the distfiles of the 
fetched ports
                                       receipts/
                                               Obsolete. Formerly held the 
registry information and receipts
                                               for the installed ports, in 
flat-file format.
                                       registry/
                                               Contains the registry database 
in sqlite format.
                                       software/
                                               Holds compressed images of the 
installed ports. These are
                                               extracted to ${prefix} when 
activated.
                                       sources/
                                               Holds the sources of both the 
porttree (the Portfiles) and
                                               the sources for the base system

                               spool/  directory containing output spool files
                               log/    misc. system log files
                               run/    system information files describing 
various info about system since
                                       it was booted

                     www/      files to be served by a http server

                               cgi-bin/  directory for cgi executables

     /Applications/MacPorts/
                     Native Mac OS X applications

SEE ALSO
     port(1), macports.conf(5), portfile(7), portgroup(7), portstyle(7), hier(7)

HISTORY
     The porthier manual page appeared first in MacPorts. Lots of it is based 
on hier(7).


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to