From ca57a54d08f1d1746136f2125cb6ce06f4c38667 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Wed, 9 Jul 2014 04:51:47 +0000 Subject: [PATCH] Add ceylon, which is a language for writing large programs in teams --- lang/Makefile | 1 + lang/ceylon/Makefile | 44 +++++++++++++++++++++++++++++++++++++++++++ lang/ceylon/distinfo | 2 ++ lang/ceylon/pkg-descr | 5 +++++ lang/ceylon/pkg-plist | 18 ++++++++++++++++++ 5 files changed, 70 insertions(+) create mode 100644 lang/ceylon/Makefile create mode 100644 lang/ceylon/distinfo create mode 100644 lang/ceylon/pkg-descr create mode 100644 lang/ceylon/pkg-plist diff --git a/lang/Makefile b/lang/Makefile index 84d9e3c26f38..6cbf1534ffc1 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -27,6 +27,7 @@ SUBDIR += ccl SUBDIR += cdent SUBDIR += cduce + SUBDIR += ceylon SUBDIR += cfortran SUBDIR += chicken SUBDIR += cint diff --git a/lang/ceylon/Makefile b/lang/ceylon/Makefile new file mode 100644 index 000000000000..3575e41e7150 --- /dev/null +++ b/lang/ceylon/Makefile @@ -0,0 +1,44 @@ +# Created by: Li-Wen Hsu +# $FreeBSD$ + +PORTNAME= ceylon +PORTVERSION= 1.0.0 +CATEGORIES= lang java +MASTER_SITES= http://downloads.ceylon-lang.org/cli/ + +MAINTAINER= lwhsu@FreeBSD.org +COMMENT= Ceylon is a language for writing large programs in teams + +LICENSE= APACHE20 GPLv2 +LICENSE_COMB= multi + +NO_BUILD= yes +USES= zip + +USE_JAVA= yes +JAVA_VERSION= 1.7 +JAVA_RUN= yes + +PORTDATA= * + +CEYLON_SCRIPTS= ceylon ceylon-sh-setup +CEYLON_DIRS= contrib lib repo samples templates + +.include + +do-install: + ${RM} -f ${WRKSRC}/bin/*.bat + + ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/* ${STAGEDIR}/${MAN1PREFIX}/man/man1 + + ${MKDIR} ${STAGEDIR}${DATADIR} +.for d in ${CEYLON_DIRS} + cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR} +.endfor + + cd ${WRKSRC} && ${COPYTREE_BIN} bin ${STAGEDIR}${DATADIR} +.for s in ${CEYLON_SCRIPTS} + ${LN} -s ${DATADIR}/bin/${s} ${STAGEDIR}/${PREFIX}/bin/${s} +.endfor + +.include diff --git a/lang/ceylon/distinfo b/lang/ceylon/distinfo new file mode 100644 index 000000000000..cf1e8782cdd7 --- /dev/null +++ b/lang/ceylon/distinfo @@ -0,0 +1,2 @@ +SHA256 (ceylon-1.0.0.zip) = d8d902b3bbe56a790fee71bdfd6d3206bdaaf6ef9c6ff5cf545358b446f5ad19 +SIZE (ceylon-1.0.0.zip) = 11617390 diff --git a/lang/ceylon/pkg-descr b/lang/ceylon/pkg-descr new file mode 100644 index 000000000000..01dd45007c26 --- /dev/null +++ b/lang/ceylon/pkg-descr @@ -0,0 +1,5 @@ +Ceylon is a new programming language that's deeply influenced by Java, +designed by people who are unapologetic fans of Java. It's a language +designed specifically for writing large programs in teams. + +WWW: http://ceylon-lang.org diff --git a/lang/ceylon/pkg-plist b/lang/ceylon/pkg-plist new file mode 100644 index 000000000000..ad1cc5d25335 --- /dev/null +++ b/lang/ceylon/pkg-plist @@ -0,0 +1,18 @@ +bin/ceylon +bin/ceylon-sh-setup +man/man1/ceylon-bash-completion.1.gz +man/man1/ceylon-compile-js.1.gz +man/man1/ceylon-compile.1.gz +man/man1/ceylon-config.1.gz +man/man1/ceylon-doc-tool.1.gz +man/man1/ceylon-doc.1.gz +man/man1/ceylon-help.1.gz +man/man1/ceylon-import-jar.1.gz +man/man1/ceylon-info.1.gz +man/man1/ceylon-new.1.gz +man/man1/ceylon-run-js.1.gz +man/man1/ceylon-run.1.gz +man/man1/ceylon-src.1.gz +man/man1/ceylon-test.1.gz +man/man1/ceylon-version.1.gz +man/man1/ceylon.1.gz