pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/gajim chat/gajim: Fix man page installation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd511954cfa8
branches:  trunk
changeset: 313643:bd511954cfa8
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Oct 05 12:56:36 2018 +0000

description:
chat/gajim: Fix man page installation.

diffstat:

 chat/gajim/Makefile               |   6 +++++-
 chat/gajim/distinfo               |   4 ++--
 chat/gajim/patches/patch-setup.py |  28 ++++++----------------------
 3 files changed, 13 insertions(+), 25 deletions(-)

diffs (74 lines):

diff -r eb98d612e564 -r bd511954cfa8 chat/gajim/Makefile
--- a/chat/gajim/Makefile       Fri Oct 05 10:37:44 2018 +0000
+++ b/chat/gajim/Makefile       Fri Oct 05 12:56:36 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2018/09/20 10:30:16 nia Exp $
+# $NetBSD: Makefile,v 1.41 2018/10/05 12:56:36 nia Exp $
 
 DISTNAME=      gajim-1.0.3
 PKGREVISION=   2
@@ -11,6 +11,10 @@
 LICENSE=       gnu-gpl-v3
 
 USE_TOOLS+=    gettext
+
+MANCOMPRESSED= yes
+MAKE_ENV+=     PKGMANDIR=${PKGMANDIR}
+
 # needs --desktop
 _TOOLS_USE_PKGSRC.msgfmt=      yes
 
diff -r eb98d612e564 -r bd511954cfa8 chat/gajim/distinfo
--- a/chat/gajim/distinfo       Fri Oct 05 10:37:44 2018 +0000
+++ b/chat/gajim/distinfo       Fri Oct 05 12:56:36 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2018/09/20 10:30:16 nia Exp $
+$NetBSD: distinfo,v 1.6 2018/10/05 12:56:36 nia Exp $
 
 SHA1 (gajim-1.0.3.tar.gz) = 2f59e9eb6225144676718215d1f123b54e7b1ebb
 RMD160 (gajim-1.0.3.tar.gz) = 404c7ba2e6c7062762ca301f08aacae6969150aa
 SHA512 (gajim-1.0.3.tar.gz) = eb3ff2e4fe650fd98300d25b6a19eeb8101aaa5e88b6bd9f2fdabc9168d2211b3b69de82674dc861bb19a8e7e74eb6b1e1daa2e3a3ffe9a4099c557568512f4a
 Size (gajim-1.0.3.tar.gz) = 7520798 bytes
-SHA1 (patch-setup.py) = e6c0f220c42b642af28abb4bfa83ffba3ee4d27c
+SHA1 (patch-setup.py) = f8fd2bb45d0ced7c86972218e1a0194ad35127b8
diff -r eb98d612e564 -r bd511954cfa8 chat/gajim/patches/patch-setup.py
--- a/chat/gajim/patches/patch-setup.py Fri Oct 05 10:37:44 2018 +0000
+++ b/chat/gajim/patches/patch-setup.py Fri Oct 05 12:56:36 2018 +0000
@@ -1,31 +1,15 @@
-$NetBSD: patch-setup.py,v 1.2 2018/09/20 10:30:16 nia Exp $
-
-Don't compress man pages.
+$NetBSD: patch-setup.py,v 1.3 2018/10/05 12:56:36 nia Exp $
 
 Fix man page install location.
 
---- setup.py.orig      2018-05-19 09:02:48.000000000 +0000
+--- setup.py.orig      2018-10-05 12:43:13.496034076 +0000
 +++ setup.py
-@@ -112,11 +112,11 @@ def build_man(build_cmd):
- 
+@@ -113,7 +113,7 @@ def build_man(build_cmd):
  def install_man(install_cmd):
      data_files = install_cmd.distribution.data_files
--    man_dir = os.path.join(build_dir, 'man')
+     man_dir = os.path.join(build_dir, 'man')
 -    target = 'share/man/man1'
-+    man_dir = 'data'
-+    target = 'man/man1'
++    target = os.path.join(os.environ['PKGMANDIR'], 'man1')
  
      for man in MAN_FILES:
--        man_file_gz = os.path.join(man_dir, man + '.gz')
-+        man_file_gz = os.path.join(man_dir, man)
-         data_files.append((target, [man_file_gz]))
- 
- 
-@@ -164,7 +164,6 @@ class build(_build):
-     def run(self):
-         build_trans(self)
-         if sys.platform != 'win32':
--            build_man(self)
-             build_intl(self)
-         _build.run(self)
- 
+         man_file_gz = os.path.join(man_dir, man + '.gz')



Home | Main Index | Thread Index | Old Index