summaryrefslogtreecommitdiffstats
path: root/devel/opendht/Makefile
blob: 43496ef26f391d8e75299ff3b8d8fc6f927ad192 (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
34
# 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 \
		libreadline.so:devel/readline

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
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