1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/math/maxima/Makefile
Norikatsu Shigemura 1a3ef4ae0a Change MAINTAINER to new address.
PR:		ports/51141, ports/51142, ports/51143, ports/51144
Submitted by:	Scott Flatman <sf@slappy.org> (maintainer)
2003-04-19 13:06:13 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: maxima
# Date created: Jun 26 2002
# Whom: Scott Flatman <sf@dsinw.com>
#
# $FreeBSD$
#
PORTNAME= maxima
PORTVERSION= 5.6
CATEGORIES= math
MASTER_SITES= ftp://ftp.ma.utexas.edu/pub/maxima/ \
${MASTER_SITE_LOCAL}
DISTNAME= maxima-5.6
EXTRACT_SUFX= .tgz
MAINTAINER= sf@slappy.org
COMMENT= Maxima symbolic computation program
BUILD_DEPENDS= lisp:${PORTSDIR}/lang/cmucl
LIB_DEPENDS= tk83:${PORTSDIR}/x11-toolkits/tk83
RUN_DEPENDS= ${LOCALBASE}/bin/lisp:${PORTSDIR}/lang/cmucl \
${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot
USE_XLIB= yes
NO_BUILD= yes
do-install:
-${MKDIR} ${PREFIX}/lib/${DISTNAME}
(cd ${WRKDIR} && tar fc - ${DISTNAME}) | (cd ${PREFIX}/lib && tar fx -)
post-install:
(cd ${PREFIX}/lib/${DISTNAME}/src ; \
${CP} ${FILESDIR}/build.lisp . ; \
${LOCALBASE}/bin/lisp -eval '(load "build.lisp")' ; \
${RM} build.lisp *.x86f)
${SED} -e 's#@MAXIMAPREFIX@#${PREFIX}/lib/${DISTNAME}/#g ; \
s#@LISPPREFIX@#${LOCALBASE}/bin/#g' \
${FILESDIR}/maxima.sh >${LOCALBASE}/bin/maxima
${CHMOD} 755 ${LOCALBASE}/bin/maxima
.include <bsd.port.mk>