# -*- 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 PortSystem 1.0 name angelscript version 2.33.0 categories devel platforms darwin maintainers nomaintainer 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 5a78d0482a5a1dc62c4b14d113814d39bf141ca9 \ sha256 3691090b23d4382849a4f4e0ab71d94526636c64deec94a97d7d9419e2e21ea3 \ size 1954948 worksrcdir sdk/${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}/sdk/docs ${docdir}/${name} } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${name}_(\[0-9.\]+)${extract.suffix}