Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2019 10:32:54 +0000 (UTC)
From:      Michael Zhilin <mizhka@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r508435 - head/lang/kotlin
Message-ID:  <201908091032.x79AWsuQ087451@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mizhka (src committer)
Date: Fri Aug  9 10:32:54 2019
New Revision: 508435
URL: https://svnweb.freebsd.org/changeset/ports/508435

Log:
  [new port] add lang/kotlin
  
  Kotlin is cross-platform language designed to interoperate with Java.
  It's sponsored by JetBrains and Google, officially supported by Google
  for mobile development on Android. Since May, 2019, it's preferred language
  for Android app developer according to Google.
  
  Here is source link of port: https://github.com/lwhsu/freebsd-ports-kotlin
  
  Reviewed by:    lwhsu
  Approved by:	lwhsu

Added:
  head/lang/kotlin/
  head/lang/kotlin/Makefile   (contents, props changed)
  head/lang/kotlin/distinfo   (contents, props changed)
  head/lang/kotlin/pkg-descr   (contents, props changed)
  head/lang/kotlin/pkg-plist   (contents, props changed)

Added: head/lang/kotlin/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/kotlin/Makefile	Fri Aug  9 10:32:54 2019	(r508435)
@@ -0,0 +1,44 @@
+# $FreeBSD$
+
+PORTNAME=	kotlin
+PORTVERSION=	1.3.41
+CATEGORIES=	lang
+MASTER_SITES=	https://github.com/JetBrains/kotlin/releases/download/v${PORTVERSION}/
+DISTNAME=	kotlin-compiler-${PORTVERSION}
+
+MAINTAINER=	mizhka@FreeBSD.org
+COMMENT=	Kotlin Programming Language
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/license/LICENSE.txt
+
+RUN_DEPENDS=	bash:shells/bash
+
+USES=	zip
+
+WRKSRC=	${WRKDIR}/kotlinc
+
+USE_JAVA=	yes
+NO_BUILD=	yes
+
+KOTLIN_BIN=	kapt \
+		kotlin \
+		kotlin-dce-js \
+		kotlinc \
+		kotlinc-js \
+		kotlinc-jvm
+
+post-extract:
+	${RM} ${WRKSRC}/bin/*.bat
+
+do-install:
+	${MKDIR} ${STAGEDIR}${DATADIR}/lib
+	${MKDIR} ${STAGEDIR}${DATADIR}/bin
+	cd ${WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}/bin
+	cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/lib
+.for f in ${KOTLIN_BIN}
+	${LN} -sf ${DATADIR}/bin/${f} ${STAGEDIR}${PREFIX}/bin/${f}
+.endfor
+	${INSTALL_DATA} ${WRKSRC}/build.txt ${STAGEDIR}${DATADIR}
+
+.include <bsd.port.mk>

Added: head/lang/kotlin/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/kotlin/distinfo	Fri Aug  9 10:32:54 2019	(r508435)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1565023088
+SHA256 (kotlin-compiler-1.3.41.zip) = c44ab6866895606e408b60934ebe45d4befcbc33ea0e4ea73c4b3b89ad770132
+SIZE (kotlin-compiler-1.3.41.zip) = 45655109

Added: head/lang/kotlin/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/kotlin/pkg-descr	Fri Aug  9 10:32:54 2019	(r508435)
@@ -0,0 +1,3 @@
+Kotlin Programming Language
+
+WWW: https://kotlinlang.org/

Added: head/lang/kotlin/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/kotlin/pkg-plist	Fri Aug  9 10:32:54 2019	(r508435)
@@ -0,0 +1,63 @@
+bin/kapt
+bin/kotlin
+bin/kotlin-dce-js
+bin/kotlinc
+bin/kotlinc-js
+bin/kotlinc-jvm
+%%DATADIR%%/bin/kapt
+%%DATADIR%%/bin/kotlin
+%%DATADIR%%/bin/kotlin-dce-js
+%%DATADIR%%/bin/kotlinc
+%%DATADIR%%/bin/kotlinc-js
+%%DATADIR%%/bin/kotlinc-jvm
+%%DATADIR%%/build.txt
+%%DATADIR%%/lib/allopen-compiler-plugin.jar
+%%DATADIR%%/lib/android-extensions-compiler.jar
+%%DATADIR%%/lib/android-extensions-runtime.jar
+%%DATADIR%%/lib/annotations-13.0.jar
+%%DATADIR%%/lib/jvm-abi-gen.jar
+%%DATADIR%%/lib/kotlin-annotation-processing-cli.jar
+%%DATADIR%%/lib/kotlin-annotation-processing-runtime.jar
+%%DATADIR%%/lib/kotlin-annotation-processing.jar
+%%DATADIR%%/lib/kotlin-annotations-android.jar
+%%DATADIR%%/lib/kotlin-annotations-jvm-sources.jar
+%%DATADIR%%/lib/kotlin-annotations-jvm.jar
+%%DATADIR%%/lib/kotlin-ant.jar
+%%DATADIR%%/lib/kotlin-compiler.jar
+%%DATADIR%%/lib/kotlin-daemon-client.jar
+%%DATADIR%%/lib/kotlin-imports-dumper-compiler-plugin.jar
+%%DATADIR%%/lib/kotlin-main-kts.jar
+%%DATADIR%%/lib/kotlin-preloader.jar
+%%DATADIR%%/lib/kotlin-reflect-sources.jar
+%%DATADIR%%/lib/kotlin-reflect.jar
+%%DATADIR%%/lib/kotlin-runner.jar
+%%DATADIR%%/lib/kotlin-script-runtime-sources.jar
+%%DATADIR%%/lib/kotlin-script-runtime.jar
+%%DATADIR%%/lib/kotlin-scripting-common.jar
+%%DATADIR%%/lib/kotlin-scripting-compiler-impl.jar
+%%DATADIR%%/lib/kotlin-scripting-compiler.jar
+%%DATADIR%%/lib/kotlin-scripting-jvm.jar
+%%DATADIR%%/lib/kotlin-source-sections-compiler-plugin.jar
+%%DATADIR%%/lib/kotlin-stdlib-jdk7-sources.jar
+%%DATADIR%%/lib/kotlin-stdlib-jdk7.jar
+%%DATADIR%%/lib/kotlin-stdlib-jdk8-sources.jar
+%%DATADIR%%/lib/kotlin-stdlib-jdk8.jar
+%%DATADIR%%/lib/kotlin-stdlib-js-sources.jar
+%%DATADIR%%/lib/kotlin-stdlib-js.jar
+%%DATADIR%%/lib/kotlin-stdlib-sources.jar
+%%DATADIR%%/lib/kotlin-stdlib.jar
+%%DATADIR%%/lib/kotlin-test-js-sources.jar
+%%DATADIR%%/lib/kotlin-test-js.jar
+%%DATADIR%%/lib/kotlin-test-junit-sources.jar
+%%DATADIR%%/lib/kotlin-test-junit.jar
+%%DATADIR%%/lib/kotlin-test-junit5-sources.jar
+%%DATADIR%%/lib/kotlin-test-junit5.jar
+%%DATADIR%%/lib/kotlin-test-sources.jar
+%%DATADIR%%/lib/kotlin-test-testng-sources.jar
+%%DATADIR%%/lib/kotlin-test-testng.jar
+%%DATADIR%%/lib/kotlin-test.jar
+%%DATADIR%%/lib/kotlinx-serialization-compiler-plugin.jar
+%%DATADIR%%/lib/mutability-annotations-compat.jar
+%%DATADIR%%/lib/noarg-compiler-plugin.jar
+%%DATADIR%%/lib/sam-with-receiver-compiler-plugin.jar
+%%DATADIR%%/lib/trove4j.jar



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908091032.x79AWsuQ087451>