blob: 213b9be611b10cb512e4af62a8ae6bc1bda45c6d (
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
28
29
|
PORTNAME= opendht
DISTVERSIONPREFIX= v
DISTVERSION= 2.6.0.4
CATEGORIES= devel net
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Lightweight Distributed Hash Table implementation
WWW= https://github.com/savoirfairelinux/opendht/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/../COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/boost/predef/other/endian.h:devel/boost-libs
LIB_DEPENDS= libopendht.so:devel/opendht \
libgnutls.so:security/gnutls
USES= cmake compiler:c++17-lang localbase python
USE_PYTHON= distutils cython autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= savoirfairelinux
WRKSRC_SUBDIR= python
post-stage:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/opendht*.so
.include <bsd.port.mk>
|