freebsd-ports/net/openbgpd/Makefile

45 lines
981 B
Makefile
Raw Normal View History

# $FreeBSD$
2009-06-23 18:44:19 +02:00
PORTNAME= openbgpd
2012-12-24 13:41:36 +01:00
PORTVERSION= 5.2.20121209
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= OPENBSD/OpenBGPD
DISTNAME= ${PORTNAME}-4.6
DIST_SUBDIR= ${PORTNAME}
2009-06-23 18:44:19 +02:00
MAINTAINER= hrs@FreeBSD.org
COMMENT= Free implementation of the Border Gateway Protocol, Version 4
LICENSE= ISCL
LICENSE_FILE= ${FILESDIR}/COPYING
2009-06-23 18:44:19 +02:00
CONFLICTS= zebra-[0-9]* quagga-[0-9]*
WRKSRC= ${WRKDIR}
USES= uidfix tar:tgz
USE_RC_SUBR= ${PORTNAME}
2013-10-17 08:19:25 +02:00
PLIST_FILES= sbin/bgpctl sbin/bgpd man/man5/bgpd.conf.5.gz \
man/man8/bgpctl.8.gz man/man8/bgpd.8.gz
SUB_FILES= pkg-message
USERS= _bgpd
GROUPS= _bgpd
2013-10-17 08:19:25 +02:00
OPTIONS_DEFINE= IPV6LLPEER
OPTIONS_DEFAULT=IPV6LLPEER
IPV6LLPEER_DESC=Support nexthop using IPv6 link-local address
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIPV6LLPEER}
MAKE_ARGS+= -DIPV6_LINKLOCAL_PEER
.endif
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
${WRKSRC}/bgpd/bgpd.8 \
${WRKSRC}/bgpd/bgpd.conf.5 \
${WRKSRC}/bgpctl/bgpctl.8
2013-10-17 08:19:25 +02:00
.include <bsd.port.mk>