29 lines
892 B
Makefile
29 lines
892 B
Makefile
# $NetBSD: Makefile,v 1.23 2022/01/22 18:52:11 pho Exp $
|
|
|
|
VERSION= 1.0.4
|
|
DISTNAME= fuse-python-${VERSION}
|
|
PKGNAME= ${PYPKGPREFIX}-fuse-bindings-${VERSION}
|
|
PKGREVISION= 2
|
|
CATEGORIES= filesystems python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=f/fuse-python/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://pypi.python.org/pypi/fuse-python
|
|
COMMENT= Python bindings for FUSE and refuse
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
EGDIR= share/examples/${PKGBASE}
|
|
INSTALLATION_DIRS= ${EGDIR}
|
|
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
|
|
PRINT_PLIST_AWK+= { gsub("${PYPKGPREFIX}-", "$${PYPKGPREFIX}-"); }
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/example/hello.py \
|
|
${DESTDIR}${PREFIX}/${EGDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/example/xmp.py \
|
|
${DESTDIR}${PREFIX}/${EGDIR}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/fuse.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|