29 lines
793 B
Makefile
29 lines
793 B
Makefile
PORTNAME= maxminddb
|
|
PORTVERSION= 2.7.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= net python geography
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= olivier@FreeBSD.org
|
|
COMMENT= Python module for reading MaxMind DB file
|
|
WWW= https://github.com/maxmind/MaxMind-DB-Reader-python
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
|
|
USES= compiler:c11 localbase python
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= maxmind
|
|
GH_PROJECT= MaxMind-DB-Reader-python
|
|
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|