freebsd-ports/net/cjdns/Makefile
Kirill Ponomarev 66670bd50b Update net/cjdns to 19.1
PR:		217360
Submitted by:	maintainer
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D9808
2017-03-02 15:43:36 +00:00

43 lines
1013 B
Makefile

# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$
PORTNAME= cjdns
PORTVERSION= 19.1
DISTVERSIONPREFIX= cjdns-v
CATEGORIES= net security
MAINTAINER= yuri@rawbw.com
COMMENT= Routing engine designed for security, scalability, speed
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= node:www/node \
bash:shells/bash
USE_GITHUB= yes
GH_ACCOUNT= cjdelisle
USES= gmake python
USE_RC_SUBR= cjdns
SUB_FILES= cjdns pkg-message
SUB_LIST= LOCALBASE=${LOCALBASE}
PLIST_FILES= bin/cjdroute bin/run-cjdroute man/man5/cjdroute.conf.5.gz
post-patch:
@${REINPLACE_CMD} -i '' -e 's|/etc/|${LOCALBASE}/etc/|g' \
${WRKSRC}/contrib/sh/run-cjdroute.sh
do-build:
cd ${WRKSRC} && ./do
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cjdroute ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/contrib/sh/run-cjdroute.sh ${STAGEDIR}${PREFIX}/bin/run-cjdroute
${INSTALL_MAN} ${WRKSRC}/doc/man/cjdroute.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5
do-test:
${WRKSRC}/cjdroute --bench
.include <bsd.port.mk>