pkgsrc/filesystems/py-fuse-bindings/Makefile
agc a15c26e1f1 Initial import of python bindings (version 0.2pre1) for fuse and
refuse into the Packages Collection.

	Python bindings for the FUSE and refuse interfaces.

	FUSE allows file sytsem operations to take place at user level, rather
	than in the kernel.  Refuse is a BSD-licensed re-implementation of
	fuse, running on top of the puffs functionality.  This package
	provides a python language interface to the FUSE interface.

	To achieve backwards compatibility with previous versions of the fuse
	bindings for python, set the environment variable

		FUSE_PYTHON_COMPAT=0.1
2007-05-04 19:51:52 +00:00

30 lines
922 B
Makefile

# $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"