openbsd-ports/net/bird/Makefile
sthen a870afef9f update to 1.1.7;
o Implements BGP Route Refresh (RFC 2918).
  o Implements route reload command.
  o Deep changes and bugfixes in pipe protocol.
  o Bugfix in OSPF premature aging of LSA.
  o Bugfix in OSPF next hop calculation.
  o Bugfix in core related to route withdraws.
  o Several minor bugfixes.
2009-12-20 22:28:35 +00:00

67 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2009/12/20 22:28:35 sthen Exp $
COMMENT-main= bird internet routing daemon
COMMENT-doc= bird internet routing daemon (documentation)
V= 1.1.7
PORTVER=
# XXX handle standard PKGNAME-main and FULLPKGNAME-main bumps by
# setting PORTVER. see below.
DISTNAME= bird-$V
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${DISTNAME:S/-/-doc-/}${EXTRACT_SUFX}
CATEGORIES= net
HOMEPAGE= http://bird.network.cz/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB-main= c ncurses readline
MULTI_PACKAGES= -main -doc
FULLPKGNAME-doc=bird-doc-$V
FULLPKGPATH-doc=net/bird,-doc
FLAVORS= v6
FLAVOR?=
SUBST_VARS+= SIX
.if ${FLAVOR:L:Mv6}
FULLPKGNAME-main= bird-v6-$V${PORTVER}
SIX= 6
.else
PKGNAME-main= bird-$V${PORTVER}
.endif
MASTER_SITES= ftp://bird.network.cz/pub/bird/
BUILD_DEPENDS= ::devel/m4 \
::devel/bison
FAKE_FLAGS= sysconfdir=${TRUEPREFIX}/share/examples/bird
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --localstatedir=/var
.if ${FLAVOR:L:Mv6}
CONFIGURE_ARGS+=--enable-ipv6
.endif
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/tools
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bird
${INSTALL_DATA} ${WRKDIR}/bird-doc-$V/doc/* ${PREFIX}/share/doc/bird/
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/bird/
.include <bsd.port.mk>