blob: 7b5e848104ecac76bdc0b3031769ca75709e9dfd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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@dsinw.com
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>
|