summaryrefslogtreecommitdiff
path: root/filesystems/fuse-wikipediafs/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-07-04 14:27:26 +0000
committerwiz <wiz@pkgsrc.org>2008-07-04 14:27:26 +0000
commit4e5d63ae6127a78fbf73593477faf42657a0e236 (patch)
tree06eaf06c60d1ce787700188d7d4141e43b778fc4 /filesystems/fuse-wikipediafs/Makefile
parent0128aad1ce094deb8d757bdc79a9a097c97d7aea (diff)
downloadpkgsrc-4e5d63ae6127a78fbf73593477faf42657a0e236.tar.gz
Use the python infrastructure.
Installs compiled python objects, so add them to PLIST and bump PKGREVISION. Replace patch-aa with better SUBST framework usage.
Diffstat (limited to 'filesystems/fuse-wikipediafs/Makefile')
-rw-r--r--filesystems/fuse-wikipediafs/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/filesystems/fuse-wikipediafs/Makefile b/filesystems/fuse-wikipediafs/Makefile
index acdeb069516..ca46e0aa3f7 100644
--- a/filesystems/fuse-wikipediafs/Makefile
+++ b/filesystems/fuse-wikipediafs/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2008/04/25 20:39:09 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2008/07/04 14:27:26 wiz Exp $
#
DISTNAME= wikipediafs-0.3
PKGNAME= fuse-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= filesystems
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wikipediafs/}
@@ -12,24 +13,17 @@ COMMENT= FUSE filesystem for accessing the wikipedia
PYTHON_VERSIONS_ACCEPTED= 25 24
-PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q}
+PYDISTUTILSPKG= yes
+PY_PATCHLIST= yes
SUBST_CLASSES+= config
SUBST_STAGE.config= post-patch
SUBST_FILES.config= setup.py
-SUBST_SED.config+= -e "s|@PREFIX@|${PREFIX}|g"
-SUBST_SED.config+= -e "s|@PKGMANDIR@|${PKGMANDIR}|g"
-SUBST_SED.config+= -e "s|@PYSITELIB@|${PREFIX}/${PYSITELIB}|g"
+SUBST_SED.config+= -e "s|/usr/share/man/man1/|${PKGMANDIR}/man1/|g"
SUBST_MESSAGE.config= Fixing paths.
-do-build:
- cd ${WRKSRC} && ${PYTHONBIN} setup.py build
-
-do-install:
- cd ${WRKSRC} && ${PYTHONBIN} setup.py install
-
.include "../../filesystems/py-fuse-bindings/buildlink3.mk"
-.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"