diff options
author | itojun <itojun> | 2003-08-13 07:26:57 +0000 |
---|---|---|
committer | itojun <itojun> | 2003-08-13 07:26:57 +0000 |
commit | cbca30823fc2a7fcc31ee5aa59483e1b5f3c2b87 (patch) | |
tree | 48f179a5ab513d9e515a8ab482a0ecba9e57d834 /net/quagga/Makefile | |
parent | 3be8a7f8b73764faabb12fccb27f756771183b74 (diff) | |
download | pkgsrc-cbca30823fc2a7fcc31ee5aa59483e1b5f3c2b87.tar.gz |
quagga-0.96, fork of zebra
Diffstat (limited to 'net/quagga/Makefile')
-rw-r--r-- | net/quagga/Makefile | 66 |
1 files changed, 66 insertions, 0 deletions
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" |