1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 72138 2010-10-05 01:16:07Z jmr@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup muniversal 1.0 |
---|
6 | |
---|
7 | name guile |
---|
8 | version 2.0.1 |
---|
9 | revision 1 |
---|
10 | categories lang |
---|
11 | maintainers nomaintainer |
---|
12 | platforms darwin |
---|
13 | |
---|
14 | description GNU's Ubiquitous Intelligent Language for Extension (guile) |
---|
15 | long_description \ |
---|
16 | Guile is an interpreter for the Scheme programming \ |
---|
17 | language, packaged for use in a wide variety of \ |
---|
18 | environments. Guile implements Scheme as described in \ |
---|
19 | the Revised^5 Report on the Algorithmic Language Scheme \ |
---|
20 | (usually known as R5RS), providing clean and general \ |
---|
21 | data and control structures. \ |
---|
22 | \ |
---|
23 | Guile goes beyond the rather austere language presented \ |
---|
24 | in R5RS, extending it with a module system, full access \ |
---|
25 | to POSIX system calls, networking support, multiple \ |
---|
26 | threads, dynamic linking, a foreign function call \ |
---|
27 | interface, powerful string processing, and many other \ |
---|
28 | features needed for programming in the real world. |
---|
29 | |
---|
30 | #user_notes You may need to set the environment variable \ |
---|
31 | # DYLD_LIBRARY_PATH to ${prefix}/lib (or wherever \ |
---|
32 | # the guile libraries have been installed) if you want \ |
---|
33 | # to load guile modules from an application linked with \ |
---|
34 | # libguile. This should only apply to developers using \ |
---|
35 | # guile as an extension language. |
---|
36 | |
---|
37 | distname guile-${version} |
---|
38 | homepage http://www.gnu.org/software/guile/guile.html |
---|
39 | master_sites ftp://ftp.gnu.org/pub/gnu/guile/ |
---|
40 | |
---|
41 | checksums sha1 3276a826f17a5edc0baf2eedc4821a771824141b |
---|
42 | |
---|
43 | #patchfiles patch-srfi-60.c.diff \ |
---|
44 | # patch-libguile-fports.c.diff |
---|
45 | |
---|
46 | depends_lib port:readline \ |
---|
47 | port:gettext \ |
---|
48 | port:libiconv \ |
---|
49 | port:libtool \ |
---|
50 | port:gmp \ |
---|
51 | port:boehmgc \ |
---|
52 | port:libunistring \ |
---|
53 | port:libffi |
---|
54 | |
---|
55 | configure.args CPPFLAGS="-I${prefix}/include" \ |
---|
56 | LDFLAGS="-L${prefix}/lib" \ |
---|
57 | --infodir="${prefix}/share/info" \ |
---|
58 | --mandir="${prefix}/share/man" \ |
---|
59 | --enable-regex |
---|
60 | |
---|
61 | if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} { |
---|
62 | configure.args-append --build=${build_arch}-apple-darwin${os.version} |
---|
63 | } |
---|
64 | |
---|
65 | #post-destroot { |
---|
66 | # file delete ${destroot}${prefix}/share/${name}/1.6/ice-9/and-let\*.scm |
---|
67 | # } |
---|
68 | |
---|
69 | livecheck.type regex |
---|
70 | livecheck.url "http://ftp.gnu.org/pub/gnu/guile/?C=N;O=D" |
---|
71 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|