53 lines
1.2 KiB
Makefile
Raw Normal View History

2019-06-14 23:13:30 +00:00
# $OpenBSD: Makefile,v 1.44 2019/06/14 23:13:30 feinerer Exp $
COMMENT= GPL computer algebra system based on DOE Macsyma
2019-06-14 23:13:30 +00:00
VERSION= 5.43.0
DISTNAME= maxima-${VERSION}
CATEGORIES= math
HOMEPAGE= http://maxima.sourceforge.net/
MAINTAINER= Ingo Feinerer <feinerer@logic.at>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
2015-05-05 17:00:16 +00:00
WANTLIB += c ecl ffi gc gmp m pthread
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=maxima/}
USE_GMAKE= yes
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
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
FLAVORS= no_x11
FLAVOR?=
.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}
.endif
.include <bsd.port.mk>