# Created by: stephen@math.missouri.edu
# $FreeBSD: tags/RELEASE_11_0_0/math/open-axiom/Makefile 416324 2016-06-03 16:44:58Z antoine $

PORTNAME=	open-axiom
PORTVERSION=	1.4.2
PORTREVISION=	3
CATEGORIES=	math
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}

MAINTAINER=	stephen@FreeBSD.org
COMMENT=	Computer algebra system

BROKEN=		bootsys goes in an infinite loop during build
DEPRECATED=	Broken for more than 6 months
EXPIRATION_DATE=	2016-07-04

BUILD_DEPENDS=	sbcl:lang/sbcl \
		noweb:devel/noweb

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-lisp=sbcl
USE_XORG=	x11 ice sm xpm
USES=		gettext iconv gmake tar:bzip2
MAKE_JOBS_UNSAFE=yes
CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib

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>
