pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-gi-docgen



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu May 26 11:09:54 UTC 2022

Modified Files:
        pkgsrc/devel/py-gi-docgen: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-gi-docgen/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-gi-docgen/Makefile
diff -u pkgsrc/devel/py-gi-docgen/Makefile:1.2 pkgsrc/devel/py-gi-docgen/Makefile:1.3
--- pkgsrc/devel/py-gi-docgen/Makefile:1.2      Mon May 23 14:58:37 2022
+++ pkgsrc/devel/py-gi-docgen/Makefile  Thu May 26 11:09:54 2022
@@ -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 @@ SUBST_SED.prefix+=   -e 's,/usr/local,${PR
 
 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