Annotation of pkgsrc/net/quagga/Makefile, Revision 1.3
1.3 ! itojun 1: # $NetBSD: Makefile,v 1.2 2003/08/16 21:49:13 itojun Exp $
1.1 itojun 2: # Based on KAME Id: Makefile,v 1.1.2.1.2.1.10.2 1999/01/05 11:03:50 itojun Exp
3: #
4:
1.3 ! itojun 5: DISTNAME= quagga-0.96.2
1.1 itojun 6: CATEGORIES= net
7: MASTER_SITES= http://www.quagga.net/download/
8:
9: MAINTAINER= itojun@itojun.org
10: HOMEPAGE= http://www.quagga.net/
11: COMMENT= Free multithreaded routing daemon software (fork of zebra)
12:
13: .include "../../mk/bsd.prefs.mk"
14:
15: AUTOMAKE_REQD= 1.6.2
16: USE_BUILDLINK2= # defined
17: GNU_CONFIGURE= # defined
1.2 itojun 18: PKG_SYSCONFSUBDIR?= zebra
1.1 itojun 19: CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
20: # you might need debugging, it's a developer release !
21: #CFLAGS+= -g
22:
23: CONFLICTS+= zebra-[0-9]*
24:
25: PLIST_SRC= # empty
26:
27: INFO_FILES= quagga.info
28:
29: .if defined(USE_ZEBRA_VTYSH) && ${USE_ZEBRA_VTYSH} == "YES"
30: USE_GNU_READLINE= # uses rl_pending_input
31: . include "../../devel/readline/buildlink2.mk"
32: CONFIGURE_ARGS+= --enable-vtysh
33: PLIST_SRC+= ${PKGDIR}/PLIST.vtysh
34: .else
35: CONFIGURE_ARGS+= --disable-vtysh
36: .endif
37:
38: USE_GMAKE= # defined
39:
40: BUILD_DEFS+= USE_INET6
41:
42: .if defined(USE_INET6) && ${USE_INET6} == YES
43: PLIST_SRC+= ${PKGDIR}/PLIST.v6
44: .else
45: CONFIGURE_ARGS+= --disable-ospf6d
46: CONFIGURE_ARGS+= --disable-ripngd
47: .endif
48:
49: PLIST_SRC+= ${PKGDIR}/PLIST
50:
51: LIBS+= ${LDFLAGS}
52:
53: pre-configure:
54: cd ${WRKSRC} && ${AUTORECONF} --force
55: # cd ${WRKSRC} && ${AUTOMAKE}
56:
57: #post-build:
58: # cd ${WRKSRC}/doc ; \
59: # ${TOUCH} quagga.texi ; \
60: # ${MAKEINFO} --no-split quagga.texi
61:
62: post-install:
63: @${CHMOD} a+r ${PREFIX}/share/examples/quagga/*
64:
65: .include "../../mk/automake.mk"
66: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>