freebsd-ports/net/bird-devel/Makefile
Baptiste Daroussin 9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00

49 lines
1.3 KiB
Makefile

# Created by: Alexander V. Chernikov <melifaro@FreeBSD.org>
# $FreeBSD$
PORTNAME= bird
PORTVERSION= 20130301
CATEGORIES= net
MASTER_SITES= http://bird.mpls.in/distfiles/bird/
PKGNAMESUFFIX= -devel
MAINTAINER= melifaro@ipfw.ru
COMMENT= Dynamic IP routing daemon (devel version)
CONFLICTS= bird-[0-9]*
USES= bison
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var --enable-mpls
USE_CSTD= gnu89
OPTIONS= KMPLS "Enable kernel MPLS support" Off
MAKE_JOBS_UNSAFE= yes
USE_RC_SUBR= bird
.include <bsd.port.pre.mk>
.if defined(WITH_KMPLS)
CONFIGURE_ARGS+= --enable-kmpls
.endif
post-install:
@if [ ! -f ${PREFIX}/etc/bird.conf ]; then \
${CP} -p ${PREFIX}/etc/bird.conf.example ${PREFIX}/etc/bird.conf ; \
${CHMOD} 0640 ${PREFIX}/etc/bird.conf ; \
fi
@${ECHO_MSG}
@${ECHO_MSG} =====================================================================
@${ECHO_MSG}
@${ECHO_MSG} " WARNING: Please take a look on kern/134931"
@${ECHO_MSG} " WARNING: before using multiple fibs!"
@${ECHO_MSG} " 8.2-STABLE kernel patch available here:"
@${ECHO_MSG} " http://static.ipfw.ru/patches/rtsock_82S-20110725.diff"
@${ECHO_MSG}
@${ECHO_MSG} =====================================================================
@${ECHO_MSG}
.include <bsd.port.post.mk>