1 | # $Id: Portfile 31212 2007-11-18 13:46:26Z mas@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name guile |
---|
5 | version 1.8.3 |
---|
6 | categories lang |
---|
7 | maintainers nomaintainer |
---|
8 | platforms darwin |
---|
9 | |
---|
10 | description GNU's Ubiquitous Intelligent Language for Extension (guile) |
---|
11 | long_description \ |
---|
12 | Guile is an interpreter for the Scheme programming \ |
---|
13 | language, packaged for use in a wide variety of \ |
---|
14 | environments. Guile implements Scheme as described in \ |
---|
15 | the Revised^5 Report on the Algorithmic Language Scheme \ |
---|
16 | (usually known as R5RS), providing clean and general \ |
---|
17 | data and control structures. \ |
---|
18 | \ |
---|
19 | Guile goes beyond the rather austere language presented \ |
---|
20 | in R5RS, extending it with a module system, full access \ |
---|
21 | to POSIX system calls, networking support, multiple \ |
---|
22 | threads, dynamic linking, a foreign function call \ |
---|
23 | interface, powerful string processing, and many other \ |
---|
24 | features needed for programming in the real world. |
---|
25 | |
---|
26 | #user_notes You may need to set the environment variable \ |
---|
27 | # DYLD_LIBRARY_PATH to ${prefix}/lib (or wherever \ |
---|
28 | # the guile libraries have been installed) if you want \ |
---|
29 | # to load guile modules from an application linked with \ |
---|
30 | # libguile. This should only apply to developers using \ |
---|
31 | # guile as an extension language. |
---|
32 | |
---|
33 | distname guile-${version} |
---|
34 | homepage http://www.gnu.org/software/guile/guile.html |
---|
35 | master_sites ftp://ftp.gnu.org/pub/gnu/guile/ |
---|
36 | |
---|
37 | checksums md5 7fd016924e1bc3e273f4009a080942de |
---|
38 | |
---|
39 | patchfiles fix-64bit-problems.diff \ |
---|
40 | patch-slib.scm \ |
---|
41 | patch-libguile-_scm.h \ |
---|
42 | patch-libguile-fports.c |
---|
43 | |
---|
44 | depends_lib port:readline port:gmp |
---|
45 | |
---|
46 | configure.args CPPFLAGS="-I${prefix}/include" \ |
---|
47 | LDFLAGS="-L${prefix}/lib" \ |
---|
48 | --infodir="${prefix}/share/info" \ |
---|
49 | --mandir="${prefix}/share/man" \ |
---|
50 | --enable-regex |
---|
51 | |
---|
52 | platform darwin 6 { |
---|
53 | depends_lib-append port:dlcompat |
---|
54 | } |
---|
55 | |
---|
56 | platform darwin 8 { |
---|
57 | configure.compiler gcc-4.0 |
---|
58 | } |
---|
59 | |
---|
60 | #post-destroot { |
---|
61 | # file delete ${destroot}${prefix}/share/${name}/1.6/ice-9/and-let\*.scm |
---|
62 | # } |
---|
63 | |
---|
64 | livecheck.check regex |
---|
65 | livecheck.url "http://ftp.gnu.org/pub/gnu/guile/?C=N;O=D" |
---|
66 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|