2005-04-17 15:25:53 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2005/04/17 19:25:53 naddy Exp $
|
2005-01-25 16:19:22 -05:00
|
|
|
|
|
|
|
COMMENT= "eXtensible Open Router Platform"
|
|
|
|
|
2005-04-17 15:25:53 -04:00
|
|
|
VERSION= 1.1
|
|
|
|
DISTNAME= xorp-${VERSION}
|
2005-01-25 16:19:22 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://www.xorp.org/
|
|
|
|
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2005-04-17 15:25:53 -04:00
|
|
|
MASTER_SITES= http://www.xorp.org/releases/${VERSION}/ \
|
|
|
|
http://www2.xorp.org/releases/${VERSION}/ \
|
|
|
|
http://www3.xorp.org/releases/${VERSION}/
|
2005-01-25 16:19:22 -05:00
|
|
|
|
|
|
|
WANTLIB= c crypto curses m stdc++
|
|
|
|
|
|
|
|
# No BUILD_DEPENDS:
|
|
|
|
# Python only used to rebuild already included file with no changes.
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2005-02-26 11:57:48 -05:00
|
|
|
.if !defined(PACKAGING)
|
|
|
|
PREFIX=${LOCALBASE}/xorp
|
|
|
|
.endif
|
|
|
|
|
2005-04-17 15:25:53 -04:00
|
|
|
CONFIGURE_ARGS= --enable-optimize
|
2005-01-25 16:19:22 -05:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/config ${WRKSRC}/cli/libtecla
|
|
|
|
|
2005-04-17 15:25:53 -04:00
|
|
|
REGRESS_DEPENDS= ::shells/bash
|
|
|
|
|
|
|
|
# some regression tests must be run as root
|
|
|
|
do-regress:
|
|
|
|
@cd ${WRKBUILD}; ${SUDO} ${MAKE_PROGRAM} ${REGRESS_TARGET}
|
|
|
|
|
2005-01-25 16:19:22 -05:00
|
|
|
.include <bsd.port.mk>
|