pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-Glances: Adds PKGMANDIR variable for man page location.
Module Name: pkgsrc-wip
Committed By: Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By: fox
Date: Wed Oct 9 17:14:59 2019 -0500
Changeset: e93e2f29bd6ad7b6b6e2acb843d8b586018409ae
Modified Files:
py-Glances/Makefile
py-Glances/distinfo
py-Glances/patches/patch-setup.py
Log Message:
py-Glances: Adds PKGMANDIR variable for man page location.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e93e2f29bd6ad7b6b6e2acb843d8b586018409ae
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-Glances/Makefile | 1 +
py-Glances/distinfo | 2 +-
py-Glances/patches/patch-setup.py | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diffs:
diff --git a/py-Glances/Makefile b/py-Glances/Makefile
index 77ac4de88b..c51aeab066 100644
--- a/py-Glances/Makefile
+++ b/py-Glances/Makefile
@@ -22,6 +22,7 @@ SUBST_STAGE.prefix= pre-configure
SUBST_MESSAGE.prefix= Set correct prefix in setup.py
SUBST_FILES.prefix= ${WRKSRC}/setup.py
SUBST_VARS.prefix= PREFIX
+SUBST_VARS.prefix+= PKGMANDIR
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-Glances/distinfo b/py-Glances/distinfo
index 98292fda0f..d6f47fab31 100644
--- a/py-Glances/distinfo
+++ b/py-Glances/distinfo
@@ -4,4 +4,4 @@ SHA1 (Glances-3.1.2.tar.gz) = 173a5553336a91ae84c9017988ad3713a13cec08
RMD160 (Glances-3.1.2.tar.gz) = ecf801eee82a575b06edfaf08a4ba48d77a8d092
SHA512 (Glances-3.1.2.tar.gz) = 3ccf82b0b5742c07a044112cedf10b56a6e615a4e01e18c7b18fa426f922119d7623e4c0c6cd92fb6c54f82ef79718eb16a187a9e4c2d4484ad8e41a89eccfc6
Size (Glances-3.1.2.tar.gz) = 6713025 bytes
-SHA1 (patch-setup.py) = 6179af90ad5108fd9857e0981dd1cbe102a44a9c
+SHA1 (patch-setup.py) = d3b2da65fac43a4ef2471d0d5bde42a2852a1457
diff --git a/py-Glances/patches/patch-setup.py b/py-Glances/patches/patch-setup.py
index 78b0d56384..7db40dfbe7 100644
--- a/py-Glances/patches/patch-setup.py
+++ b/py-Glances/patches/patch-setup.py
@@ -10,7 +10,7 @@ Fixes paths of the man page and sample configuration file.
'CONTRIBUTING.md', 'conf/glances.conf']),
- ('share/man/man1', ['docs/man/glances.1'])
+ ('@PREFIX@/share/examples/glances', ['conf/glances.conf']),
-+ ('@PREFIX@/man/man1', ['docs/man/glances.1'])
++ ('@PREFIX@/@PKGMANDIR@/man1', ['docs/man/glances.1'])
]
return data_files
Home |
Main Index |
Thread Index |
Old Index