summaryrefslogtreecommitdiff
path: root/filesystems
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2021-12-01 16:37:37 +0000
committerpho <pho@pkgsrc.org>2021-12-01 16:37:37 +0000
commit2d28b5f1b56172d588081f87293ca633548a057c (patch)
treebbe516c054ada91cdaa367fdfdcea81d093ac14c /filesystems
parentadc52f9cfa7c1297b200a1157f0d79f180e22a0c (diff)
downloadpkgsrc-2d28b5f1b56172d588081f87293ca633548a057c.tar.gz
Eliminate PYPKGPREFIX leaked into PLIST
Diffstat (limited to 'filesystems')
-rw-r--r--filesystems/py-fuse-bindings/Makefile6
-rw-r--r--filesystems/py-fuse-bindings/PLIST6
2 files changed, 6 insertions, 6 deletions
diff --git a/filesystems/py-fuse-bindings/Makefile b/filesystems/py-fuse-bindings/Makefile
index c5dc0e617a4..e6c679cb776 100644
--- a/filesystems/py-fuse-bindings/Makefile
+++ b/filesystems/py-fuse-bindings/Makefile
@@ -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 @@ USE_TOOLS+= pkg-config
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 @@ post-install:
${DESTDIR}${PREFIX}/${EGDIR}
.include "../../lang/python/egg.mk"
-
.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/filesystems/py-fuse-bindings/PLIST b/filesystems/py-fuse-bindings/PLIST
index a0fedec9abb..48c73d5229d 100644
--- a/filesystems/py-fuse-bindings/PLIST
+++ b/filesystems/py-fuse-bindings/PLIST
@@ -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/setcompatwrap.pyo
${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