nodejs: fix installation of documentation, license.
This commit is contained in:
parent
5a18f88cbe
commit
991774f403
2 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
# Template file for 'nodejs-docs'.
|
# Template file for 'nodejs-docs'.
|
||||||
#
|
#
|
||||||
|
revision=1
|
||||||
short_desc="${short_desc} (Documentation)"
|
short_desc="${short_desc} (Documentation)"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
@ -7,5 +8,7 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
vmove usr/share usr
|
vmove usr/share/man usr/share
|
||||||
|
vmkdir usr/share/doc/nodejs
|
||||||
|
vcopy "doc/api/api/*" usr/share/doc/nodejs
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@ pkgname=nodejs
|
||||||
version=0.6.6
|
version=0.6.6
|
||||||
homepage="http://nodejs.org/"
|
homepage="http://nodejs.org/"
|
||||||
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
|
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
|
||||||
|
revision=1
|
||||||
short_desc="Evented I/O for V8 javascript"
|
short_desc="Evented I/O for V8 javascript"
|
||||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -51,4 +52,5 @@ do_build()
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
make ${makejobs} DESTDIR=$DESTDIR install
|
make ${makejobs} DESTDIR=$DESTDIR install
|
||||||
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue