aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-opendht/Makefile
blob: 267add40d8dedf371949e87294f2263ca02a1143 (plain) (blame)
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
# $FreeBSD$

PORTNAME=   opendht
DISTVERSION=    1.7.4
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:outsource 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>