aboutsummaryrefslogtreecommitdiffstats
path: root/net/zebra/Makefile
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>2000-01-23 06:12:16 +0800
committerandreas <andreas@FreeBSD.org>2000-01-23 06:12:16 +0800
commit4c336fb7cc0309c2465ff74017d83b9090ea3406 (patch)
tree75c8da213e41068da412d89b386088dbec6e1e73 /net/zebra/Makefile
parent4cf8ac1e4fda0b0acbc66f1a3d2d1c85a75e367a (diff)
downloadfreebsd-ports-gnome-4c336fb7cc0309c2465ff74017d83b9090ea3406.tar.gz
freebsd-ports-gnome-4c336fb7cc0309c2465ff74017d83b9090ea3406.tar.zst
freebsd-ports-gnome-4c336fb7cc0309c2465ff74017d83b9090ea3406.zip
upgrade to 0.84b
And port changes from sumikawa@ebina.hitachi.co.jp: - add 'ipv6' on CATEGORIES - get rid of 'USE_INET6' and use 'OSVERSION' instead of it. - make PLIST.v6 only difference from PLIST for easily maintanance Submitted by: sumikawa@ebina.hitachi.co.jp
Diffstat (limited to 'net/zebra/Makefile')
-rw-r--r--net/zebra/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile
index ec3976889626..77c1621fa671 100644
--- a/net/zebra/Makefile
+++ b/net/zebra/Makefile
@@ -1,28 +1,31 @@
# New ports collection makefile for: zebra
-# Version required: SNAP 981222
+# Version required: 0.84b
# Date created: So 31 Mai 1998 11:00:30 CEST
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#
-DISTNAME= zebra-0.84
-CATEGORIES= net
+DISTNAME= zebra-0.84b
+CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
# you might need debugging, it's a developer release !
#CFLAGS+= -g
MAINTAINER= andreas@FreeBSD.org
-WRKSRC= ${WRKDIR}/zebra-0.84a
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/zebra
-.if defined(USE_INET6)
-PLIST= ${PKGDIR}/PLIST.v6
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
+PLIST:= ${WRKDIR}/PLIST
+pre-install:
+ @${CAT} ${PKGDIR}/PLIST.v6 > ${PLIST}
+ @${CAT} ${PKGDIR}/PLIST >> ${PLIST}
.else
CONFIGURE_ARGS+=--disable-ospf6d --disable-ripngd
-PLIST= ${PKGDIR}/PLIST
.endif
post-install:
@@ -38,4 +41,4 @@ post-install:
@${ECHO} "router_flags=\"start\""
@${ECHO} "done."
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>