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

PORTNAME=	opendht
PORTVERSION=	0.5.2
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-stage:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopendht.so.0.0.0

.include <bsd.port.mk>