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 *.gir search path...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ebf27828546f
branches:  trunk
changeset: 379789:ebf27828546f
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon May 23 14:58:37 2022 +0000

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

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

diffstat:

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

diffs (26 lines):

diff -r 34d5c9b28312 -r ebf27828546f devel/py-gi-docgen/Makefile
--- a/devel/py-gi-docgen/Makefile       Mon May 23 13:51:51 2022 +0000
+++ b/devel/py-gi-docgen/Makefile       Mon May 23 14:58:37 2022 +0000
@@ -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 @@
 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