blob: 39836c410bd778c85bd235bc1919d06b6ad3ef3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=8
inherit npm
DESCRIPTION="A package manager for the web"
HOMEPAGE="https://www.npmjs.com/package/bower"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
NPM_EXTRA_FILES="bin internal-tasks"
NPM_BIN="${PN}"
RDEPEND="dev-nodejs/grunt-cli
dev-nodejs/mkdirp
dev-nodejs/minimatch
dev-nodejs/js-yaml
dev-nodejs/iconv-lite
dev-nodejs/grunt-legacy-util
dev-nodejs/grunt-legacy-log
dev-nodejs/glob
dev-nodejs/exit
dev-nodejs/eventemitter2
dev-nodejs/dateformat
dev-nodejs/coffeescript"
src_prepare() {
default
sed -i -e "s|grunt-cli/bin/grunt|../$(get_libdir)/node_modules/grunt-cli/bin/grunt|" "bin/${NPM_BIN}" || die "Failed to correct path for grunt-cli lib"
}
|