summaryrefslogtreecommitdiff
path: root/filesystems/py-fuse-bindings
diff options
context:
space:
mode:
authorwiz <wiz>2008-06-30 15:44:40 +0000
committerwiz <wiz>2008-06-30 15:44:40 +0000
commit0d885c58f6012b82e6e956a3af6c533edec29872 (patch)
treec26aba5ef347f9e911a3b2fcab37f20e3b818b14 /filesystems/py-fuse-bindings
parent8d9ecf5a563bae7d76c02632fe8ffd19692acd17 (diff)
downloadpkgsrc-0d885c58f6012b82e6e956a3af6c533edec29872.tar.gz
Fix installation with python-2.5, using the appropriate infrastructure
(following some hints by joerg@). Add missing files to PLIST. Mark as user-destdir ready. Bump PKGREVISION.
Diffstat (limited to 'filesystems/py-fuse-bindings')
-rw-r--r--filesystems/py-fuse-bindings/Makefile22
-rw-r--r--filesystems/py-fuse-bindings/PLIST6
2 files changed, 17 insertions, 11 deletions
diff --git a/filesystems/py-fuse-bindings/Makefile b/filesystems/py-fuse-bindings/Makefile
index bc374055f9d..2bdcaeb39c0 100644
--- a/filesystems/py-fuse-bindings/Makefile
+++ b/filesystems/py-fuse-bindings/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/05/04 19:51:52 agc Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/30 15:44:40 wiz Exp $
#
DISTNAME= fuse-python-0.2pre1-20060720
PKGNAME= ${PYPKGPREFIX}-fuse-bindings-0.2pre1
+PKGREVISION= 1
CATEGORIES= filesystems python
MASTER_SITES= http://bsd.cenkes.org/myports/
EXTRACT_SUFX= .tar.bz2
@@ -11,20 +12,21 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://bsd.cenkes.org/myports/
COMMENT= Python bindings for FUSE and refuse
-PYSETUP= setup.py
-PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q}
+PYDISTUTILSPKG= yes
+PY_PATCHLIST= yes
USE_TOOLS+= pkg-config
+PKG_DESTDIR_SUPPORT= user-destdir
-do-build:
- cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} build
+INSTALLATION_DIRS= share/examples/fuse-python
-do-install:
- cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} install
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fuse-python
- ${INSTALL_SCRIPT} ${WRKSRC}/example/hello.py ${PREFIX}/share/examples/fuse-python/
- ${INSTALL_SCRIPT} ${WRKSRC}/example/xmp.py ${PREFIX}/share/examples/fuse-python/
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/example/hello.py \
+ ${DESTDIR}${PREFIX}/share/examples/fuse-python/
+ ${INSTALL_SCRIPT} ${WRKSRC}/example/xmp.py \
+ ${DESTDIR}${PREFIX}/share/examples/fuse-python/
.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.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 51202351495..d5909b9f1db 100644
--- a/filesystems/py-fuse-bindings/PLIST
+++ b/filesystems/py-fuse-bindings/PLIST
@@ -1,13 +1,17 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/04 19:51:52 agc Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/06/30 15:44:41 wiz Exp $
${PYSITELIB}/fuse.py
${PYSITELIB}/fuse.pyc
+${PYSITELIB}/fuse.pyo
${PYSITELIB}/fuseparts/__init__.py
${PYSITELIB}/fuseparts/__init__.pyc
+${PYSITELIB}/fuseparts/__init__.pyo
${PYSITELIB}/fuseparts/_fusemodule.so
${PYSITELIB}/fuseparts/setcompatwrap.py
${PYSITELIB}/fuseparts/setcompatwrap.pyc
+${PYSITELIB}/fuseparts/setcompatwrap.pyo
${PYSITELIB}/fuseparts/subbedopts.py
${PYSITELIB}/fuseparts/subbedopts.pyc
+${PYSITELIB}/fuseparts/subbedopts.pyo
share/examples/fuse-python/hello.py
share/examples/fuse-python/xmp.py
@dirrm share/examples/fuse-python