2001-04-01 22:09:15 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2001/04/02 02:09:15 brad Exp $
|
2000-01-08 09:01:53 -05:00
|
|
|
# KAME Id: Makefile,v 1.5 1999/09/13 16:27:41 itojun Exp
|
2000-10-03 02:27:05 -04:00
|
|
|
# Originally by: peter.galbavy@knowledge.com
|
2000-01-08 09:01:53 -05:00
|
|
|
|
2001-04-01 22:09:15 -04:00
|
|
|
COMMENT= "multi-threaded routing daemon"
|
|
|
|
|
2001-02-03 04:40:45 -05:00
|
|
|
DISTNAME= zebra-0.91a
|
2000-01-08 09:01:53 -05:00
|
|
|
CATEGORIES= net
|
2001-04-01 22:09:15 -04:00
|
|
|
NEED_VERSION= 1.378
|
2000-01-08 09:01:53 -05:00
|
|
|
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.zebra.org/
|
|
|
|
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Jun-ichiro itojun Hagino <itojun@itojun.org>
|
2000-06-26 04:51:39 -04:00
|
|
|
|
2000-04-23 21:44:58 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-03-09 18:50:17 -05:00
|
|
|
|
2000-08-24 21:18:20 -04:00
|
|
|
# you might need debugging, it's a developer release !
|
|
|
|
#CFLAGS+= -g
|
|
|
|
|
|
|
|
SYSCONFDIR= /etc/zebra
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
2000-08-23 12:06:03 -04:00
|
|
|
#
|
|
|
|
# The snmp flavor doesn't quite work. The configue test for libsnmp.a
|
|
|
|
# fails because the first test for it fails by not looking in
|
|
|
|
# /usr/local/lib and the second uses the cached fail. Report sent to
|
|
|
|
# zebra maintainers.
|
|
|
|
#
|
|
|
|
FLAVORS= snmp
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Msnmp}
|
2000-10-03 02:27:05 -04:00
|
|
|
LIB_DEPENDS= snmp.41::net/ucd-snmp
|
2000-08-23 12:06:03 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-snmp
|
2001-04-01 22:09:15 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-snmp
|
2000-08-23 12:06:03 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2000-08-24 21:18:20 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zebra
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/zebra
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/zebra
|
|
|
|
${INSTALL_DATA} ${WRKINST}/etc/zebra/* ${PREFIX}/share/examples/zebra
|
2000-08-23 12:06:03 -04:00
|
|
|
|
2000-06-26 04:51:39 -04:00
|
|
|
.include <bsd.port.mk>
|