# -*- 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 muniversal 1.0 github.setup dlang tools 2.071.0 v name dmd-${github.project} categories lang platforms darwin license DMD maintainers takeshi openmaintainer description Ancilliary tools for the D programming language compiler long_description \ D is a language with C-like syntax and static typing. \ It pragmatically combines efficiency, control, \ and modeling power, with safety and programmer productivity. \ This port provides the ancilliary tools for the D programming language compiler. homepage http://dlang.org/ checksums rmd160 7b4653a25d06286dd0da489ca8a2f88aa09d5a29 \ sha256 c930b4393b2829002f089d29e77a56d4420e80634cbfd6c21bd19874581703ec depends_lib port:phobos \ port:curl use_configure no patchfiles patch-posix.diff build.args -f posix.mak \ DRUNTIME=${prefix}/lib/libdruntime.a \ DRUNTIME_PATH=${prefix}/include/druntime \ CC=${configure.cc} \ DMD=${prefix}/bin/dmd destroot.args -f posix.mak PREFIX=${prefix} if { ![variant_isset universal] } { if { ${build_arch} eq "x86_64" || ${build_arch} eq "ppc64" } { build.args-append MODEL=64 destroot.args-append MODEL=64 } else { build.args-append MODEL=32 destroot.args-append MODEL=32 } } else { lappend merger_build_args(x86_64) MODEL=64 lappend merger_build_args(i386) MODEL=32 lappend merger_build_args(ppc64) MODEL=64 lappend merger_build_args(ppc) MODEL=32 lappend merger_destroot_args(x86_64) MODEL=64 lappend merger_destroot_args(i386) MODEL=32 lappend merger_destroot_args(ppc64) MODEL=64 lappend merger_destroot_args(ppc) MODEL=32 } post-destroot { xinstall -W ${worksrcpath} -m 644 man/man1/rdmd.1 ${destroot}${prefix}/share/man/man1 } livecheck.regex archive/[join ${github.tag_prefix} ""](\[^"-\]+)${extract.suffix}