[89302] trunk/dports/lang/Io
ryandesign at macports.org
ryandesign at macports.org
Tue Jan 24 00:23:31 PST 2012
Revision: 89302
http://trac.macports.org/changeset/89302
Author: ryandesign at macports.org
Date: 2012-01-24 00:23:29 -0800 (Tue, 24 Jan 2012)
Log Message:
-----------
Io: update to 2011.09.12 (#31550), use cmake portgroup, use github portgroup, add dependencies on everything it uses
Modified Paths:
--------------
trunk/dports/lang/Io/Portfile
Added Paths:
-----------
trunk/dports/lang/Io/files/
trunk/dports/lang/Io/files/patch-libs-basekit-source-Common_inline.h.diff
Modified: trunk/dports/lang/Io/Portfile
===================================================================
--- trunk/dports/lang/Io/Portfile 2012-01-24 02:47:18 UTC (rev 89301)
+++ trunk/dports/lang/Io/Portfile 2012-01-24 08:23:29 UTC (rev 89302)
@@ -1,9 +1,11 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
+PortGroup cmake 1.0
-name Io
-version 2009-11-04
+github.setup stevedekorte io 2011.09.12
+name Io
categories lang
platforms macosx
maintainers openmaintainer brett
@@ -15,24 +17,55 @@
and futures for concurrency), LISP (code is a runtime inspectable / \
modifiable tree) and Lua (small, embeddable).
-homepage http://www.iolanguage.com
-fetch.type git
-git.url git://github.com/stevedekorte/io.git
-git.branch e8b4edef6cb9eb21f0de279bd761bee0b89f5ecb
+homepage http://www.iolanguage.com/
-use_configure no
-# Makefile runs "sudo make install", which asks for a password if not root
-build.asroot yes
-pre-build {
- system "cd ${worksrcpath} && make"
-}
-build.type pbx
-build.target -project osxvm.xcodeproj -target osxvm
-build.args -configuration Deployment
-build.dir ${worksrcpath}/extras/osxvm
+checksums rmd160 3d72e02ba4b43cbecac150cbd9d744306633eb2f \
+ sha256 7b4cb97a0aa3abb562703e1dbfe46925c22820eeca6969865b979c397799d092
-destroot {
- system "cd ${worksrcpath} && make install INSTALL_PREFIX=${destroot}${prefix}"
- system "cd ${worksrcpath} && make addons INSTALL_PREFIX=${destroot}${prefix}"
- system "cd ${worksrcpath} && make install INSTALL_PREFIX=${destroot}${prefix}"
+depends_lib path:lib/pkgconfig/cairo.pc:cairo \
+ port:freetype \
+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
+ port:gmp \
+ port:jpeg \
+ port:libedit \
+ port:libevent \
+ port:libffi \
+ port:libiconv \
+ port:libmemcached \
+ port:libogg \
+ port:libpng \
+ port:libsndfile \
+ port:libtheora \
+ port:libvorbis \
+ port:libxml2 \
+ port:loudmouth \
+ port:lzo2 \
+ port:ncurses \
+ port:openssl \
+ port:ossp-uuid \
+ path:lib/pkgconfig/pango.pc:pango \
+ port:pcre \
+ port:python27 \
+ port:readline \
+ port:sqlite3 \
+ port:tiff \
+ port:yajl \
+ port:zlib
+
+patchfiles patch-libs-basekit-source-Common_inline.h.diff
+
+configure.python ${prefix}/bin/python2.7
+
+# ../../_build/binaries/io_static: No such file or directory
+use_parallel_build no
+
+post-destroot {
+ fs-traverse destlib ${destroot}${prefix}/lib {
+ if {[file isfile ${destlib}] && [file extension ${destlib}] == ".dylib"} {
+ set lib [strsed ${destlib} "s|^${destroot}||"]
+ set cmd "install_name_tool -id '${lib}' '${destlib}'"
+ ui_debug "Assembled command: '${cmd}'"
+ system "${cmd}"
+ }
+ }
}
Added: trunk/dports/lang/Io/files/patch-libs-basekit-source-Common_inline.h.diff
===================================================================
--- trunk/dports/lang/Io/files/patch-libs-basekit-source-Common_inline.h.diff (rev 0)
+++ trunk/dports/lang/Io/files/patch-libs-basekit-source-Common_inline.h.diff 2012-01-24 08:23:29 UTC (rev 89302)
@@ -0,0 +1,12 @@
+https://github.com/stevedekorte/io/issues/135
+--- libs/basekit/source/Common_inline.h.orig 2011-09-12 17:14:12.000000000 -0500
++++ libs/basekit/source/Common_inline.h 2011-12-17 00:46:02.000000000 -0600
+@@ -52,7 +52,7 @@
+
+ #if defined(__APPLE__)
+
+- #define NS_INLINE static __inline__ __attribute__((always_inline))
++ #define NS_INLINE static inline
+
+ #ifdef IO_IN_C_FILE
+ // in .c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120124/46251bb0/attachment-0001.html>
More information about the macports-changes
mailing list