# -*- 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 github.setup D-Programming-Language druntime 2.064 v categories lang platforms darwin license Boost-1 maintainers takeshi openmaintainer description Low level runtime library for the D programming language long_description \ Druntime is the minimum library required to support the D programming \ language. It includes the system code required to support the garbage \ collector, associative arrays, exception handling, array vector operations, \ startup/shutdown, etc. homepage http://dlang.org/ checksums rmd160 ad0b6154da718ecc703b86066e22297709fa23bd \ sha256 2efe394029457c58ec1f0626322078bded00955fe9c8d3e78c885abba9bc8f7e depends_lib port:dmd use_configure no if {${build_arch} eq "x86_64"} { set model 64 } else { set model 32 } build.args -f posix.mak \ CC=${configure.cc} \ DMD=${prefix}/bin/dmd \ MODEL=${model} \ CFLAGS=\"${configure.cflags}\" build.target destroot { xinstall -m 644 ${worksrcpath}/lib/libdruntime-osx${model}.a \ ${destroot}${prefix}/lib/libdruntime.a xinstall -m 755 -d ${destroot}${prefix}/include file copy ${worksrcpath}/import ${destroot}${prefix}/include/${name} } livecheck.type regex livecheck.url ${homepage}download.html livecheck.regex {\.([0-9]+\.[0-9]+)\.zip}