summaryrefslogtreecommitdiff
path: root/devel/py-opendht/Makefile
blob: 227f8a210e8b3c6b5f5d7e631511f9e9952c08f9 (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
27
28
# $FreeBSD$

PORTNAME=	opendht
DISTVERSION=	1.8.0
PORTREVISION=	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>