Skip to content

Commit

Permalink
zig: new port at version 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
felix authored and mf2k committed Nov 28, 2019
1 parent 873261d commit 42cce03
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions lang/zig/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# -*- 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 cmake 1.1
PortGroup compiler_blacklist_versions 1.0
PortGroup github 1.0

github.setup ziglang zig 0.5.0
github.tarball_from archive
revision 0

categories lang
platforms darwin
license MIT
maintainers {@felix userspace.com.au:felix} openmaintainer

description Zig programming language

long_description Zig is a general-purpose programming language designed for \
robustness, optimality, and maintainability.

homepage https://ziglang.org/

depends_lib-append port:llvm-9.0

checksums rmd160 f6c957f66ebf9c981fea61cba4875081661ec3c6 \
sha256 abe3e8ef064225f342bb24165e3c8a35f8f2c45930489a53897e835e984117eb \
size 15743912

set llvm_version 9.0
set llvm_config LLVM_CONFIG=llvm-config-mp-${llvm_version}

compiler.blacklist-append *gcc* clang
compiler.fallback macports-clang-${llvm_version}
compiler.whitelist macports-clang-${llvm_version}
cmake.module_path [list ${prefix}/libexec/llvm-${llvm_version}]

0 comments on commit 42cce03

Please sign in to comment.