mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
a18ef74117
Reported by: portscout Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D14149
42 lines
1018 B
Makefile
42 lines
1018 B
Makefile
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cjdns
|
|
DISTVERSIONPREFIX= cjdns-v
|
|
DISTVERSION= 20.1
|
|
CATEGORIES= net security
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Routing engine designed for security, scalability, speed
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= node:www/node \
|
|
bash:shells/bash
|
|
|
|
USES= gmake python:2.7
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= cjdelisle
|
|
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>
|