2011-11-15 13:02:58 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2011/11/15 13:02:58 shadchin 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
|
|
|
|
2011-11-14 20:48:43 +00:00
|
|
|
VERSION= 5.25.1
|
2011-11-15 13:02:58 +00:00
|
|
|
REVISION = 1
|
2003-03-31 04:33:59 +00:00
|
|
|
DISTNAME= maxima-${VERSION}
|
|
|
|
CATEGORIES= math
|
|
|
|
|
|
|
|
HOMEPAGE= http://maxima.sourceforge.net/
|
|
|
|
|
2009-06-17 23:27:49 +00:00
|
|
|
# GPLv2+
|
2003-03-31 04:33:59 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
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
|
|
|
|
2010-11-19 07:23:05 +00:00
|
|
|
LIB_DEPENDS= lang/ecl
|
2011-11-14 21:35:35 +00:00
|
|
|
RUN_DEPENDS = misc/rlwrap
|
2010-07-26 16:48:25 +00:00
|
|
|
WANTLIB += c gc gmp m pthread ecl
|
2003-03-31 04:33:59 +00:00
|
|
|
|
|
|
|
SUBST_VARS= VERSION
|
|
|
|
|
2009-09-21 22:42:32 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-ecl
|
|
|
|
CONFIGURE_STYLE= gnu
|
2010-11-19 07:23:05 +00:00
|
|
|
USE_GROFF = Yes
|
2009-09-21 22:42:32 +00:00
|
|
|
|
2003-03-31 04:33:59 +00:00
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if !${FLAVOR:L: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
|
2011-11-14 20:48:43 +00:00
|
|
|
BUILD_DEPENDS += ${MODTK_RUN_DEPENDS}
|
|
|
|
CONFIGURE_ARGS += --with-wish=${MODTK_BIN}
|
2003-03-31 04:33:59 +00:00
|
|
|
.endif
|
|
|
|
|
2011-11-14 20:48:43 +00:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/configure
|
2010-12-04 14:37:19 +00:00
|
|
|
|
2003-03-31 04:33:59 +00:00
|
|
|
.include <bsd.port.mk>
|