aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authoralexeyshockov2011-01-07 21:06:33 +0300
committerAdam Vandenberg2011-03-22 10:15:18 -0700
commit7f0c0ff0b8f44e338b013728a9954e4d99541e57 (patch)
treeb1ef7a19ae6a1e5579dcf3bf8ad50f9dc6c1f546 /Library/Formula
parentd4c021b4f4a894363b93f98341482574963153a8 (diff)
downloadhomebrew-7f0c0ff0b8f44e338b013728a9954e4d99541e57.tar.bz2
phpsh formula.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/phpsh.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/phpsh.rb b/Library/Formula/phpsh.rb
new file mode 100644
index 000000000..ec8e6b50f
--- /dev/null
+++ b/Library/Formula/phpsh.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Phpsh <Formula
+ head 'git://github.com/facebook/phpsh.git'
+ homepage 'http://www.phpsh.org/'
+
+ def install
+ system "python", "setup.py", "build", "--build-scripts=build/scripts"
+ libexec.install Dir["build/lib/*"]
+ libexec.install "build/scripts/dbgp-phpsh.py"
+ libexec.install "build/scripts/phpsh" => "phpsh.py"
+ bin.mkpath
+ ln_s libexec+'phpsh.py', bin+'phpsh'
+ man1.install "src/doc/phpsh.1"
+ end
+end