openbsd-ports/lang/coffeescript/Makefile
jeremy 077a4f1628 Import coffeescript 1.2.0
CoffeeScript is a little language that compiles into JavaScript.
Underneath all those awkward braces and semicolons, JavaScript has
always had a gorgeous object model at its heart. CoffeeScript is an
attempt to expose the good parts of JavaScript in a simple way.

The golden rule of CoffeeScript is: "It's just JavaScript". The code
compiles one-to-one into the equivalent JS, and there is no
interpretation at runtime. You can use any existing JavaScript library
seamlessly from CoffeeScript (and vice-versa). The compiled output is
readable and pretty-printed, passes through JavaScript Lint without
warnings, will work in every JavaScript implementation, and tends to run
as fast or faster than the equivalent handwritten JavaScript.

Feedback and OK jasper@
2011-12-19 22:21:47 +00:00

37 lines
738 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/12/19 22:21:47 jeremy Exp $
COMMENT = little language that compiles to javascript
DISTNAME = coffeescript-1.2.0
CATEGORIES = lang
HOMEPAGE = http://coffeescript.org
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://distfiles.nl/
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = www/node
GIT_SHA1 = 9abe614
WRKDIST = ${WRKDIR}/jashkenas-coffee-script-${GIT_SHA1}
NO_BUILD = Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/Cakefile
do-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} HOME=${WRKSRC} \
${SUDO} bin/cake --prefix ${PREFIX} install
do-regress:
cd ${WRKSRC} && bin/cake test
.include <bsd.port.mk>