summaryrefslogtreecommitdiff
path: root/filesystems/py-fuse-bindings/Makefile
blob: bc374055f9d5a8f24434edc41415626e078d641c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile,v 1.1.1.1 2007/05/04 19:51:52 agc Exp $
#

DISTNAME=		fuse-python-0.2pre1-20060720
PKGNAME=		${PYPKGPREFIX}-fuse-bindings-0.2pre1
CATEGORIES=		filesystems python
MASTER_SITES=		http://bsd.cenkes.org/myports/
EXTRACT_SUFX=		.tar.bz2

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}
USE_TOOLS+=		pkg-config

do-build:
	cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} build

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/

.include "../../lang/python/application.mk"

.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"