# -*- 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 JetBrains kotlin 1.0.2 github.tarball_from releases distname ${name}-compiler-${version} categories lang java platforms darwin maintainers madlon-kay.com:aaron+macports openmaintainer license Apache-2.0 description Statically typed programming language for the JVM, \ Android and the browser long_description Kotlin is a pragmatic programming language for JVM \ and Android that combines OO and functional features \ and is focused on interoperability, safety, clarity \ and tooling support. homepage http://kotlinlang.org/ checksums rmd160 55d1b702467af0abdf0db980666635ae36794211 \ sha256 7f645b3914d0e435c0d7d26dc474684cebba6b5a99e9bbb3c23eef09140b72d4 depends_run bin:java:kaffe worksrcdir kotlinc use_zip yes use_configure no build {} pre-destroot { delete {*}[glob ${worksrcpath}/bin/*.bat] } destroot { xinstall -m 755 -d ${destroot}${prefix}/share/java file copy ${worksrcpath} \ ${destroot}${prefix}/share/java/${name} xinstall -m 755 -d ${destroot}${prefix}/share/doc/ file rename ${destroot}${prefix}/share/java/${name}/license \ ${destroot}${prefix}/share/doc/${name} file rename ${destroot}${prefix}/share/java/${name}/build.txt \ ${destroot}${prefix}/share/doc/${name} foreach f [glob -tails -directory ${destroot}${prefix}/share/java/${name}/bin *] { ln -s ../share/java/${name}/bin/${f} ${destroot}${prefix}/bin/${f} } } supported_archs noarch