source: trunk/dports/lang/maxima-lisp/Portfile @ 4802

Last change on this file since 4802 was 4802, checked in by toby, 16 years ago

MORE master_sites foobage!

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 3.0 KB
Line 
1# $Id: Portfile,v 1.3 2004/01/17 22:45:29 toby Exp $
2
3PortSystem 1.0
4name            maxima-lisp
5version         2.29
6categories      lang
7maintainers     gwright@comcast.net
8platforms       darwin
9
10description     The Clisp Common Lisp Implementation, as used by Maxima
11long_description        \
12                CLISP is a Common Lisp implementation by Bruno Haible,  \
13                formerly of Karlsruhe University, and Michael Stoll,    \
14                formerly of Munich University, both in Germany.         \
15                It mostly supports the Lisp described in the ANSI       \
16                Common Lisp standard.                                   \
17                                                                        \
18                CLISP includes an interpreter, a compiler, almost all   \
19                of CLOS, a foreign language interface and a socket      \
20                interface.  An X11 interface is available through CLX   \
21                and Garnet.  Command line editing is provided by        \
22                readline.
23
24#bugs           Version 2.29 is compatible with maxima 5.9.0. Version \
25#               2.30 introduced floating point bugs that maxima trips \
26#               over. 2.31 doesn't build under OS X yet.
27
28set maxima-lisp-name    clisp
29
30distfiles       ${maxima-lisp-name}-${version}${extract.suffix}
31
32homepage        http://clisp.cons.org/
33master_sites    http://cvs2.cons.org/ftp-area/clisp/source/2.29/ \
34                http://ftp.gnu.org/pub/gnu/clisp/release/ \
35                sourceforge
36
37checksums       md5 53f7cfba5c5f3f7d536541e1df210b74
38
39pre-patch       { cd ${workpath}
40                  file rename  ${maxima-lisp-name} ${maxima-lisp-name}-${version}
41                }
42
43patchfiles      patch-Makefile.in       \
44                patch-_clisp.c          \
45                patch-_distmakefile     \
46                patch-configure         \
47                patch-makemake.in       \
48                patch-stream.d
49
50worksrcdir      ${maxima-lisp-name}-${version}
51build.dir       ${workpath}/${worksrcdir}/src
52
53pre-configure   { file rename ${build.dir}/_${maxima-lisp-name}.1 \
54                              ${build.dir}/_${name}.1
55                  file rename ${build.dir}/_${maxima-lisp-name}.html \
56                              ${build.dir}/_${name}.html
57
58                  file rename ${build.dir}/readline/doc/clreadline.3 \
59                              ${build.dir}/readline/doc/mlreadline.3
60                  file rename ${build.dir}/readline/doc/clreadline.html \
61                              ${build.dir}/readline/doc/mlreadline.html
62                  file rename ${build.dir}/readline/doc/clreadline.dvi \
63                              ${build.dir}/readline/doc/mlreadline.dvi
64
65                  file rename ${build.dir}/gettext/po/clisplow_de.gmo \
66                              ${build.dir}/gettext/po/maxima-lisplow_de.gmo
67                  file rename ${build.dir}/gettext/po/clisplow_en.gmo \
68                              ${build.dir}/gettext/po/maxima-lisplow_en.gmo
69                  file rename ${build.dir}/gettext/po/clisplow_es.gmo \
70                              ${build.dir}/gettext/po/maxima-lisplow_es.gmo
71                  file rename ${build.dir}/gettext/po/clisplow_fr.gmo \
72                              ${build.dir}/gettext/po/maxima-lisplow_fr.gmo
73                  file rename ${build.dir}/gettext/po/clisplow_nl.gmo \
74                              ${build.dir}/gettext/po/maxima-lisplow_nl.gmo
75                }
76
77post-configure  { cd ${build.dir}
78                  system "./makemake --without-dynamic-ffi \
79                          --with-readline --with-gettext \
80                          --prefix=${prefix} > Makefile"
81
82                  system "make config.lisp"
83                }
84
85build           { system "ulimit -s 8192 && \
86                          cd ${build.dir} && \
87                          make && \
88                          make check"
89                }
90
91pre-destroot    { cd ${build.dir} }
92
93post-destroot   { file rename ${destroot}/${prefix}/bin/${maxima-lisp-name} \
94                              ${destroot}/${prefix}/bin/${name}
95                }
96
Note: See TracBrowser for help on using the repository browser.