[49706] trunk/dports/devel/spin

jann at macports.org jann at macports.org
Wed Apr 15 10:41:15 PDT 2009


Revision: 49706
          http://trac.macports.org/changeset/49706
Author:   jann at macports.org
Date:     2009-04-15 10:41:14 -0700 (Wed, 15 Apr 2009)
Log Message:
-----------
Version bump and fix #19318

Modified Paths:
--------------
    trunk/dports/devel/spin/Portfile
    trunk/dports/devel/spin/files/patch-makefile.diff
    trunk/dports/devel/spin/files/patch-xspin.diff

Modified: trunk/dports/devel/spin/Portfile
===================================================================
--- trunk/dports/devel/spin/Portfile	2009-04-15 17:30:28 UTC (rev 49705)
+++ trunk/dports/devel/spin/Portfile	2009-04-15 17:41:14 UTC (rev 49706)
@@ -3,7 +3,7 @@
 PortSystem      1.0
 
 name            spin
-version         5.1.6
+version         5.1.7
 set version_no_dot [join [split ${version} .] ""]
 distname        ${name}${version_no_dot}
 categories      devel
@@ -18,33 +18,31 @@
 
 homepage        http://spinroot.com
 master_sites    http://spinroot.com/spin/Src/
-checksums       rmd160 fcb46fba69df9a022a2c5070115fdf0aa735758f
+checksums       rmd160  e7065ffe54f468b4717c4df7752a20bc9cae907a
 depends_lib     port:tk port:tcl
 patchfiles      patch-makefile.diff \
                 patch-xspin.diff
-worksrcdir      Spin
+worksrcdir      Spin/Src${version}
 use_configure   no
 
 set xspin_dir   Xspin5.1
 set xspin_name  xspin510.tcl
 
 pre-patch   {
-    file rename ${worksrcpath}/${xspin_dir}/${xspin_name} ${worksrcpath}/${xspin_dir}/xspin
+    file rename ${worksrcpath}/../${xspin_dir}/${xspin_name} ${worksrcpath}/../${xspin_dir}/xspin
 }
 
 post-patch  {
-    reinplace "s, at prefix@,${prefix},g" ${xspin_dir}/xspin
+    reinplace "s, at prefix@,${prefix},g" ${worksrcpath}/../${xspin_dir}/xspin
 }
 
-build       {
-    system "cd ${worksrcpath}/Src${version} && make"
-}
+build.target    ""
 
 destroot    {
-    xinstall -m 0444 ${worksrcpath}/Man/${name}.1 \
+    xinstall -m 0444 ${worksrcpath}/../Man/${name}.1 \
         ${destroot}${prefix}/share/man/man1
-    xinstall -m 0755 ${worksrcpath}/Src${version}/${name} \
+    xinstall -m 0755 ${worksrcpath}/${name} \
         ${destroot}${prefix}/bin
-    xinstall -m 0755 ${worksrcpath}/${xspin_dir}/xspin \
+    xinstall -m 0755 ${worksrcpath}/../${xspin_dir}/xspin \
         ${destroot}${prefix}/bin
 }

Modified: trunk/dports/devel/spin/files/patch-makefile.diff
===================================================================
--- trunk/dports/devel/spin/files/patch-makefile.diff	2009-04-15 17:30:28 UTC (rev 49705)
+++ trunk/dports/devel/spin/files/patch-makefile.diff	2009-04-15 17:41:14 UTC (rev 49706)
@@ -1,5 +1,5 @@
---- Src5.1.6/makefile.orig	2007-11-10 19:45:40.000000000 -0500
-+++ Src5.1.6/makefile	2008-10-08 12:01:56.000000000 -0400
+--- makefile.orig	2007-11-10 19:45:40.000000000 -0500
++++ makefile	2008-10-08 12:01:56.000000000 -0400
 @@ -12,7 +12,7 @@
  
  CC=cc -DNXT 	# -DNXT enables the X operator in LTL

Modified: trunk/dports/devel/spin/files/patch-xspin.diff
===================================================================
--- trunk/dports/devel/spin/files/patch-xspin.diff	2009-04-15 17:30:28 UTC (rev 49705)
+++ trunk/dports/devel/spin/files/patch-xspin.diff	2009-04-15 17:41:14 UTC (rev 49706)
@@ -1,5 +1,5 @@
---- Xspin5.1/xspin.orig	2008-04-24 13:22:35.000000000 -0400
-+++ Xspin5.1/xspin	2008-10-08 09:03:29.000000000 -0400
+--- ../Xspin5.1/xspin.orig	2008-04-24 13:22:35.000000000 -0400
++++ ../Xspin5.1/xspin	2008-10-08 09:03:29.000000000 -0400
 @@ -1,6 +1,4 @@
 -#!/bin/sh
 -# the next line restarts using wish \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090415/5ad15591/attachment.html>


More information about the macports-changes mailing list