Ticket #13552: Portfile

File Portfile, 2.1 KB (added by mdickens@…, 17 years ago)

Portfile for GUILE 1.8.3 that should work with 10.4 and 10.5

Line 
1# $Id: Portfile 31212 2007-11-18 13:46:26Z mas@macports.org $
2
3PortSystem 1.0
4name            guile
5version         1.8.3
6categories      lang
7maintainers     nomaintainer
8platforms       darwin
9
10description     GNU's Ubiquitous Intelligent Language for Extension (guile)
11long_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
33distname        guile-${version}
34homepage        http://www.gnu.org/software/guile/guile.html
35master_sites    ftp://ftp.gnu.org/pub/gnu/guile/
36
37checksums       md5 7fd016924e1bc3e273f4009a080942de
38
39patchfiles      fix-64bit-problems.diff \
40                patch-slib.scm \
41                patch-libguile-_scm.h \
42                patch-libguile-fports.c
43
44depends_lib     port:readline port:gmp
45
46configure.args  CPPFLAGS="-I${prefix}/include"          \
47                LDFLAGS="-L${prefix}/lib"               \
48                --infodir="${prefix}/share/info"        \
49                --mandir="${prefix}/share/man"          \
50                --enable-regex
51
52platform darwin 6 {
53                depends_lib-append      port:dlcompat
54        }
55
56platform 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
64livecheck.check regex
65livecheck.url   "http://ftp.gnu.org/pub/gnu/guile/?C=N;O=D"
66livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"