aboutsummaryrefslogtreecommitdiff
path: root/net/bird/Makefile
blob: fe63aa60ca145cad42d736bc38be3da6039dd9c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: Pav Lucistnik <pav@FreeBSD.org>

PORTNAME=	bird
PORTVERSION=	1.6.8
CATEGORIES=	net
MASTER_SITES=	ftp://bird.network.cz/pub/bird/

MAINTAINER=	olivier@FreeBSD.org
COMMENT?=	Dynamic IP routing daemon (${FLAVOR:Uipv4:S/ip/IP/} version)

LICENSE=	GPLv2

FLAVORS=	ipv4 ipv6
ipv6_PKGNAMESUFFIX=	6

USES=		autoreconf bison gmake ncurses readline

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--localstatedir=/var

MAKE_JOBS_UNSAFE=	yes

USE_RC_SUBR=	${PKGBASE}

GROUPS=		birdvty

PORTSCOUT=	limit:^1\.

.if ${FLAVOR:U} == ipv6
CONFIGURE_ARGS+=	--enable-ipv6
PLIST_SUB=	VER=6
.else
PLIST_SUB?=	VER=""
.endif

.include <bsd.port.mk>