ee6bf5f093
Build and install it...
29 lines
682 B
Makefile
29 lines
682 B
Makefile
# Created by: Mikhail Teterin <mi@aldan.algebra.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dht
|
|
PORTVERSION= 0.22
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.pps.univ-paris-diderot.fr/~jch/software/files/
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
COMMENT= Mainline variant of Kademlia Distributed Hash Table (DHT)
|
|
|
|
LICENSE= MIT
|
|
|
|
MAKEFILE= ${FILESDIR}/BSDmakefile
|
|
USE_LDCONFIG= yes
|
|
USES= uidfix
|
|
MAKE_ENV+= STAGEDIR="${STAGEDIR}"
|
|
|
|
post-build:
|
|
${SETENV} ${MAKE_ENV} ${MAKE} -C ${WRKSRC} -f \
|
|
${FILESDIR}/Makefile.example
|
|
post-install:
|
|
${SETENV} ${MAKE_ENV} ${MAKE} -C ${WRKSRC} -f \
|
|
${FILESDIR}/Makefile.example install
|
|
|
|
pre-su-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/include/dht
|
|
|
|
.include <bsd.port.mk>
|