1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/net/cjdns/Makefile
Rene Ladan 8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00

45 lines
1.2 KiB
Makefile

# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$
PORTNAME= cjdns
DISTVERSIONPREFIX= cjdns-v
DISTVERSION= 20.2
CATEGORIES= net security
MAINTAINER= yuri@FreeBSD.org
COMMENT= Routing engine designed for security, scalability, speed
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_armv6= fails to build: Killing runaway build after 21600 seconds with no output
BROKEN_armv7= fails to build: Killing runaway build after 21600 seconds with no output
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>