2013-09-21 00:10:23 +02:00
|
|
|
# Created by: Philip M. Gollucci <ports@FreeBSD.org>
|
2005-03-11 14:51:32 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2007-02-18 18:49:37 +01:00
|
|
|
PORTNAME= vde2
|
2012-01-28 18:50:03 +01:00
|
|
|
PORTVERSION= 2.3.2
|
2015-06-17 14:57:39 +02:00
|
|
|
PORTREVISION= 2
|
2005-03-11 14:51:32 +01:00
|
|
|
CATEGORIES= net
|
2009-08-22 02:32:25 +02:00
|
|
|
MASTER_SITES= SF/vde/${PORTNAME}/${PORTVERSION}
|
2005-03-11 14:51:32 +01:00
|
|
|
|
2010-04-05 01:51:46 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-03-11 14:51:32 +01:00
|
|
|
COMMENT= User-mode virtual ethernet infrastructure
|
|
|
|
|
2014-12-11 00:55:29 +01:00
|
|
|
LICENSE= BSD3CLAUSE GPLv2 LGPL21
|
2012-01-28 18:50:03 +01:00
|
|
|
LICENSE_COMB= multi
|
|
|
|
|
2007-02-18 18:49:37 +01:00
|
|
|
CONFLICTS= vde-[0-9]*
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2014-07-09 17:54:35 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2015-06-17 14:57:39 +02:00
|
|
|
USES= gmake libtool pathfix shebangfix
|
|
|
|
SHEBANG_FILES= src/lib/python/VdePlug.py
|
2010-07-15 07:13:57 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-02-06 20:14:10 +01:00
|
|
|
MAKE_ENV= V=1
|
2012-01-28 18:50:03 +01:00
|
|
|
MAKE_JOBS_UNSAFE=yes
|
2007-02-18 18:49:37 +01:00
|
|
|
|
2014-02-06 20:14:10 +01:00
|
|
|
OPTIONS_DEFINE= PYTHON
|
|
|
|
OPTIONS_DEFAULT= PYTHON
|
|
|
|
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
PYTHON_CONFIGURE_OFF= --disable-python
|
2015-01-03 09:47:51 +01:00
|
|
|
PYTHON_USES= python
|
2014-02-06 20:14:10 +01:00
|
|
|
PYTHON_CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
PYTHON_LDFLAGS= -L${LOCALBASE}/lib
|
2010-07-15 07:13:57 +02:00
|
|
|
|
|
|
|
post-patch:
|
2010-09-18 17:57:13 +02:00
|
|
|
@${REINPLACE_CMD} -e '/-Wall/s|-O2||g' \
|
|
|
|
${WRKSRC}/configure
|
2010-07-15 07:13:57 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|$$(MAKE).*install-data-hook||g' \
|
|
|
|
${WRKSRC}/man/Makefile.in
|
2010-09-18 17:57:13 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|^AM_CFLAGS|#AM_CFLAGS|g' \
|
|
|
|
${WRKSRC}/src/slirpvde/Makefile.in
|
2005-03-11 14:51:32 +01:00
|
|
|
|
2014-02-06 20:14:10 +01:00
|
|
|
post-install:
|
|
|
|
${LN} -sf unixcmd.1 ${STAGEDIR}${PREFIX}/man/man1/vdecmd.1
|
|
|
|
${LN} -sf vdeq.1 ${STAGEDIR}${PREFIX}/man/man1/vdeqemu.1
|
|
|
|
${LN} -sf vdeq.1 ${STAGEDIR}${PREFIX}/man/man1/vdekvm.1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|