summaryrefslogtreecommitdiff
path: root/net/wireguard/Makefile
blob: 26b18da7ff80f113ab865cee6bd8bb97b7e72d4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

PORTNAME=	wireguard
PORTVERSION=	2
PORTEPOCH=	1
CATEGORIES=	net net-vpn

MAINTAINER=	decke@FreeBSD.org
COMMENT=	Meta-port for Wireguard

RUN_DEPENDS=	wg-quick:net/wireguard-tools

USES=	metaport

.include <bsd.port.options.mk>

.if ${OSVERSION} < 1201000
RUN_DEPENDS+=	wireguard-go:net/wireguard-go
.else
RUN_DEPENDS+=	${KMODDIR}/if_wg.ko:net/wireguard-kmod
.endif

.include <bsd.port.mk>