openbsd-ports/net/gated/Makefile
naddy 49afc89ea6 MASTER_SITES fix by Heikki Korpela <heko@saitti.net>:
- Add ftp.funet.fi and ftp.sunet.se mirrors where available.
- Remove broken ftp.funet.fi references.
2001-07-13 11:23:37 +00:00

51 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2001/07/13 11:24:28 naddy Exp $
# Original from: Ejovi Nuwere <ejovi@ejovi.net>
COMMENT= "routing protocol daemon"
DISTNAME= gated-3-6
PKGNAME= gated-3.6
CATEGORIES= net
NEED_VERSION= 1.402
MASTER_SITES= ftp://ftp.gated.merit.edu/net-research/gated/ \
ftp://ftp.funet.fi/pub/mirrors/ftp.gated.merit.edu/research.and.development/gated/
HOMEPAGE= http://www.gated.org/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
PERMIT_PACKAGE_CDROM= "commercial software"
PERMIT_PACKAGE_FTP= "commercial software"
PERMIT_DISTFILES_CDROM= "commercial software"
PERMIT_DISTFILES_FTP= Yes
WRKDIST= ${WRKDIR}/gated-public-3_6
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
SEPARATE_BUILD= Yes
pre-build:
@cd ${WRKBUILD} && ${MAKE_PROGRAM} depend
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
.include <bsd.port.mk>