summaryrefslogtreecommitdiff
path: root/devel/py-opendht/Makefile
blob: aac9dd9992a82287c16147f0af004f001664a780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

PORTNAME=	opendht
DISTVERSION=	1.10.1
CATEGORIES=	devel net
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Lightweight Distributed Hash Table implementation

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/../COPYING

LIB_DEPENDS=	libopendht.so:devel/opendht \
		libgnutls.so:security/gnutls

USES=		cmake compiler:c++11-lib localbase python:3.4+
USE_GITHUB=	yes
GH_ACCOUNT=	savoirfairelinux
USE_PYTHON=	distutils cython autoplist

WRKSRC_SUBDIR=	python

post-stage:
	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/opendht*.so

.include <bsd.port.mk>