Renato Botelho 666d46efbb CoffeeScript is a little language that compiles into JavaScript. Underneath that
awkward Java-esque patina, JavaScript has always had a gorgeous heart. It's an
attempt to expose the good parts of JavaScript in a simple way.

WWW: http://coffeescript.org/

PR:		227412
Submitted by:	egypcio@googlemail.com
Differential Revision:	https://reviews.freebsd.org/D15025
2018-04-13 14:41:21 +00:00

39 lines
823 B
Makefile

# $FreeBSD$
PORTNAME= coffeescript
DISTVERSION= 2.2.4
CATEGORIES= lang
MAINTAINER= egypcio@googlemail.com
COMMENT= Unfancy JavaScript
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= node:www/node
USE_GITHUB= yes
GH_ACCOUNT= jashkenas
PORTEXAMPLES= *.coffee
CONFLICTS_INSTALL= cake
OPTIONS_DEFINE= EXAMPLES
NO_BUILD= yes
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/${PORTNAME}
${INSTALL_SCRIPT} ${WRKSRC}/bin/cake ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/coffee ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}/*.js \
${STAGEDIR}${PREFIX}/lib/node_modules/${PORTNAME}
do-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/documentation/examples/${PORTEXAMPLES} \
${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>