Revision: 81690 http://trac.macports.org/changeset/81690 Author: singingwolfboy@macports.org Date: 2011-08-04 06:49:17 -0700 (Thu, 04 Aug 2011) Log Message: ----------- phpsh: added configure section to set config directory to be under $prefix Modified Paths: -------------- trunk/dports/php/phpsh/Portfile Modified: trunk/dports/php/phpsh/Portfile =================================================================== --- trunk/dports/php/phpsh/Portfile 2011-08-04 13:47:59 UTC (rev 81689) +++ trunk/dports/php/phpsh/Portfile 2011-08-04 13:49:17 UTC (rev 81690) @@ -26,6 +26,12 @@ depends_lib path:bin/php:php5 port:python27 \ port:php5-posix port:php5-pcntl +use_configure yes +configure { + eval reinplace "s|/etc/phpsh|${prefix}/etc/phpsh|g" \ + ${worksrcpath}/setup.py ${worksrcpath}/rc.example.php \ + [glob ${worksrcpath}/src/*] [glob ${worksrcpath}/src/doc/*] +} python.link_binaries_suffix post-destroot { set mandir ${destroot}${prefix}/share/man/man1