1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/net/openvswitch/Makefile
Olli Hauer 4fb1cfb1cd - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mk
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20
- add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk
- add entry in UPDATING
- bulk change all ports AL2 => APACHE20

- math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4

PR:		ports/184785
Submitted by:	ohauer
Reviewed by:	tabthorpe
Approved by:	portmgr (tabthorpe@)
2013-12-30 20:55:18 +00:00

57 lines
1.6 KiB
Makefile

# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$
PORTNAME= openvswitch
PORTVERSION= 1.7.1
CATEGORIES= net
MASTER_SITES= http://openvswitch.org/releases/
MAINTAINER= emaste@FreeBSD.org
COMMENT= A production quality, multilayer virtual switch
LICENSE= APACHE20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= SSL_LIBS=-lssl SSL_CFLAGS=-I/usr/include/openssl
USE_AUTOTOOLS= autoconf automake
USES= gmake pkgconfig
USE_PYTHON= yes
USE_RC_SUBR= ovs-vswitchd ovsdb-server
MAN1= ovs-benchmark.1 ovs-pcap.1 ovs-tcpundump.1 ovsdb-client.1 \
ovsdb-server.1 ovsdb-tool.1
MAN5= ovs-vswitchd.conf.db.5
MAN8= ovs-appctl.8 ovs-brcompatd.8 ovs-bugtool.8 ovs-controller.8 \
ovs-ctl.8 ovs-dpctl.8 ovs-ofctl.8 ovs-parse-leaks.8 ovs-pki.8 \
ovs-test.8 ovs-vsctl.8 ovs-vswitchd.8 \
ovs-vlan-bug-workaround.8 ovs-vlan-test.8
OPTIONS_DEFINE= THREADED
THREADED_DESC= Experimental high-performance threading patch
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MTHREADED}
CONFIGURE_ARGS+=--enable-threaded=yes
.endif
AUTOTOOLSFILES= aclocal.m4
post-patch:
@${REINPLACE_CMD} -e 's|1.11.3|%%AUTOMAKE_APIVER%%|g' \
-e 's|2.68|%%AUTOCONF_VERSION%%|g' \
${WRKSRC}/aclocal.m4
.if ${PORT_OPTIONS:MTHREADED}
@# We can't use EXTRA_PATCHES, since we need to apply this one
@# after files/patch-bsd-netdef.diff, not before.
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/threaded.diff
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/vswitchd/vswitch.ovsschema ${PREFIX}/share/openvswitch/
#regression-test: build
# @cd ${WRKSRC} && ${GMAKE} check
.include <bsd.port.post.mk>