Hide Forgot
To install Publican on OS X with Macports, set the following install_path parameters: sudo ./Build install --install_path datadir=/opt/local/share/publican --install_path generated=/opt/local/share/publican/sitetemplate --install_path web=/opt/local/share/publican/sitetemplate --install_path templates=/opt/local/share/publican/templates --install_path etc=/opt/local/etc --install_path completion=/opt/local/etc/bash_completion.d Publican also needs to override the common_config and common_content paths like this: publican create --name=testbook --common_config=/opt/local/share/publican --common_content=/opt/local/share/publican/Common_Content Perl information: misty:~ misty$ perl -e 'print $^O, "\n"' darwin The Perl installed by default in OS X is at /usr/bin/perl and reports the same architecture: misty:~ misty$ /usr/bin/perl -e 'print $^O, "\n"' darwin It might be worth checking the path for perl, and only overriding the paths if Perl is installed in /opt/local/bin. Both binaries present as exactly the same version. If you were using /usr/bin/perl you'd probably want to install Publican into its standard paths.
Hi, I have put the code for this in place, however I can't test it has the desired effect on darwin ... since I don't have it :) Changed default install paths on darwin: from '/usr/share/publican' to '/opt/local/share/publican' from '/etc' to '/opt/local/etc' from '/etc/bash_completion.d' to '/opt/local/etc/bash_completion.d' Changed default path for common_config from '/usr/share/publican' to '/opt/local/share/publican' Changed default path for common_content from '/usr/share/publican/Common_Content' to '/opt/local/share/publican/Common_Content' Applied changes to branches/publican-2x and trunk. Committed revision 1939.
only misty can do this. sorry misty.
Verified in the real world two weeks ago.