mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
44 lines
1.5 KiB
Tcl
44 lines
1.5 KiB
Tcl
# -*- 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
|
|
PortGroup github 1.0
|
|
PortGroup cmake 1.1
|
|
|
|
github.setup ldc-developers ldc 1.42.0 v
|
|
revision 0
|
|
categories lang
|
|
supported_archs arm64 x86_64
|
|
license BSD
|
|
maintainers {makr @mohd-akram} openmaintainer
|
|
|
|
description LLVM-based D Compiler
|
|
|
|
long_description The LDC project provides a portable D programming language \
|
|
compiler with modern optimization and code generation \
|
|
capabilities.
|
|
|
|
distname ${distname}-src
|
|
|
|
set bootstrap ldc2-${version}-osx-universal
|
|
distfiles-append ${bootstrap}.tar.xz
|
|
|
|
checksums ${distname}${extract.suffix} \
|
|
rmd160 466e4db58041ba4d422c5d290eb8784d6a38d78a \
|
|
sha256 9bb0f628f869f7fc7b53c381a79742d29c17552c6f1a56b0a02aa289e65a0e3b \
|
|
size 9162109 \
|
|
${bootstrap}.tar.xz \
|
|
rmd160 778524011cf5ac712fb971b5e8b65e0ecd2a1abb \
|
|
sha256 e7575a3acf87c9c9da32dd531bee24e4499bdb9aea68b09c070c31411a618bae \
|
|
size 166737520
|
|
|
|
depends_lib port:llvm-21
|
|
|
|
cmake.prefix_path ${prefix}/libexec/llvm-21
|
|
cmake.install_rpath ${prefix}/libexec/llvm-21/lib
|
|
|
|
configure.env DMD=${workpath}/${bootstrap}/bin/ldmd2
|
|
|
|
configure.args -DLDC_WITH_LLD=OFF
|
|
|
|
github.livecheck.regex {([0-9.]+)}
|