# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup github 1.0 PortGroup python27 1.0 github.setup facebook phpsh 1.3 revision 1 categories php devel maintainers singingwolfboy openmaintainer supported_archs noarch license BSD platforms darwin freebsd homepage http://www.phpsh.org description PHP read-eval-print-loop long_description \ phpsh is a read-eval-print-loop for PHP that features readline history, tab \ completion, and quick access to documentation. It was developed at Facebook \ and ironically, is written mostly in Python. checksums rmd160 5188164d79f107d3494a240b33b5e05b1344b40a \ sha256 2792485c541ad8420f912e01a6be85c07b9c352c087e3b4d54a5a61e53f51d0e depends_lib path:bin/php:php5 port:python27 \ port:php5-posix port:php5-pcntl post-patch { 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 xinstall -d ${mandir} move ${destroot}${python.prefix}/man/man1/phpsh.1 ${mandir} }