[82048] trunk/dports/devel/allegro/Portfile

raimue at macports.org raimue at macports.org
Sat Aug 6 15:53:12 PDT 2011


Revision: 82048
          http://trac.macports.org/changeset/82048
Author:   raimue at macports.org
Date:     2011-08-06 15:53:12 -0700 (Sat, 06 Aug 2011)
Log Message:
-----------
devel/allegro:
Upgrade to 4.4.2, does not build on Mac OS X 10.7

Modified Paths:
--------------
    trunk/dports/devel/allegro/Portfile

Modified: trunk/dports/devel/allegro/Portfile
===================================================================
--- trunk/dports/devel/allegro/Portfile	2011-08-06 22:01:36 UTC (rev 82047)
+++ trunk/dports/devel/allegro/Portfile	2011-08-06 22:53:12 UTC (rev 82048)
@@ -4,7 +4,7 @@
 PortGroup cmake 1.0
 
 name            allegro
-version         4.4.1.1
+version         4.4.2
 set branch      [join [lrange [split ${version} .] 0 1] .]
 description     A game programming library for C/C++ developers.
 long_description \
@@ -18,9 +18,9 @@
 license         Permissive
 homepage        http://alleg.sourceforge.net/
 master_sites    sourceforge:alleg
-checksums       md5     0f1cfff8f2cf88e5c91a667d9fd386ec \
-                sha1    1970570b54c4329c7bd6d103db01624c68f2e9be \
-                rmd160  9167893e6ad33301bc23daeccb4fb899f16470d3
+checksums       md5     4db71b0460fc99926ae91d223199c2e6 \
+                sha1    ae0c15d2cb6b0337ef388dc98cefc620883720df \
+                rmd160  a6f6a03d6748230dfb5f306d1a05ef45ffa49f42
 
 configure.args-append -DINFODIR=share/info -DDOCDIR=share/doc
 
@@ -31,6 +31,13 @@
     }
 }
 
+pre-fetch {
+    if {${os.platform} == "darwin" && ${os.major} > 10} {
+        ui_error "${name} uses deprecated API which has been removed as of Mac OS X 10.7."
+        return -code error "incompatible Mac OS X version"
+    }
+}
+
 # Does not compile 64-bit due to NSQuickDraw
 # and probably other old API usage
 supported_archs i386 ppc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110806/14255987/attachment.html>


More information about the macports-changes mailing list