freebsd-ports/math/maxima/Makefile
Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00

67 lines
1.6 KiB
Makefile

# New ports collection makefile for: maxima
# Date created: Jun 26 2002
# Whom: Scott Flatman <sf@dsinw.com>
#
# $FreeBSD$
#
PORTNAME= maxima
PORTVERSION= 5.9.0
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MAINTAINER= sf@slappy.org
COMMENT= Symbolic mathematics program
BUILD_DEPENDS= ${LISPPORT}
LIB_DEPENDS= tk84:${PORTSDIR}/x11-toolkits/tk84
RUN_DEPENDS= ${LOCALBASE}/bin/${LISPPORT} \
${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot \
${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2
USE_XLIB= yes
USE_GMAKE= yes
USE_AUTOMAKE_VER= 14
USE_AUTOCONF_VER= 213
CONFIGURE_ARGS+= --prefix=${PREFIX} \
--with-posix-shell=${LOCALBASE}/bin/bash \
--with-wish=${LOCALBASE}/bin/wish8.4 \
${LISPSELECT}
# don't pass "-s" to install to avoid trying to strip a shell script
CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}"
MAN1= maxima.1
INFO= maxima
PLIST_SUB= LISPBIN=${LISPBINARY}
#Only define ONE of these!
USE_CMUCL= yes
#USE_GCL= yes
#USE_CLISP= yes
.if defined(USE_CMUCL)
LISPSELECT= --enable-cmucl
LISPPORT= lisp:${PORTSDIR}/lang/cmucl
LISPBINARY= binary-cmucl/maxima.core
.endif
.if defined(USE_GCL)
LISPSELECT= --enable-gcl
LISPPORT= gcl:${PORTSDIR}/lang/gcl
LISPBINARY= binary-gcl/maxima
.endif
.if defined(USE_CLISP)
LISPSELECT= --enable-clisp
LISPPORT= clisp:${PORTSDIR}/lang/clisp
# The value for LISPBINARY is a guess. Fix when the core dump is sorted out.
LISPBINARY= binary-clisp/maxima.core
BROKEN= "Dumps core while compiling bessel.fas in CURRENT"
.endif
post-extract:
@${RM} -f ${WRKSRC}/doc/info/*.info*
.include <bsd.port.mk>