# -*- 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 tools 2.067.0 v revision 1 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 ffa4d52ece9c820cb7d65af4c73eda42f10e3c22 \ sha256 cc5ab1226ca1e63761fc3215d63e526a831c0a94c4d83d94b0195c6b548459f1 depends_lib port:phobos \ lib:libcurl:curl depends_build port:dmd-doc patchfiles patch-posix.mak.diff use_configure no if {${build_arch} eq "x86_64"} { set model 64 } else { set model 32 } build.args -f posix.mak \ DRUNTIME=${prefix}/lib/libdruntime.a \ DRUNTIME_PATH=${prefix}/include/druntime \ DMD=${prefix}/bin/dmd \ DFLAGS="-w -d -m${model} -O -release" \ MODEL=${model} build.target "" destroot.args -f posix.mak \ INSTALL_DIR=${destroot}${prefix} \ MODEL=${model} post-destroot { xinstall -W ${worksrcpath} -m 644 man/man1/rdmd.1 ${destroot}${prefix}/share/man/man1 }