2000-08-24 03:25:36 +02:00
|
|
|
# $NetBSD: Makefile,v 1.24 2000/08/24 01:25:36 kim Exp $
|
1999-06-07 07:21:33 +02:00
|
|
|
# Based on KAME Id: Makefile,v 1.1.2.1.2.1.10.2 1999/01/05 11:03:50 itojun Exp
|
1999-06-07 07:18:46 +02:00
|
|
|
#
|
|
|
|
|
2000-08-18 04:42:05 +02:00
|
|
|
DISTNAME= zebra-0.88
|
1999-06-07 07:18:46 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
|
|
|
|
# you might need debugging, it's a developer release !
|
|
|
|
#CFLAGS+= -g
|
|
|
|
|
2000-08-24 03:25:36 +02:00
|
|
|
BUILD_DEPENDS+= automake:../../devel/automake
|
|
|
|
|
1999-06-07 07:18:46 +02:00
|
|
|
MAINTAINER= itojun@itojun.org
|
|
|
|
HOMEPAGE= http://www.zebra.org/
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2000-08-24 03:25:36 +02:00
|
|
|
CONFIGURE_ARGS+=--sysconfdir=/etc/zebra
|
1999-11-19 03:47:00 +01:00
|
|
|
USE_GTEXINFO= yes
|
1999-07-07 11:14:15 +02:00
|
|
|
|
1999-08-18 11:24:08 +02:00
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
|
1999-07-07 11:14:15 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
1999-09-04 00:00:52 +02:00
|
|
|
.if defined(USE_INET6) && ${USE_INET6} == YES
|
2000-01-17 06:06:15 +01:00
|
|
|
PLIST_SRC= ${WRKSRC}/PLIST
|
1999-07-08 12:48:00 +02:00
|
|
|
.else
|
1999-07-06 16:35:17 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-ospf6d --disable-ripngd
|
1999-07-07 10:54:55 +02:00
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST
|
|
|
|
.endif
|
1999-06-07 07:18:46 +02:00
|
|
|
|
2000-01-17 06:06:15 +01:00
|
|
|
.if defined(USE_INET6) && ${USE_INET6} == YES
|
|
|
|
post-patch:
|
|
|
|
${CAT} ${PKGDIR}/PLIST.v6 ${PKGDIR}/PLIST > ${PLIST_SRC}
|
|
|
|
.endif
|
|
|
|
|
2000-08-24 03:25:36 +02:00
|
|
|
#pre-configure:
|
|
|
|
# cd ${WRKSRC} && automake
|
|
|
|
|
2000-01-17 06:06:15 +01:00
|
|
|
#post-build:
|
|
|
|
# cd ${WRKSRC}/doc ; \
|
|
|
|
# ${TOUCH} zebra.texi ; \
|
|
|
|
# makeinfo --no-split zebra.texi
|
1999-11-19 03:47:00 +01:00
|
|
|
|
2000-08-24 03:25:36 +02:00
|
|
|
post-install:
|
|
|
|
@${CHMOD} a+r ${PREFIX}/share/examples/zebra/*
|
|
|
|
|
1999-06-07 07:18:46 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|