[92081] trunk/dports/devel/libsdl-devel
jmr at macports.org
jmr at macports.org
Tue Apr 17 10:00:35 PDT 2012
Revision: 92081
https://trac.macports.org/changeset/92081
Author: jmr at macports.org
Date: 2012-04-17 10:00:34 -0700 (Tue, 17 Apr 2012)
Log Message:
-----------
libsdl-devel: update to snapshot 6248, enable universal (#29479)
Modified Paths:
--------------
trunk/dports/devel/libsdl-devel/Portfile
Added Paths:
-----------
trunk/dports/devel/libsdl-devel/files/
trunk/dports/devel/libsdl-devel/files/include_SDL_config.h.ed
Modified: trunk/dports/devel/libsdl-devel/Portfile
===================================================================
--- trunk/dports/devel/libsdl-devel/Portfile 2012-04-17 16:08:53 UTC (rev 92080)
+++ trunk/dports/devel/libsdl-devel/Portfile 2012-04-17 17:00:34 UTC (rev 92081)
@@ -5,7 +5,7 @@
conflicts libsdl
name libsdl-devel
-version 1.3.0-5552
+version 1.3.0-6248
categories devel multimedia
description Cross-platform multi-media development API
@@ -18,19 +18,22 @@
homepage http://www.libsdl.org/
platforms darwin
-license LGPL-2.1
+license zlib
maintainers toby
master_sites ${homepage}tmp/
-checksums md5 7f23749dcb492938116d9a53b58f1653 \
- sha1 40cf5670c1b29e4c5f76479a2920e6b800a2af8f \
- rmd160 e942b4515122acfe76dc833f5803938499cdb1f2
+checksums rmd160 6db2a9f7bb5eb5d1015cdf208443e051a5003202 \
+ sha256 84bc65b421a7df2d71f6fd872e978c6e03c0f83dd4a9a33f05e66c5586e79ff9
distname SDL-${version}
configure.args --without-x
+post-configure {
+ if {[variant_isset universal]} {
+ system -W ${worksrcpath}/include "ed - ./SDL_config.h < ${filespath}/include_SDL_config.h.ed"
+ }
+}
+
livecheck.url ${homepage}tmp/
livecheck.regex SDL-(\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+-\[0-9\]+)\\.tar\\.gz
-
-universal_variant no
Added: trunk/dports/devel/libsdl-devel/files/include_SDL_config.h.ed
===================================================================
--- trunk/dports/devel/libsdl-devel/files/include_SDL_config.h.ed (rev 0)
+++ trunk/dports/devel/libsdl-devel/files/include_SDL_config.h.ed 2012-04-17 17:00:34 UTC (rev 92081)
@@ -0,0 +1,18 @@
+/SIZEOF_VOIDP/c
+#ifdef __LP64__
+#define SIZEOF_VOIDP 8
+#else
+#define SIZEOF_VOIDP 4
+#endif
+.
+/HAVE_ALTIVEC_H/c
+#ifdef __ALTIVEC__
+#define HAVE_ALTIVEC_H 1
+#endif
+.
+/SDL_ALTIVEC_BLITTERS/c
+#ifdef __ALTIVEC__
+#define SDL_ALTIVEC_BLITTERS 1
+#endif
+.
+w
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120417/5ce98c8f/attachment.html>
More information about the macports-changes
mailing list