openbsd-ports/math/maxima/Makefile

47 lines
921 B
Makefile
Raw Normal View History

2012-05-10 07:13:34 -04:00
# $OpenBSD: Makefile,v 1.24 2012/05/10 11:13:34 edd Exp $
COMMENT= GPL computer algebra system based on DOE Macsyma
2012-05-10 07:13:34 -04:00
VERSION= 5.27.0
DISTNAME= maxima-${VERSION}
CATEGORIES= math
HOMEPAGE= http://maxima.sourceforge.net/
MAINTAINER = Edd Barrett <edd@openbsd.org>
# GPLv2+
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
2010-11-19 02:23:05 -05:00
LIB_DEPENDS= lang/ecl
RUN_DEPENDS = misc/rlwrap
WANTLIB += c gc gmp m pthread ecl
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
FLAVORS= no_x11
FLAVOR?=
.if !${FLAVOR:L: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}
.endif
2011-11-14 15:48:43 -05:00
pre-configure:
${SUBST_CMD} ${WRKSRC}/configure
.include <bsd.port.mk>