Update lang/seed7 to version 05.20160430
[dports.git] / lang / ceylon / Makefile
1 # Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       ceylon
5 PORTVERSION=    1.2.1
6 CATEGORIES=     lang java
7 MASTER_SITES=   http://downloads.ceylon-lang.org/cli/
8
9 MAINTAINER=     lwhsu@FreeBSD.org
10 COMMENT=        Ceylon is a language for writing large programs in teams
11
12 LICENSE=        APACHE20 GPLv2
13 LICENSE_COMB=   multi
14
15 NO_BUILD=       yes
16 USES=   zip
17
18 USE_JAVA=       yes
19 JAVA_VERSION=   1.7+
20 JAVA_RUN=       yes
21
22 PORTDATA=       *
23
24 CEYLON_SCRIPTS= ceylon ceylon-sh-setup
25 CEYLON_DIRS=    contrib lib repo samples templates
26
27 .include <bsd.port.pre.mk>
28
29 do-install:
30         ${RM} -f ${WRKSRC}/bin/*.bat
31
32         ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/* ${STAGEDIR}/${MAN1PREFIX}/man/man1
33
34         ${MKDIR} ${STAGEDIR}${DATADIR}
35 .for d in ${CEYLON_DIRS}
36         cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}
37 .endfor
38
39         cd ${WRKSRC} && ${COPYTREE_BIN} bin ${STAGEDIR}${DATADIR}
40 .for s in ${CEYLON_SCRIPTS}
41         ${LN} -s ${DATADIR}/bin/${s} ${STAGEDIR}/${PREFIX}/bin/${s}
42 .endfor
43
44 .include <bsd.port.post.mk>