2018-12-15 22:12:18 +01:00
|
|
|
# $NetBSD: Makefile,v 1.7 2018/12/15 21:12:21 wiz Exp $
|
2016-05-03 16:53:05 +02:00
|
|
|
|
|
|
|
DISTNAME= pyfasthash-0.6.2
|
|
|
|
PKGNAME= ${DISTNAME:S/pyfast/${PYPKGPREFIX}-/}
|
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=flier/}
|
|
|
|
|
2018-12-15 22:12:18 +01:00
|
|
|
MAINTAINER= fhajny@NetBSD.org
|
2017-07-31 00:32:10 +02:00
|
|
|
HOMEPAGE= https://github.com/flier/pyfasthash/
|
2016-05-03 16:53:05 +02:00
|
|
|
COMMENT= Python Non-cryptographic Hash Library
|
|
|
|
LICENSE= apache-2.0
|
|
|
|
|
|
|
|
GITHUB_PROJECT= pyfasthash
|
|
|
|
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
|
|
|
|
EGG_NAME= ${DISTNAME:S/fast//}
|
|
|
|
|
2018-06-30 21:01:52 +02:00
|
|
|
MAKE_ENV+= PYVER=${_PYTHON_VERSION}
|
|
|
|
|
2016-06-21 20:00:02 +02:00
|
|
|
.include "../../mk/endian.mk"
|
|
|
|
.if ${MACHINE_ENDIAN} == "little"
|
|
|
|
CPPFLAGS+= -DHASH_LITTLE_ENDIAN=1 -DHASH_BIG_ENDIAN=0
|
|
|
|
.else
|
|
|
|
CPPFLAGS+= -DHASH_LITTLE_ENDIAN=0 -DHASH_BIG_ENDIAN=1
|
|
|
|
.endif
|
|
|
|
|
2016-05-03 16:53:05 +02:00
|
|
|
.include "../../devel/py-boost/buildlink3.mk"
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|