[89099] trunk/dports/science/magic

ryandesign at macports.org ryandesign at macports.org
Thu Jan 19 09:49:01 PST 2012


Revision: 89099
          http://trac.macports.org/changeset/89099
Author:   ryandesign at macports.org
Date:     2012-01-19 09:49:00 -0800 (Thu, 19 Jan 2012)
Log Message:
-----------
magic: update to 7.5.214, add blt dependency, fix non-portable use of 'echo -n'

Modified Paths:
--------------
    trunk/dports/science/magic/Portfile

Added Paths:
-----------
    trunk/dports/science/magic/files/patch-scripts-configure.diff

Modified: trunk/dports/science/magic/Portfile
===================================================================
--- trunk/dports/science/magic/Portfile	2012-01-19 17:07:40 UTC (rev 89098)
+++ trunk/dports/science/magic/Portfile	2012-01-19 17:49:00 UTC (rev 89099)
@@ -4,8 +4,7 @@
 PortSystem          1.0
 
 name                magic
-version             7.5.180
-revision            1
+version             7.5.214
 set major           [lindex [split ${version} .] 0]
 categories          science
 maintainers         waqar openmaintainer
@@ -25,12 +24,13 @@
 
 extract.suffix      .tgz
 
-depends_lib         port:tcl port:tk
+depends_lib         port:tcl port:tk port:blt
 
-checksums           md5     71825268a02acb646df33f9e52f73a0a \
-                    sha1    f00dd569e9a8078b4570ae598fb2804bffa31ff0 \
-                    rmd160  764d69305ae370fc433f24c7715aab9a83b57d11
+checksums           rmd160  00a1c576407d593b10fe9b3aeadf22d577439e7c \
+                    sha256  c809d4b497acfa69da729d06e0b4ceaab9b4eada89c38f79056f82db943667ab
 
+patchfiles          patch-scripts-configure.diff
+
 configure.args      --mandir=${prefix}/share/man --infodir=${prefix}/share/info
 
 use_parallel_build  no

Added: trunk/dports/science/magic/files/patch-scripts-configure.diff
===================================================================
--- trunk/dports/science/magic/files/patch-scripts-configure.diff	                        (rev 0)
+++ trunk/dports/science/magic/files/patch-scripts-configure.diff	2012-01-19 17:49:00 UTC (rev 89099)
@@ -0,0 +1,45 @@
+--- scripts/configure.orig	2010-03-08 07:33:07.000000000 -0600
++++ scripts/configure	2012-01-19 11:33:55.000000000 -0600
+@@ -12098,7 +12098,7 @@
+ echo "Configuration Summary (principle requirements):"
+ echo
+ 
+-echo -n "X11:          "
++printf "X11:          "
+ if test $usingX11 ; then
+    echo "yes"
+ else
+@@ -12112,7 +12112,7 @@
+    echo
+ fi
+ 
+-echo -n "OpenGL:       "
++printf "OpenGL:       "
+ if test $usingOGL ; then
+    echo "yes"
+ else
+@@ -12129,9 +12129,9 @@
+ fi
+ 
+ if test $usingTcl ; then
+-   echo -n "Tcl/Tk:       "
++   printf "Tcl/Tk:       "
+    echo "yes (version ${TCL_VERSION})"
+-   echo -n "BLT:          "
++   printf "BLT:          "
+    if test "x${TCLSH_EXE}" = "x" ; then
+       echo "Cannot find 'tclsh' executable to check existance of the BLT package"
+    else
+@@ -12154,10 +12154,10 @@
+    fi
+ else
+    if test $usingScheme ; then
+-     echo -n "Scheme:       "
++     printf "Scheme:       "
+      echo "yes"
+    else
+-     echo -n "Tcl/Tk:       "
++     printf "Tcl/Tk:       "
+      echo "no"
+      echo
+      echo "  Without Tcl/Tk, you cannot run the enhanced version of magic"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120119/b4ca02be/attachment.html>


More information about the macports-changes mailing list