# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup github 1.0 PortGroup cmake 1.0 github.setup stevedekorte io 2013.12.04 revision 2 name Io categories lang # mostly BSD, but some LGPL and GPL files license GPL-2 platforms macosx maintainers nomaintainer description Io is small prototype-based programming language long_description ${description}. The ideas in Io are mostly inspired \ by Smalltalk (all values are objects), Self, \ NewtonScript and Act1 (prototype-based differential \ inheritance, actors and futures for concurrency), \ LISP (code is a runtime inspectable / modifiable \ tree) and Lua (small, embeddable). homepage http://www.iolanguage.com/ checksums rmd160 c97575bc3e915ef3d68b396900418f77261adea6 \ sha256 a5ca07b4d211995a0cd9442e1d752b2824444bee018c6db31899ddd6c5c87c4f 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 \ path:lib/libssl.dylib:openssl \ port:ossp-uuid \ path:lib/pkgconfig/pango.pc:pango \ port:pcre \ port:python27 \ port:readline \ port:sqlite3 \ port:tiff \ port:yajl \ port:zlib configure.python ${prefix}/bin/python2.7 # ../../_build/binaries/io_static: No such file or directory use_parallel_build no post-destroot { set libstofix \ [list libIoObjcBridge.dylib \ libIoOpenGL.dylib \ libIoRegex.dylib \ libIoTheora.dylib \ libIoVorbis.dylib] 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}'" if {[lsearch ${libstofix} [file tail ${destlib}]] > -1} { foreach linkedlibname {Blowfish Box MD5 Ogg Range Socket SystemCall Yajl} { set linkedlib "libIo${linkedlibname}.dylib" append cmd " -change '${prefix}/lib/${linkedlib}' '${prefix}/lib/io/addons/${linkedlibname}/_build/dll/${linkedlib}'" } } append cmd " '${destlib}'" ui_debug "Assembled command: '${cmd}'" system "${cmd}" } } } test.run yes test.cmd ${worksrcpath}/_build/binaries/io_static ${worksrcpath}/libs/iovm/tests/correctness/run.io test.target