1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/net/vde2/Makefile
Muhammad Moinur Rahman eca388a886
net/vde2: Moved man to share/man
Approved by:    portmgr (blanket)
2024-01-31 13:59:04 +01:00

52 lines
1.3 KiB
Makefile

PORTNAME= vde
PORTVERSION= 2.3.3
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= net
#MASTER_SITES= https://github.com/virtualsquare/vde-2/archive/refs/tags/
PKGNAMESUFFIX= 2
MAINTAINER= ports@FreeBSD.org
COMMENT= User-mode virtual ethernet infrastructure
WWW= https://github.com/virtualsquare/vde-2
LICENSE= BSD3CLAUSE GPLv2 LGPL21
LICENSE_COMB= multi
LIB_DEPENDS= libpcap.so.1:net/libpcap
USES= autoreconf gmake libtool pathfix shebangfix ssl
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= virtualsquare
GH_PROJECT= ${PORTNAME}-${PKGNAMESUFFIX}
CONFLICTS= vde
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
INSTALL_TARGET= install-strip
MAKE_ENV= V=1
MAKE_JOBS_UNSAFE=yes
OPTIONS_DEFINE= CRYPTCAB
OPTIONS_SUB= yes
CRYPTCAB_DESC= Enable vde_cryptcab (require security/wolfssl)
CRYPTCAB_LIB_DEPENDS= libwolfssl.so:security/wolfssl
CRYPTCAB_USES= localbase:ldflags
CRYPTCAB_CONFIGURE_ENABLE= cryptcab
post-patch:
@${REINPLACE_CMD} -e '/-Wall/s|-O2||g' \
${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e 's|$$(MAKE).*install-data-hook||g' \
${WRKSRC}/man/Makefile.am
post-install:
${LN} -sf unixcmd.1 ${STAGEDIR}${PREFIX}/share/man/man1/vdecmd.1
${LN} -sf vdeq.1 ${STAGEDIR}${PREFIX}/share/man/man1/vdeqemu.1
${LN} -sf vdeq.1 ${STAGEDIR}${PREFIX}/share/man/man1/vdekvm.1
.include <bsd.port.mk>