2001-03-24 14:55:27 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2001/03/24 19:55:48 jakob Exp $
|
1999-04-06 15:44:57 -04:00
|
|
|
# Original from: Ejovi Nuwere <ejovi@ejovi.net>
|
1997-11-22 18:54:03 -05:00
|
|
|
|
2001-03-24 14:55:27 -05:00
|
|
|
COMMENT= routing protocol daemon
|
|
|
|
|
2000-08-07 08:14:07 -04:00
|
|
|
DISTNAME= gated-3-6
|
|
|
|
PKGNAME= gated-3.6
|
1997-11-22 18:54:03 -05:00
|
|
|
CATEGORIES= net
|
2001-03-24 14:55:27 -05:00
|
|
|
NEED_VERSION= 1.363
|
|
|
|
|
1999-12-30 03:11:55 -05:00
|
|
|
MASTER_SITES= ftp://ftp.gated.merit.edu/net-research/gated/
|
|
|
|
|
2000-08-07 08:14:07 -04:00
|
|
|
HOMEPAGE= http://www.gated.org/
|
|
|
|
|
2000-10-04 17:53:59 -04:00
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
1997-11-22 18:54:03 -05:00
|
|
|
|
2000-03-22 17:39:39 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= "commercial software"
|
|
|
|
PERMIT_PACKAGE_FTP= "commercial software"
|
|
|
|
PERMIT_DISTFILES_CDROM= "commercial software"
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2000-08-07 08:14:07 -04:00
|
|
|
WRKDIST= ${WRKDIR}/gated-public-3_6
|
|
|
|
|
2000-08-15 13:12:36 -04:00
|
|
|
FLAVORS=snmp gii
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Msnmp}
|
|
|
|
CONFIGURE_ARGS+= --enable-smux
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-smux
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mgii}
|
|
|
|
CONFIGURE_ARGS+= --enable-gii
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gii
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= autoconf
|
2000-08-07 08:14:07 -04:00
|
|
|
SEPARATE_BUILD= Yes
|
|
|
|
|
2000-08-15 13:12:36 -04:00
|
|
|
pre-build:
|
|
|
|
cd ${WRKBUILD} && make depend
|
|
|
|
|
2000-08-07 08:14:07 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/src/gdc/gdc ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/src/ospf_monitor/ospf_monitor ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/src/ripquery/ripquery ${PREFIX}/bin
|
1997-11-22 18:54:03 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|