2008-01-04 13:38:51 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2008/01/04 18:38:51 espie Exp $
|
2005-01-25 16:19:22 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT-main= eXtensible Open Router Platform
|
2005-01-25 16:19:22 -05:00
|
|
|
|
2007-03-22 13:19:09 -04:00
|
|
|
VERSION= 1.4
|
2005-04-17 15:25:53 -04:00
|
|
|
DISTNAME= xorp-${VERSION}
|
2007-06-09 12:45:50 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}p1
|
2005-01-25 16:19:22 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://www.xorp.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
|
|
|
|
2006-12-05 16:59:57 -05:00
|
|
|
MULTI_PACKAGES= -main
|
|
|
|
PREFIX= ${LOCALBASE}/xorp
|
|
|
|
PREFIX-main= ${LOCALBASE}
|
|
|
|
|
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
|
2006-10-18 19:18:02 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2007-03-25 17:50:20 -04:00
|
|
|
LIBTOOL_FLAGS= --tag=disable-shared
|
2005-01-25 16:19:22 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2007-03-22 13:19:09 -04:00
|
|
|
CONFIGURE_ARGS= --enable-optimize --disable-debug
|
2005-01-25 16:19:22 -05:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/config ${WRKSRC}/cli/libtecla
|
|
|
|
|
2006-10-18 19:18:02 -04:00
|
|
|
REGRESS_DEPENDS= ::shells/bash \
|
|
|
|
::lang/python/2.4
|
2005-04-17 15:25:53 -04:00
|
|
|
|
|
|
|
# some regression tests must be run as root
|
|
|
|
do-regress:
|
2006-10-18 19:18:02 -04:00
|
|
|
@ln -s ${LOCALBASE}/bin/python2.4 ${WRKDIR}/bin
|
2007-03-22 13:19:09 -04:00
|
|
|
@cd ${WRKBUILD}; ${SUDO} ${SETENV} ${MAKE_ENV} \
|
2008-01-04 13:38:51 -05:00
|
|
|
${MAKE_PROGRAM} ${ALL_REGRESS_FLAGS} ${REGRESS_TARGET}
|
2005-04-17 15:25:53 -04:00
|
|
|
|
2005-01-25 16:19:22 -05:00
|
|
|
.include <bsd.port.mk>
|