# -*- 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: Portfile 87788 2011-12-06 06:21:56Z ryandesign@macports.org $ PortSystem 1.0 name angelscript version 2.22.0 revision 1 categories devel platforms darwin maintainers strasweb.fr:rudloff openmaintainer license zlib description Flexible cross-platform scripting library long_description The AngelCode Scripting Library, or AngelScript as it is \ also known, is an extremely flexible cross-platform \ scripting library designed to allow applications to \ extend their functionality through external scripts. It \ has been designed from the beginning to be an easy to \ use component, both for the application programmer and \ the script writer. homepage http://www.angelcode.com/angelscript/ master_sites ${homepage}sdk/files/ distname ${name}_${version} use_zip yes checksums rmd160 70f832c71b01c40efc26739f9c9fb38b3983594b \ sha256 9d3743c25d43560e31dc91b2f0d9a47249c3e91e69967488cda370de45f70548 worksrcdir ${name}/projects/gnuc macosx/ post-extract { # DOS to UNIX line endings so we can patch properly. reinplace "s|\r||g" ${worksrcpath}/makefile } patchfiles patch-makefile.diff use_configure no variant universal {} build.args AFLAGS="[get_canonical_archflags]" \ CXX=${configure.cxx} \ LOCAL=${prefix} destroot.destdir LOCAL=${destroot}${prefix} post-destroot { set docdir ${destroot}${prefix}/share/doc xinstall -d ${docdir} copy ${workpath}/docs ${docdir}/${name} } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${name}_(\[0-9.\]+)${extract.suffix}