summaryrefslogtreecommitdiff
path: root/devel/libtuntap/Makefile
blob: 968ab5cf7d6d6f6931a6f4719c0e6bc0cb868fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Mahdi Mokhtari <mokhi64@gmail.com>
# $FreeBSD$

PORTNAME=	libtuntap
DISTVERSION=	0.3-23
PORTREVISION=	4
DISTVERSIONSUFFIX=	-ga8bcade
CATEGORIES=	devel net

MAINTAINER=	mmokhi@FreeBSD.org
COMMENT=	Configuring TUN or TAP devices API in a portable manner

LICENSE=	MIT

USES=		cmake
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	LaKabane

OPTIONS_DEFINE=	CXX_WRPR TEST
OPTIONS_SUB=	yes

CXX_WRPR_DESC=	Build C++ wrapper library
TEST_DESC=	Build regression tests

CXX_WRPR_USES=		compiler:c++11-lang
CXX_WRPR_CMAKE_BOOL=	ENABLE_CXX
CXX_WRPR_VARS=		USE_CXXSTD=c++11
TEST_CMAKE_BOOL=	ENABLE_REGRESS
TEST_TEST_TARGET=	test

.include <bsd.port.mk>