From cbca30823fc2a7fcc31ee5aa59483e1b5f3c2b87 Mon Sep 17 00:00:00 2001 From: itojun Date: Wed, 13 Aug 2003 07:26:57 +0000 Subject: quagga-0.96, fork of zebra --- net/quagga/Makefile | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 net/quagga/Makefile (limited to 'net/quagga/Makefile') diff --git a/net/quagga/Makefile b/net/quagga/Makefile new file mode 100644 index 00000000000..ae231025b34 --- /dev/null +++ b/net/quagga/Makefile @@ -0,0 +1,66 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/08/13 07:26:57 itojun Exp $ +# Based on KAME Id: Makefile,v 1.1.2.1.2.1.10.2 1999/01/05 11:03:50 itojun Exp +# + +DISTNAME= quagga-0.96 +CATEGORIES= net +MASTER_SITES= http://www.quagga.net/download/ + +MAINTAINER= itojun@itojun.org +HOMEPAGE= http://www.quagga.net/ +COMMENT= Free multithreaded routing daemon software (fork of zebra) + +.include "../../mk/bsd.prefs.mk" + +AUTOMAKE_REQD= 1.6.2 +USE_BUILDLINK2= # defined +GNU_CONFIGURE= # defined +PKG_SYSCONFSUBDIR?= quagga +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} +# you might need debugging, it's a developer release ! +#CFLAGS+= -g + +CONFLICTS+= zebra-[0-9]* + +PLIST_SRC= # empty + +INFO_FILES= quagga.info + +.if defined(USE_ZEBRA_VTYSH) && ${USE_ZEBRA_VTYSH} == "YES" +USE_GNU_READLINE= # uses rl_pending_input +. include "../../devel/readline/buildlink2.mk" +CONFIGURE_ARGS+= --enable-vtysh +PLIST_SRC+= ${PKGDIR}/PLIST.vtysh +.else +CONFIGURE_ARGS+= --disable-vtysh +.endif + +USE_GMAKE= # defined + +BUILD_DEFS+= USE_INET6 + +.if defined(USE_INET6) && ${USE_INET6} == YES +PLIST_SRC+= ${PKGDIR}/PLIST.v6 +.else +CONFIGURE_ARGS+= --disable-ospf6d +CONFIGURE_ARGS+= --disable-ripngd +.endif + +PLIST_SRC+= ${PKGDIR}/PLIST + +LIBS+= ${LDFLAGS} + +pre-configure: + cd ${WRKSRC} && ${AUTORECONF} --force +# cd ${WRKSRC} && ${AUTOMAKE} + +#post-build: +# cd ${WRKSRC}/doc ; \ +# ${TOUCH} quagga.texi ; \ +# ${MAKEINFO} --no-split quagga.texi + +post-install: + @${CHMOD} a+r ${PREFIX}/share/examples/quagga/* + +.include "../../mk/automake.mk" +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3