# -*- 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.067.0 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 b1ff0adbcd7b7153f66e3913756668f5f54da85f \ sha256 4607d9688f15946da1542e8c12a76a124fcacf41f7fa870456ba7b303b343153 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} \ DRUNTIME_BASE=${name} \ CFLAGS=\"${configure.cflags}\" build.target "" destroot { xinstall -m 644 ${worksrcpath}/lib/lib${name}.a ${destroot}${prefix}/lib xinstall -m 755 -d ${destroot}${prefix}/include xinstall -m 755 -d ${destroot}${prefix}/include/${name} file copy ${worksrcpath}/import ${destroot}${prefix}/include/${name}/import xinstall -m 755 -d ${destroot}${prefix}/share/doc xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${name} xinstall -m 755 -d ${destroot}${prefix}/share/${name} file copy ${worksrcpath}/benchmark ${destroot}${prefix}/share/${name} }