aboutsummaryrefslogtreecommitdiffstats
path: root/net/zebra
diff options
context:
space:
mode:
Diffstat (limited to 'net/zebra')
-rw-r--r--net/zebra/Makefile9
-rw-r--r--net/zebra/pkg-plist1
2 files changed, 9 insertions, 1 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile
index a91b7c0117da..6cba387f3b45 100644
--- a/net/zebra/Makefile
+++ b/net/zebra/Makefile
@@ -3,7 +3,7 @@
# Date created: So 31 Mai 1998 11:00:30 CEST
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.14 1999/06/19 10:21:01 andreas Exp $
+# $Id: Makefile,v 1.15 1999/07/17 22:14:37 andreas Exp $
#
DISTNAME= zebra-0.73
@@ -17,4 +17,11 @@ 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>
diff --git a/net/zebra/pkg-plist b/net/zebra/pkg-plist
index a9ee036007de..3066d27b9659 100644
--- a/net/zebra/pkg-plist
+++ b/net/zebra/pkg-plist
@@ -3,6 +3,7 @@ sbin/client
sbin/ospfd
sbin/ripd
sbin/zebra
+etc/rc.d/zebra.sh
etc/zebra/bgpd.conf.sample
etc/zebra/ripd.conf.sample
etc/zebra/zebra.conf.sample