Ticket #29307: Portfile.2

File Portfile.2, 2.5 KB (added by rkmspence@…, 13 years ago)

lang/guile/Portfile (version 2 series)

Line 
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
4PortSystem 1.0
5PortGroup       muniversal 1.0
6
7name            guile
8version         2.0.1
9revision        1
10categories      lang
11maintainers     nomaintainer
12platforms       darwin
13
14description     GNU's Ubiquitous Intelligent Language for Extension (guile)
15long_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
37distname        guile-${version}
38homepage        http://www.gnu.org/software/guile/guile.html
39master_sites    ftp://ftp.gnu.org/pub/gnu/guile/
40
41checksums       sha1    3276a826f17a5edc0baf2eedc4821a771824141b
42
43#patchfiles     patch-srfi-60.c.diff \
44#               patch-libguile-fports.c.diff
45
46depends_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
55configure.args  CPPFLAGS="-I${prefix}/include"          \
56                LDFLAGS="-L${prefix}/lib"               \
57                --infodir="${prefix}/share/info"        \
58                --mandir="${prefix}/share/man"          \
59                --enable-regex
60
61if {${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
69livecheck.type  regex
70livecheck.url   "http://ftp.gnu.org/pub/gnu/guile/?C=N;O=D"
71livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"