1998-05-31 11:25:51 +02:00
|
|
|
# New ports collection makefile for: zebra
|
1999-01-07 07:28:36 +01:00
|
|
|
# Version required: SNAP 981222
|
1998-05-31 11:25:51 +02:00
|
|
|
# Date created: So 31 Mai 1998 11:00:30 CEST
|
|
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1998-05-31 11:25:51 +02:00
|
|
|
#
|
|
|
|
|
1999-12-23 15:31:40 +01:00
|
|
|
DISTNAME= zebra-0.83a
|
1998-05-31 11:25:51 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
|
1999-01-07 07:28:36 +01:00
|
|
|
# you might need debugging, it's a developer release !
|
1999-07-18 13:42:26 +02:00
|
|
|
#CFLAGS+= -g
|
1998-05-31 11:25:51 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= andreas@FreeBSD.org
|
1998-05-31 11:25:51 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
1999-01-07 07:28:36 +01:00
|
|
|
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/zebra
|
1998-05-31 11:25:51 +02:00
|
|
|
|
1999-07-18 12:31:43 +02:00
|
|
|
post-install:
|
|
|
|
@${ECHO} "===> installing zebra startup file..."
|
|
|
|
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" \
|
1999-12-24 16:56:32 +01:00
|
|
|
< ${FILESDIR}/zebractl.sh \
|
|
|
|
> ${PREFIX}/sbin/zebractl
|
|
|
|
@${CHMOD} 555 ${PREFIX}/sbin/zebractl
|
1999-12-24 16:57:38 +01:00
|
|
|
@${ECHO} "Make these entries in /etc/rc.conf.local to start zebra:"
|
1999-12-24 16:56:32 +01:00
|
|
|
@${ECHO} "defaultrouter=\"NO\""
|
|
|
|
@${ECHO} "router_enable=\"YES\""
|
|
|
|
@${ECHO} "router=\"${PREFIX}/sbin/zebractl\""
|
|
|
|
@${ECHO} "router_flags=\"start\""
|
|
|
|
@${ECHO} "done."
|
1999-07-18 12:31:43 +02:00
|
|
|
|
1998-05-31 11:25:51 +02:00
|
|
|
.include <bsd.port.mk>
|