summaryrefslogtreecommitdiff
path: root/devel/libtuntap/Makefile
blob: 8aa53f033de8782ced5e8842cf2f6416b2b9bd08 (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.4
PORTREVISION=	1
DISTVERSIONPREFIX=	${PORTNAME}-
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>