summaryrefslogtreecommitdiffstats
path: root/net/openvswitch/Makefile
blob: 95812536f7692b060a27cd96eed9c1017651d5d7 (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
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$

PORTNAME=	openvswitch
PORTVERSION=	2.3.2
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	http://openvswitch.org/releases/

MAINTAINER=	kevlo@FreeBSD.org
COMMENT=	Production quality, multilayer virtual switch

LICENSE=	APACHE20

USES=		cpe gmake libtool perl5 pkgconfig python shebangfix
SHEBANG_FILES=	vtep/ovs-vtep
USE_OPENSSL=	yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-shared --localstatedir=/var \
		--with-dbdir=/var/db/${PORTNAME} \
		--with-openssl=${OPENSSLBASE}
USE_RC_SUBR=	ovs-vswitchd ovsdb-server
LDFLAGS+=	-lpthread

post-install:
	${INSTALL_DATA} ${WRKSRC}/vswitchd/vswitch.ovsschema ${STAGEDIR}${PREFIX}/share/openvswitch/

.include <bsd.port.mk>
OpenPOWER on IntegriCloud