pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-gi-docgen py-gi-docgen: Fix PKGMANDIR=share/man.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b5f558f000d
branches:  trunk
changeset: 379976:4b5f558f000d
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu May 26 11:09:54 2022 +0000

description:
py-gi-docgen: Fix PKGMANDIR=share/man.

diffstat:

 devel/py-gi-docgen/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 61f16fd92b24 -r 4b5f558f000d devel/py-gi-docgen/Makefile
--- a/devel/py-gi-docgen/Makefile       Thu May 26 10:30:33 2022 +0000
+++ b/devel/py-gi-docgen/Makefile       Thu May 26 11:09:54 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2022/05/23 14:58:37 ryoon Exp $
+# $NetBSD: Makefile,v 1.3 2022/05/26 11:09:54 jperkin Exp $
 
 DISTNAME=      gi-docgen-2022.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -30,8 +30,12 @@
 
 INSTALLATION_DIRS=     ${PKGMANDIR}/man1
 
+.include "../../mk/bsd.prefs.mk"
+
 post-install:
+.if ${PKGMANDIR} != "share/man"
        ${MV} ${DESTDIR}${PREFIX}/share/man/man1/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+.endif
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index