pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/scons-devel Fixed PKGMANDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9a510af22a4
branches:  trunk
changeset: 523119:c9a510af22a4
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jan 02 14:05:59 2007 +0000

description:
Fixed PKGMANDIR.

diffstat:

 devel/scons-devel/Makefile         |   7 ++++---
 devel/scons-devel/distinfo         |   3 ++-
 devel/scons-devel/patches/patch-aa |  13 +++++++++++++
 3 files changed, 19 insertions(+), 4 deletions(-)

diffs (56 lines):

diff -r b51f20c7f380 -r c9a510af22a4 devel/scons-devel/Makefile
--- a/devel/scons-devel/Makefile        Tue Jan 02 13:58:31 2007 +0000
+++ b/devel/scons-devel/Makefile        Tue Jan 02 14:05:59 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/03/04 21:29:29 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2007/01/02 14:05:59 rillig Exp $
 #
 
 DISTNAME=              scons-${SCONSVER}
@@ -12,6 +12,7 @@
 
 SCONSVER=              0.96.91
 PLIST_SUBST+=          SCONSVER=${SCONSVER}
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1
 
 PYDISTUTILSPKG=                yes
 PYTHON_PATCH_SCRIPTS=  script/scons script/sconsign
@@ -23,8 +24,8 @@
 # would be too complicated.
 
 post-install:
-       ${INSTALL_MAN} ${WRKSRC}/scons.1 ${PREFIX}/man/man1
-       ${INSTALL_MAN} ${WRKSRC}/sconsign.1 ${PREFIX}/man/man1
+       ${INSTALL_MAN} ${WRKSRC}/scons.1 ${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/sconsign.1 ${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/extension.mk"
diff -r b51f20c7f380 -r c9a510af22a4 devel/scons-devel/distinfo
--- a/devel/scons-devel/distinfo        Tue Jan 02 13:58:31 2007 +0000
+++ b/devel/scons-devel/distinfo        Tue Jan 02 14:05:59 2007 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/12/29 15:43:08 cube Exp $
+$NetBSD: distinfo,v 1.2 2007/01/02 14:05:59 rillig Exp $
 
 SHA1 (scons-0.96.91.tar.gz) = 95a717e1acb891f92e71c221f704a44f180830aa
 RMD160 (scons-0.96.91.tar.gz) = 3dd9be90a1e9508b2618f7e321321340f9f6a605
 Size (scons-0.96.91.tar.gz) = 351618 bytes
+SHA1 (patch-aa) = aab5daf05325e7a0f1d415f5deb15bb58e896e4b
diff -r b51f20c7f380 -r c9a510af22a4 devel/scons-devel/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/scons-devel/patches/patch-aa        Tue Jan 02 14:05:59 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2007/01/02 14:05:59 rillig Exp $
+
+--- setup.py.orig      2005-09-08 15:15:23.000000000 +0200
++++ setup.py   2007-01-02 15:03:28.000000000 +0100
+@@ -330,7 +330,7 @@ class install_data(_install_data):
+             if is_win32:
+                 dir = 'Doc'
+             else:
+-                dir = os.path.join('man', 'man1')
++                dir = os.path.join(os.getenv("PKGMANDIR"), 'man1')
+             self.data_files = [(dir, ["scons.1", "sconsign.1"])]
+             man_dir = os.path.join(self.install_dir, dir)
+             msg = "Installed SCons man pages into %s" % man_dir



Home | Main Index | Thread Index | Old Index