# New ports collection makefile for:	open-axiom
# Date created:		12 October 2008
# Whom:			stephen@math.missouri.edu
#
# $FreeBSD: ports/math/open-axiom/Makefile,v 1.12 2012/01/24 14:10:44 bf Exp $
#

PORTNAME=	open-axiom
PORTVERSION=	1.4.1
PORTREVISION=	2
CATEGORIES=	math
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}

MAINTAINER=	stephen@FreeBSD.org
COMMENT=	A computer algebra system

BUILD_DEPENDS=	sbcl:${PORTSDIR}/lang/sbcl \
		noweb:${PORTSDIR}/devel/noweb

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-lisp=sbcl
USE_GMAKE=	yes
USE_XORG=	x11 ice sm xpm
USE_ICONV=	yes
USE_GETTEXT=	yes
MAKE_JOBS_UNSAFE=yes

PLIST_SUB=	AXIOM_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET}

post-patch:
	${REINPLACE_CMD} 's/test x$$oa_has_qt = xyes/false/' ${WRKSRC}/configure

.include <bsd.port.mk>
