diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2015-11-18 18:16:34 -0500 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2015-11-18 18:16:55 -0500 |
commit | 0b64a5b339625c780cc6915335eac352228baa68 (patch) | |
tree | 0a3edec93d12a668a4c79f5192b4a6824cd68ed0 /dev-lang/coffee-script | |
parent | app-doc/zeal: Simplify dependencies (diff) | |
download | gentoo-0b64a5b339625c780cc6915335eac352228baa68.tar.gz gentoo-0b64a5b339625c780cc6915335eac352228baa68.tar.bz2 gentoo-0b64a5b339625c780cc6915335eac352228baa68.zip |
dev-lang/coffee-script: add version 1.10.0.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-lang/coffee-script')
-rw-r--r-- | dev-lang/coffee-script/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/coffee-script/coffee-script-1.10.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-lang/coffee-script/Manifest b/dev-lang/coffee-script/Manifest index 9567d32cc942..5b37691faf6e 100644 --- a/dev-lang/coffee-script/Manifest +++ b/dev-lang/coffee-script/Manifest @@ -1 +1,2 @@ +DIST coffee-script-1.10.0.tar.gz 813684 SHA256 1747a315002e69c2d459c2e618ac51d13b383a37792f05bdab155b3c943d2ef2 SHA512 4bf6d3e396a3c5eb2b4eb385216ed930f09a3b6d88c3939813ceea21c32b18706640f73d75619528d5ef12a90888e713385ecabbb8d424c06f52eb71e88230ec WHIRLPOOL 216652595821cad1f0c388ff614ceab48de4cec6669f6da98e0607ae94ae16960071d2e18d060b7c6ebd6035dc515f5c0f418940826555752320d672714d0d21 DIST coffee-script-1.9.3.tar.gz 810246 SHA256 8c8faeeee21ed3cdde727fcc08ed6062d9d0233679317f026160aee8bfa85060 SHA512 660826e27f842ed67ec6ef59f734087c95585e03b6b8c6d25c8ecfc567f3161f59034e730b61e5f806edaaa7ec6c805ad6d14902857aaf09cf6193b0fe14f506 WHIRLPOOL c99eab68344609b5352ee7b7f59ebb4e6c90d1454c3cf37ac8cb00b1add0637e2e56084864ae54cdeb494a6966a97e896bf95760e1e8dbe1b26c0fc75abd5a41 diff --git a/dev-lang/coffee-script/coffee-script-1.10.0.ebuild b/dev-lang/coffee-script/coffee-script-1.10.0.ebuild new file mode 100644 index 000000000000..e06600a3cf4a --- /dev/null +++ b/dev-lang/coffee-script/coffee-script-1.10.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib + +MY_PN="coffeescript" + +DESCRIPTION="A little language that compiles into javascript" +HOMEPAGE="http://coffeescript.org/" +SRC_URI="https://github.com/jashkenas/${MY_PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# This package has a test suite (that works), but it requires a number +# of NodeJS/NPM packages that aren't in the tree. +IUSE="doc examples" + +RDEPEND="net-libs/nodejs" + +src_install(){ + local npm_module_dir="/usr/$(get_libdir)/node/${PN}" + insinto "${npm_module_dir}" + doins *.js package.json + doins -r lib + dodoc CONTRIBUTING.md README.md + + use doc && dodoc -r documentation + use examples && dodoc -r examples + + # The coffee and cake "binaries" use a relative path to find the lib + # directory, so we have to symlink them rather than use dobin(). + exeinto "${npm_module_dir}/bin" + doexe bin/cake + doexe bin/coffee + dosym "${npm_module_dir}/bin/cake" "/usr/bin/cake" + dosym "${npm_module_dir}/bin/coffee" "/usr/bin/coffee" +} |