aboutsummaryrefslogtreecommitdiffstats
path: root/main/nodejs
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-06-26 09:23:41 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-06-26 09:23:45 +0000
commit0e14b10e4146995c83c9bc1785020a10ffc82caa (patch)
treef1763c3cb002144dc7aa605cbb88b4bdf3fe23a4 /main/nodejs
parent83ffc4f50711f8ed4a73a0962ad0dcf9c5e89c7f (diff)
downloadaports-0e14b10e4146995c83c9bc1785020a10ffc82caa.tar.bz2
aports-0e14b10e4146995c83c9bc1785020a10ffc82caa.tar.xz
main/nodejs: fix npm man pages
Diffstat (limited to 'main/nodejs')
-rw-r--r--main/nodejs/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/nodejs/APKBUILD b/main/nodejs/APKBUILD
index e9749e0327..b2cf82de99 100644
--- a/main/nodejs/APKBUILD
+++ b/main/nodejs/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=nodejs
pkgver=0.10.29
-pkgrel=0
+pkgrel=1
pkgdesc='Evented I/O for V8 javascript'
url='http://nodejs.org/'
arch='all'
@@ -25,10 +25,17 @@ build() {
}
package() {
+ local d
+
cd "$srcdir"/node-v$pkgver
make DESTDIR="$pkgdir" install || return 1
# paxmark so JIT works
paxctl -cm "$pkgdir"/usr/bin/node || return 1
+
+ cp -pr "$pkgdir"/usr/lib/node_modules/npm/man "$pkgdir"/usr/share || return 1
+ for d in doc html man; do
+ rm -r "$pkgdir"/usr/lib/node_modules/npm/$d || return 1
+ done
}
md5sums="e14ea9f46f9beecdf4e9423fb626c70b node-v0.10.29.tar.gz"