From c949a5ddc4351726450cac22d82a8ad9abb12f8c Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Mon, 12 Feb 2024 00:04:32 +0100 Subject: dev-lang/coffee-script: rename cake -> coffee-cake MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- dev-lang/coffee-script/coffee-script-2.7.0.ebuild | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'dev-lang') diff --git a/dev-lang/coffee-script/coffee-script-2.7.0.ebuild b/dev-lang/coffee-script/coffee-script-2.7.0.ebuild index 7dd220bd7837..2f497e582b0f 100644 --- a/dev-lang/coffee-script/coffee-script-2.7.0.ebuild +++ b/dev-lang/coffee-script/coffee-script-2.7.0.ebuild @@ -5,6 +5,8 @@ EAPI=8 MY_PN="coffeescript" +inherit readme.gentoo-r1 + DESCRIPTION="A little language that compiles into javascript" HOMEPAGE="https://coffeescript.org/" SRC_URI="https://github.com/jashkenas/${MY_PN}/archive/${PV}.tar.gz @@ -23,6 +25,9 @@ RDEPEND=" net-libs/nodejs " +DOC_CONTENTS="To enable installation alongside other tools the Gentoo +maintainer decided to rename the \"cake\" executable to \"coffee-cake\"." + src_install() { local npm_module_dir="/usr/$(get_libdir)/node/${PN}" @@ -50,6 +55,12 @@ src_install() { 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/cake" "/usr/bin/coffee-cake" dosym "${npm_module_dir}/bin/coffee" "/usr/bin/coffee" + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog } -- cgit v1.2.3-65-gdbad