diff options
author | wiz <wiz@pkgsrc.org> | 2008-06-30 15:44:40 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2008-06-30 15:44:40 +0000 |
commit | 940f444b2a1ec096f617e39d00b5b189cf6d4ec1 (patch) | |
tree | c26aba5ef347f9e911a3b2fcab37f20e3b818b14 | |
parent | a35f0a4f2a94b045b3b2080412ae82479694dc64 (diff) | |
download | pkgsrc-940f444b2a1ec096f617e39d00b5b189cf6d4ec1.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.
-rw-r--r-- | filesystems/py-fuse-bindings/Makefile | 22 | ||||
-rw-r--r-- | filesystems/py-fuse-bindings/PLIST | 6 |
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 |