summaryrefslogtreecommitdiffstats
path: root/devel/opendht/Makefile
blob: 978ff41feb56eca7a714564fd0861793940e8277 (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
29
30
31
32
33
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$

PORTNAME=	opendht
PORTVERSION=	0.5.2
PORTREVISION=	1
CATEGORIES=	devel net

MAINTAINER=	yuri@rawbw.com
COMMENT=	Lightweight Distributed Hash Table implementation

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libmsgpackc.so:devel/msgpack \
		libnettle.so:security/nettle \
		libgnutls.so:security/gnutls

USE_GITHUB=	yes
GH_ACCOUNT=	savoirfairelinux

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--disable-python
USE_LDCONFIG=	yes

USES=		autoreconf compiler:c++11-lib libtool pathfix pkgconfig readline:port
CFLAGS+=	-I${LOCALBASE}/include
CXXFLAGS+=	-I${LOCALBASE}/include

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopendht.so.0.0.0

.include <bsd.port.mk>
OpenPOWER on IntegriCloud