1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-26 21:17:40 +00:00
freebsd-ports/net/zebra-devel/Makefile
Andreas Klemm da57b0623d Make zebra port more user friendly be providing a nice start stop script
which is prefix-clean:
- Install a zebra startup script ${PREFIX}/rc.d/zebra.sh
- Can be used as start and stop script (expects "start" or
- "stop" as argument).
- If config file is present in ${PREFIX}/etc/zebra
	- Starts zebra, ripd, ospfd and bgpd
	- Stops (kills)  ripd, ospfd, bgpd and at last zebra
1999-07-18 10:31:43 +00:00

28 lines
704 B
Makefile

# 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>
#
# $Id: Makefile,v 1.15 1999/07/17 22:14:37 andreas Exp $
#
DISTNAME= zebra-0.73
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}/zebra.sh \
> ${PREFIX}/etc/rc.d/zebra.sh
@${ECHO} "===> done."
.include <bsd.port.mk>