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:   ryoon
Date:           Mon May 23 14:58:37 UTC 2022

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

Log Message:
py-gi-docgen: Fix *.gir search path for pkgsrc

Fix build of graphics/librsvg-2.54.3.
Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 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.1 pkgsrc/devel/py-gi-docgen/Makefile:1.2
--- pkgsrc/devel/py-gi-docgen/Makefile:1.1      Wed Apr  6 06:02:34 2022
+++ pkgsrc/devel/py-gi-docgen/Makefile  Mon May 23 14:58:37 2022
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2022/04/06 06:02:34 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2022/05/23 14:58:37 ryoon Exp $
 
 DISTNAME=      gi-docgen-2022.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/gi-docgen/}
 
@@ -21,6 +22,12 @@ TOOL_DEPENDS+=       ${PYPKGPREFIX}-wheel-[0-9
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 PYTHON_SELF_CONFLICT=          yes
 
+SUBST_CLASSES+=                prefix
+SUBST_STAGE.prefix=    pre-configure
+SUBST_MESSAGE.prefix=  Fixing PREFIX.
+SUBST_FILES.prefix+=   gidocgen/utils.py
+SUBST_SED.prefix+=     -e 's,/usr/local,${PREFIX},g'
+
 INSTALLATION_DIRS=     ${PKGMANDIR}/man1
 
 post-install:



Home | Main Index | Thread Index | Old Index