blob: 223574663e8ae3cf5907e043d078a1831add26dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# $NetBSD: Makefile,v 1.48 2001/11/29 19:46:13 jlam Exp $
# Based on KAME Id: Makefile,v 1.1.2.1.2.1.10.2 1999/01/05 11:03:50 itojun Exp
#
DISTNAME= zebra-0.92a
CATEGORIES= net
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= itojun@itojun.org
HOMEPAGE= http://www.zebra.org/
COMMENT= Free multithreaded routing daemon software
BUILD_DEPENDS+= automake>=1.4:../../devel/automake
.include "../../mk/bsd.prefs.mk"
USE_BUILDLINK_ONLY= # defined
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --sysconfdir=/etc/zebra
# you might need debugging, it's a developer release !
#CFLAGS+= -g
PLIST_SRC= # empty
.if defined(USE_ZEBRA_VTYSH) && ${USE_ZEBRA_VTYSH} == "YES"
USE_GNU_READLINE= # uses rl_pending_input
.include "../../devel/readline/buildlink.mk"
CONFIGURE_ARGS+= --enable-vtysh
PLIST_SRC+= ${PKGDIR}/PLIST.vtysh
.else
CONFIGURE_ARGS+= --disable-vtysh
.endif
USE_GTEXINFO= # defined
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} && ${LOCALBASE}/bin/autoreconf --force
# cd ${WRKSRC} && ${LOCALBASE}/bin/automake
#post-build:
# cd ${WRKSRC}/doc ; \
# ${TOUCH} zebra.texi ; \
# makeinfo --no-split zebra.texi
post-install:
@${CHMOD} a+r ${PREFIX}/share/examples/zebra/*
.include "../../mk/bsd.pkg.mk"
|