1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/net/zebra-devel/Makefile

34 lines
901 B
Makefile
Raw Normal View History

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