summaryrefslogtreecommitdiff
path: root/devel/jech-dht/Makefile
blob: a8bf54807e7aab6a8019b2e92b39782414ae6573 (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
PORTNAME=	dht
DISTVERSIONPREFIX=	${PORTNAME}-
DISTVERSION=	0.27
CATEGORIES=	devel

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Mainline variant of Kademlia Distributed Hash Table (DHT)
WWW=		http://www.pps.univ-paris-diderot.fr/~jch/software/bittorrent/

LICENSE=	MIT

USES=		uidfix

USE_GITHUB=	yes
GH_ACCOUNT=	jech

USE_LDCONFIG=	yes
MAKE_ENV=	STAGEDIR="${STAGEDIR}"

MAKEFILE=	${FILESDIR}/BSDmakefile

post-build:
	${SETENV} ${MAKE_ENV} ${MAKE} -C ${WRKSRC} -f \
		${FILESDIR}/Makefile.example

pre-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/include/dht

post-install:
	${SETENV} ${MAKE_ENV} ${MAKE} -C ${WRKSRC} -f \
		${FILESDIR}/Makefile.example install

.include <bsd.port.mk>