2013-02-09 09:49:50 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2013/02/09 14:49:51 sthen Exp $
|
2003-03-30 23:33:59 -05:00
|
|
|
|
2007-09-15 14:44:36 -04:00
|
|
|
COMMENT= GPL computer algebra system based on DOE Macsyma
|
2003-03-30 23:33:59 -05:00
|
|
|
|
2013-01-04 09:05:41 -05:00
|
|
|
VERSION= 5.29.1
|
2003-03-30 23:33:59 -05:00
|
|
|
DISTNAME= maxima-${VERSION}
|
|
|
|
CATEGORIES= math
|
|
|
|
|
|
|
|
HOMEPAGE= http://maxima.sourceforge.net/
|
2011-11-22 06:36:55 -05:00
|
|
|
MAINTAINER = Edd Barrett <edd@openbsd.org>
|
2003-03-30 23:33:59 -05:00
|
|
|
|
2009-06-17 19:27:49 -04:00
|
|
|
# GPLv2+
|
2012-10-15 11:18:31 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2003-03-30 23:33:59 -05:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2012-10-15 11:18:31 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2003-03-30 23:33:59 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=maxima/}
|
|
|
|
|
2007-11-25 09:56:09 -05:00
|
|
|
USE_GMAKE= yes
|
2003-03-30 23:33:59 -05:00
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
LIB_DEPENDS= lang/ecl
|
2011-11-14 16:35:35 -05:00
|
|
|
RUN_DEPENDS = misc/rlwrap
|
2010-07-26 12:48:25 -04:00
|
|
|
WANTLIB += c gc gmp m pthread ecl
|
2003-03-30 23:33:59 -05:00
|
|
|
|
|
|
|
SUBST_VARS= VERSION
|
|
|
|
|
2009-09-21 18:42:32 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-ecl
|
|
|
|
CONFIGURE_STYLE= gnu
|
2010-11-19 02:23:05 -05:00
|
|
|
USE_GROFF = Yes
|
2009-09-21 18:42:32 -04:00
|
|
|
|
2003-03-30 23:33:59 -05:00
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
2013-02-09 09:49:50 -05:00
|
|
|
.if !${FLAVOR:Mno_x11}
|
2009-09-21 18:42:32 -04:00
|
|
|
MODULES+= x11/tk
|
2011-11-15 08:02:58 -05:00
|
|
|
RUN_DEPENDS += ${MODTK_RUN_DEPENDS} \
|
|
|
|
math/gnuplot
|
2011-11-14 15:48:43 -05:00
|
|
|
BUILD_DEPENDS += ${MODTK_RUN_DEPENDS}
|
|
|
|
CONFIGURE_ARGS += --with-wish=${MODTK_BIN}
|
2003-03-30 23:33:59 -05:00
|
|
|
.endif
|
|
|
|
|
2011-11-14 15:48:43 -05:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/configure
|
2010-12-04 09:37:19 -05:00
|
|
|
|
2003-03-30 23:33:59 -05:00
|
|
|
.include <bsd.port.mk>
|