pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/filesystems/py-fuse-bindings Eliminate PYPKGPREFIX lea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aec708946968
branches:  trunk
changeset: 770508:aec708946968
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Dec 01 16:37:37 2021 +0000

description:
Eliminate PYPKGPREFIX leaked into PLIST

diffstat:

 filesystems/py-fuse-bindings/Makefile |  6 +++---
 filesystems/py-fuse-bindings/PLIST    |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r 89466568432e -r aec708946968 filesystems/py-fuse-bindings/Makefile
--- a/filesystems/py-fuse-bindings/Makefile     Wed Dec 01 16:29:05 2021 +0000
+++ b/filesystems/py-fuse-bindings/Makefile     Wed Dec 01 16:37:37 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2021/11/30 05:25:57 pho Exp $
+# $NetBSD: Makefile,v 1.21 2021/12/01 16:37:37 pho Exp $
 
 VERSION=               1.0.4
 DISTNAME=              fuse-python-${VERSION}
@@ -15,7 +15,8 @@
 
 EGDIR=                 share/examples/${PKGBASE}
 INSTALLATION_DIRS=     ${EGDIR}
-
+PLIST_SUBST+=          PYPKGPREFIX=${PYPKGPREFIX}
+PRINT_PLIST_AWK+=      { gsub("${PYPKGPREFIX}-", "$${PYPKGPREFIX}-"); }
 post-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/example/hello.py \
                ${DESTDIR}${PREFIX}/${EGDIR}
@@ -23,6 +24,5 @@
                ${DESTDIR}${PREFIX}/${EGDIR}
 
 .include "../../lang/python/egg.mk"
-
 .include "../../mk/fuse.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 89466568432e -r aec708946968 filesystems/py-fuse-bindings/PLIST
--- a/filesystems/py-fuse-bindings/PLIST        Wed Dec 01 16:29:05 2021 +0000
+++ b/filesystems/py-fuse-bindings/PLIST        Wed Dec 01 16:37:37 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2021/11/30 05:25:57 pho Exp $
+@comment $NetBSD: PLIST,v 1.9 2021/12/01 16:37:37 pho Exp $
 ${PYSITELIB}/fuse.py
 ${PYSITELIB}/fuse.pyc
 ${PYSITELIB}/fuse.pyo
@@ -16,5 +16,5 @@
 ${PYSITELIB}/fuseparts/subbedopts.py
 ${PYSITELIB}/fuseparts/subbedopts.pyc
 ${PYSITELIB}/fuseparts/subbedopts.pyo
-share/examples/py39-fuse-bindings/hello.py
-share/examples/py39-fuse-bindings/xmp.py
+share/examples/${PYPKGPREFIX}-fuse-bindings/hello.py
+share/examples/${PYPKGPREFIX}-fuse-bindings/xmp.py



Home | Main Index | Thread Index | Old Index