mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
da57b0623d
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
28 lines
704 B
Makefile
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>
|