mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
45 lines
981 B
Makefile
45 lines
981 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= openbgpd
|
|
PORTVERSION= 5.2.20121209
|
|
PORTREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= OPENBSD/OpenBGPD
|
|
DISTNAME= ${PORTNAME}-4.6
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= Free implementation of the Border Gateway Protocol, Version 4
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${FILESDIR}/COPYING
|
|
|
|
CONFLICTS= zebra-[0-9]* quagga-[0-9]*
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
USES= uidfix tar:tgz
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
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
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|