openbsd-ports/math/maxima/Makefile
espie 347aee7e7e update to 5.16.1.
Most useful change is that this does now build with ecl.

Thus it should build on !i386. Most arches untested yet, but ecl
is vastly more portable.

(discussed with jasper and pvalchev)
2008-08-20 20:36:45 +00:00

41 lines
817 B
Makefile

# $OpenBSD: Makefile,v 1.8 2008/08/20 20:36:45 espie Exp $
COMMENT= GPL computer algebra system based on DOE Macsyma
VERSION= 5.16.1
DISTNAME= maxima-${VERSION}
CATEGORIES= math
HOMEPAGE= http://maxima.sourceforge.net/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=maxima/}
USE_GMAKE= yes
CONFIGURE_STYLE= gnu
RUN_DEPENDS= ::lang/ecl
BUILD_DEPENDS= ::lang/ecl
WANTLIB += c gc gmp m pthread
SUBST_VARS= VERSION
FLAVORS= no_x11
FLAVOR?=
CONFIGURE_ARGS+= --enable-ecl
.if !${FLAVOR:L:Mno_x11}
USE_X11= Yes
RUN_DEPENDS+= :tcl-8.4.*:lang/tcl/8.4 \
:tk-8.4.*:x11/tk/8.4
BUILD_DEPENDS= ${RUN_DEPENDS}
CONFIGURE_ARGS+= --with-wish=${LOCALBASE}/bin/wish8.4
.endif
.include <bsd.port.mk>