1 # Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
7 MASTER_SITES= http://downloads.ceylon-lang.org/cli/
9 MAINTAINER= lwhsu@FreeBSD.org
10 COMMENT= Ceylon is a language for writing large programs in teams
12 LICENSE= APACHE20 GPLv2
24 CEYLON_SCRIPTS= ceylon ceylon-sh-setup
25 CEYLON_DIRS= contrib lib repo samples templates
27 .include <bsd.port.pre.mk>
30 ${RM} -f ${WRKSRC}/bin/*.bat
32 ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/* ${STAGEDIR}/${MAN1PREFIX}/man/man1
34 ${MKDIR} ${STAGEDIR}${DATADIR}
35 .for d in ${CEYLON_DIRS}
36 cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}
39 cd ${WRKSRC} && ${COPYTREE_BIN} bin ${STAGEDIR}${DATADIR}
40 .for s in ${CEYLON_SCRIPTS}
41 ${LN} -s ${DATADIR}/bin/${s} ${STAGEDIR}/${PREFIX}/bin/${s}
44 .include <bsd.port.post.mk>