pkgsrc/filesystems/py-fuse-bindings/Makefile
gdt 99525f30ef Use egg.mk, not distutils.mk.
This package can use either setuptools (egg.mk) or distutils
(distutils.mk), but it prefers setuptools and thus should be built
with our egg.mk support.  Adjust PLIST for egg.mk (different)
variables and drop eggfile conditionalization, as eggs always have
egg-info directories.

Thanks to dholland@ and obache@ for noticing/suggesting.
2011-12-16 12:51:56 +00:00

32 lines
938 B
Makefile

# $NetBSD: Makefile,v 1.7 2011/12/16 12:51:56 gdt Exp $
#
VERSION= 0.2.1
DISTNAME= fuse-python-${VERSION}
PKGNAME= ${PYPKGPREFIX}-fuse-bindings-${VERSION}
CATEGORIES= filesystems python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fuse/fuse-python}/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FusePython
COMMENT= Python bindings for FUSE and refuse
LICENSE= gnu-lgpl-v2.1
EGG_NAME= fuse_python-${VERSION}
PYDISTUTILSPKG= yes
PY_PATCHLIST= yes
USE_TOOLS+= pkg-config
PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= 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/egg.mk"
.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"