9250d94365
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
32 lines
659 B
Makefile
32 lines
659 B
Makefile
# Created by: Pav Lucistnik <pav@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bird6
|
|
PORTVERSION= 1.3.9
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://bird.network.cz/pub/bird/ \
|
|
http://bird.mpls.in/distfiles/bird/
|
|
DISTNAME= bird-${PORTVERSION}
|
|
|
|
MAINTAINER= melifaro@ipfw.ru
|
|
COMMENT= Dynamic IP routing daemon (IPv6 version)
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= bison
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-ipv6 --localstatedir=/var
|
|
USE_CSTD= gnu89
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
USE_RC_SUBR= bird6
|
|
|
|
post-install:
|
|
@if [ ! -f ${PREFIX}/etc/bird6.conf ]; then \
|
|
${CP} -p ${PREFIX}/etc/bird6.conf.example ${PREFIX}/etc/bird6.conf ; \
|
|
fi
|
|
|
|
.include <bsd.port.mk>
|