pkgsrc/devel/py-kjbuckets/Makefile
2022-01-10 20:36:40 +00:00

30 lines
887 B
Makefile

# $NetBSD: Makefile,v 1.24 2022/01/10 20:36:40 wiz Exp $
DISTNAME= gadfly-1.0.0
PKGNAME= ${PYPKGPREFIX}-kjbuckets-2.2
PKGREVISION= 3
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gadfly/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gadfly.sourceforge.net/kjbuckets.html
COMMENT= Fast set, graph and mapping operations
EXTRACT_ELEMENTS= ${DISTNAME}/kjbuckets
EXTRACT_ELEMENTS+= ${DISTNAME}/doc/kjbuckets.txt
WRKSRC= ${WRKDIR}/${DISTNAME}/kjbuckets
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX:Q}
PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 1.0.0 resp. 2.2
KJBDOCDIR= ${PREFIX}/share/doc/${PYPKGPREFIX}-kjbuckets
EGG_NAME= kjbuckets-${PKGVERSION_NOREV}
INSTALLATION_DIRS= ${KJBDOCDIR}
post-install:
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/kjbuckets.txt ${DESTDIR}${KJBDOCDIR}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"