2019-06-14 23:13:30 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.44 2019/06/14 23:13:30 feinerer Exp $
|
2003-03-31 04:33:59 +00:00
|
|
|
|
2007-09-15 18:44:36 +00:00
|
|
|
COMMENT= GPL computer algebra system based on DOE Macsyma
|
2003-03-31 04:33:59 +00:00
|
|
|
|
2019-06-14 23:13:30 +00:00
|
|
|
VERSION= 5.43.0
|
2003-03-31 04:33:59 +00:00
|
|
|
DISTNAME= maxima-${VERSION}
|
|
|
|
CATEGORIES= math
|
|
|
|
|
|
|
|
HOMEPAGE= http://maxima.sourceforge.net/
|
2015-06-16 05:04:43 +00:00
|
|
|
MAINTAINER= Ingo Feinerer <feinerer@logic.at>
|
2003-03-31 04:33:59 +00:00
|
|
|
|
2009-06-17 23:27:49 +00:00
|
|
|
# GPLv2+
|
2012-10-15 15:18:31 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2003-03-31 04:33:59 +00:00
|
|
|
|
2015-05-05 17:00:16 +00:00
|
|
|
WANTLIB += c ecl ffi gc gmp m pthread
|
|
|
|
|
2003-03-31 04:33:59 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=maxima/}
|
|
|
|
|
2007-11-25 14:56:09 +00:00
|
|
|
USE_GMAKE= yes
|
2003-03-31 04:33:59 +00:00
|
|
|
|
2015-09-20 06:50:26 +00:00
|
|
|
# Python is not needed for building but configure fails without it.
|
|
|
|
# Instead of patching just add the lang/python dependency.
|
|
|
|
# http://sourceforge.net/p/maxima/mailman/message/34462954/
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_RUNDEP = No
|
|
|
|
|
2016-12-21 14:16:30 +00:00
|
|
|
BUILD_DEPENDS = print/texinfo
|
2010-11-19 07:23:05 +00:00
|
|
|
LIB_DEPENDS= lang/ecl
|
2017-06-02 10:13:25 +00:00
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
|
|
misc/rlwrap \
|
2016-04-10 10:26:50 +00:00
|
|
|
misc/shared-mime-info
|
2003-03-31 04:33:59 +00:00
|
|
|
|
|
|
|
SUBST_VARS= VERSION
|
|
|
|
|
2016-12-21 14:16:30 +00:00
|
|
|
MAKE_FLAGS = MAKEINFO="${LOCALBASE}/bin/gtexi2any" \
|
|
|
|
TEXI2DVI="${LOCALBASE}/bin/gtexi2dvi"
|
|
|
|
|
2009-09-21 22:42:32 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-ecl
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
2003-03-31 04:33:59 +00:00
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
2013-02-09 14:49:50 +00:00
|
|
|
.if !${FLAVOR:Mno_x11}
|
2009-09-21 22:42:32 +00:00
|
|
|
MODULES+= x11/tk
|
2011-11-15 13:02:58 +00:00
|
|
|
RUN_DEPENDS += ${MODTK_RUN_DEPENDS} \
|
|
|
|
math/gnuplot
|
2015-09-20 06:50:26 +00:00
|
|
|
BUILD_DEPENDS += ${MODTK_BUILD_DEPENDS}
|
2011-11-14 20:48:43 +00:00
|
|
|
CONFIGURE_ARGS += --with-wish=${MODTK_BIN}
|
2003-03-31 04:33:59 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|