1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net/zebra/Makefile
Stefan Eßer 819f25b36d */*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
2021-10-29 11:50:18 +02:00

92 lines
2.3 KiB
Makefile

# Created by: Andreas Klemm <andreas@klemm.gtn.com>
PORTNAME= zebra
PORTVERSION= 0.95a
PORTREVISION= 10
CATEGORIES= net
MASTER_SITES= ftp://ftp.ripe.net/mirrors/sites/ftp.zebra.org/pub/zebra/
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Free RIPv1, RIPv2, OSPFv2, BGP4 route software (server/reflector)
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
DEPRECATED= Abandoned upstream, last release in 2005. Consider migrating to net/frr7 or net/bird2
EXPIRATION_DATE=2021-12-31
CONFLICTS= openbgpd quagga quagga-re openospfd
SUB_FILES= pkg-message zebractl
SUB_LIST= BGPDARGS=${BGPDARGS} \
OSPFDARGS=${OSPFDARGS} \
OSPF6DARGS=${OSPFDARGS} \
RIPDARGS=${RIPDARGS} \
RIPNGDARGS=${RIPNGDARGS} \
ZEBRAARGS=${ZEBRAARGS}
USE_SUBMAKE= yes
GNU_CONFIGURE= yes
USES= cpe readline
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/zebra
CPE_VENDOR= gnu
PORTSCOUT= ignore:1
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}"
OPTIONS_DEFINE= IPV6 PAM OSPFNSSA SNMP TCPZEBRA BGPD OSPF6D OSPFD RIPD RIPNGD VTYSH
PAM_DESC= PAM authentication for vtysh
OSPFNSSA_DESC= undergoing NSSA feature
TCPZEBRA_DESC= TCP/IP socket connection
BGPD_DESC= BGPD support
OSPF6D_DESC= OSPF6D support
OSPFD_DESC= OSPFD support
RIPD_DESC= RIPD support
RIPNGD_DESC= RIPNGD support
VTYSH_DESC= VTYSH support
OPTIONS_DEFAULT= BGPD OSPF6D OSPFD RIPD RIPNGD VTYSH
OPTIONS_SUB= yes
NO_OPTIONS_SORT= yes
PAM_CONFIGURE_WITH= pam
OSPFNSSA_CONFIGURE_ENABLE= nssa
SNMP_CONFIGURE_ENABLE= snmp
SNMP_LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp
TCPZEBRA_CONFIGURE_ENABLE= tcp-zebra
BGPD_CONFIGURE_ENABLE= bgpd
OSPF6D_CONFIGURE_ENABLE= ospf6d
OSPFD_CONFIGURE_ENABLE= ospfd
RIPD_CONFIGURE_ENABLE= ripd
RIPNGD_CONFIGURE_ENABLE= ripngd
VTYSH_CONFIGURE_ENABLE= vtysh
IPV6_CONFIGURE_ENABLE= ipv6
INFO= zebra
BGPDARGS?= -d
OSPFDARGS?= -d
OSPF6DARGS?= -d
RIPDARGS?= -d
RIPNGDARGS?= -d
ZEBRAARGS?= -d
.include <bsd.port.options.mk>
.if !${PORT_OPTIONS:MIPV6} && ${PORT_OPTIONS:MOSPF6D}
IGNORE= OSPF6D requires IPV6 option
.endif
.if !${PORT_OPTIONS:MIPV6} && ${PORT_OPTIONS:MRIPNGD}
IGNORE= RIPNGD requires IPV6 option
.endif
post-install:
@( cd ${WRKSRC}/doc; ${RM} zebra*info*; \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} zebra.info install )
@${ECHO_MSG} "===> installing zebra startup file..."
${INSTALL_SCRIPT} ${WRKDIR}/zebractl ${STAGEDIR}${PREFIX}/sbin/zebractl
@${ECHO_MSG} "done."
.include <bsd.port.mk>