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