diff options
| author | Maciej Barć <xgqt@gentoo.org> | 2024-04-11 01:37:28 +0200 |
|---|---|---|
| committer | Maciej Barć <xgqt@gentoo.org> | 2024-04-11 03:38:43 +0200 |
| commit | d1b4427f9a70651ad6e4a776940a952f6607a097 (patch) | |
| tree | 9e24479e48f875cdd16b80714bd97ea65c1ba8fc /dev-lang/coffee-script/coffee-script-2.5.1.ebuild | |
| parent | 8fd783fb700ce3e04e29cb82c1d47696ac8396a3 (diff) | |
| download | gentoo-d1b4427f9a70651ad6e4a776940a952f6607a097.tar.gz gentoo-d1b4427f9a70651ad6e4a776940a952f6607a097.tar.bz2 gentoo-d1b4427f9a70651ad6e4a776940a952f6607a097.zip | |
dev-lang/coffee-script: drop old 2.5.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/coffee-script/coffee-script-2.5.1.ebuild')
| -rw-r--r-- | dev-lang/coffee-script/coffee-script-2.5.1.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/dev-lang/coffee-script/coffee-script-2.5.1.ebuild b/dev-lang/coffee-script/coffee-script-2.5.1.ebuild deleted file mode 100644 index e042a4d9f200..000000000000 --- a/dev-lang/coffee-script/coffee-script-2.5.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN="coffeescript" - -DESCRIPTION="A little language that compiles into javascript" -HOMEPAGE="https://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 - - if use examples; then - # Users should be able to run the examples without having to copy - # them to another directory and decompress them. - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r documentation/examples - fi - - if use doc; then - # It looks like "docs/v2" contains the output from all of the stuff - # under "documentation". - docinto "html" - dodoc -r docs/v2/* - fi - - # 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" -} |
