Use dot versions and comment patches

master
Max Howell 2010-01-23 10:53:41 +00:00
parent 473253db74
commit 6d1c59c75c
2 changed files with 7 additions and 1 deletions

View File

@ -4,13 +4,14 @@ class Spin <Formula
url 'http://spinroot.com/spin/Src/spin524.tar.gz' url 'http://spinroot.com/spin/Src/spin524.tar.gz'
homepage 'http://spinroot.com/spin/whatispin.html' homepage 'http://spinroot.com/spin/whatispin.html'
md5 'c869e7bd83c70be6565cf77c6a98b72c' md5 'c869e7bd83c70be6565cf77c6a98b72c'
version '5.2.4'
def patches def patches
DATA DATA
end end
def install def install
version='5.2.4'
ENV.gcc_4_2 ENV.gcc_4_2
ENV.deparallelize ENV.deparallelize
@ -25,6 +26,8 @@ class Spin <Formula
FileUtils.cd("Man") { man1.install "spin.1" } FileUtils.cd("Man") { man1.install "spin.1" }
end end
end end
# manual patching is required by the spin install process
__END__ __END__
diff --git a/Src5.2.4/makefile b/Src5.2.4/makefile diff --git a/Src5.2.4/makefile b/Src5.2.4/makefile
index 67f22aa..596c893 100755 index 67f22aa..596c893 100755

View File

@ -4,6 +4,7 @@ class Xspin <Formula
url 'http://spinroot.com/spin/Src/xspin523.tcl' url 'http://spinroot.com/spin/Src/xspin523.tcl'
homepage 'http://spinroot.com/spin/Src/index.html' homepage 'http://spinroot.com/spin/Src/index.html'
md5 '893eb05798802cea4f281daaf34ce190' md5 '893eb05798802cea4f281daaf34ce190'
version '5.2.3'
depends_on 'spin' depends_on 'spin'
@ -22,6 +23,8 @@ class Xspin <Formula
bin.install "xspin" bin.install "xspin"
end end
end end
# manual patching is required by the spin install process
__END__ __END__
diff --git a/xspin523.tcl b/xspin523.tcl diff --git a/xspin523.tcl b/xspin523.tcl
old mode 100644 old mode 100644