0835676e36
The following features have been added or changed: - Instead of USE_JAVA use USES=java. This defaults to USES=java:build,run if NO_BUILD is undefined. Else it defaults to USES=java:run - Instead of USE_ANT=yes use USES=java:ant which also implies USES=java:build - Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or extract - Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply build or run - Instead of JAVA_RUN=yes use USES=java:run does not imply extract or build - Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version> Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D48201
39 lines
848 B
Makefile
39 lines
848 B
Makefile
PORTNAME= ceylon
|
|
PORTVERSION= 1.3.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= lang java
|
|
MASTER_SITES= http://downloads.ceylon-lang.org/cli/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Language for writing large programs in teams
|
|
WWW= https://ceylon-lang.org/
|
|
|
|
LICENSE= APACHE20 GPLv2
|
|
LICENSE_COMB= multi
|
|
|
|
USES= java zip
|
|
|
|
NO_BUILD= yes
|
|
|
|
PORTDATA= *
|
|
|
|
CEYLON_SCRIPTS= ceylon ceylon-sh-setup
|
|
CEYLON_DIRS= contrib lib repo samples templates
|
|
|
|
do-install:
|
|
${RM} ${WRKSRC}/bin/*.bat
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/man1/* ${STAGEDIR}/${PREFIX}/share/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 <bsd.port.mk>
|