summaryrefslogtreecommitdiff
path: root/lang/nodejs/patches/patch-tools_install.py
blob: cbf7c2436e04555e41b94ab71e52318b6e3684af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-tools_install.py,v 1.1 2013/05/22 15:17:07 mspo Exp $

Install man pages under the right directory.

--- tools/install.py.orig	2013-03-21 01:15:04.000000000 +0000
+++ tools/install.py
@@ -129,7 +129,7 @@ def files(action):
   if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
     action(['doc/node.1'], 'man/man1/')
   else:
-    action(['doc/node.1'], 'share/man/man1/')
+    action(['doc/node.1'], '@PKGMANDIR@/man1/')
 
   if 'true' == variables.get('node_install_npm'): npm_files(action)