source: trunk/dports/lang/guile/Portfile @ 4474

Last change on this file since 4474 was 4474, checked in by jkh, 17 years ago

Change libdl.1 to libdl so that Panther systems find the dlcompat stuff
properly.

  • Property svn:eol-style set to native
File size: 2.6 KB
Line 
1# $Id: Portfile,v 1.7 2004/01/06 07:18:01 jkh Exp $
2
3PortSystem 1.0
4name            guile
5version         1.6.4
6categories      lang
7maintainers     gwright@comcast.net
8platforms       darwin
9description     GNU's Ubiquitous Intelligent Language for Extension (guile)
10long_description        \
11                Guile is an interpreter for the Scheme programming language, \
12                packaged for use in a wide variety of environments.  \
13                Guile implements Scheme as described in the Revised^5 Report \
14                on the Algorithmic Language Scheme (usually known as R5RS), \
15                providing clean and general data and control structures.  \
16                Guile goes beyond the rather austere language presented \
17                in R5RS, extending it with a module system, full access to \
18                POSIX system calls, networking support, multiple threads, \
19                dynamic linking, a foreign function call interface, \
20                powerful string processing, and many other features needed \
21                for programming in the real world.
22
23#bugs           On Apple's darwin, the putenv library function acts \
24#               differently than the GNU version. The patch to \
25#               libguile/posix.c fixes this, so the guile 'putenv' \
26#               function doesn't throw a system error. \
27#                                                       \
28#               The libtool madness below ('pre_install') is nothing \
29#               to be proud of, but gets around a hard to fix libtool \
30#               bug involving installing to destroot and dependencies \
31#               that span directories.
32
33#user_notes     Set DLYD_LIBRARY_PATH to /opt/local/lib (or wherever \
34#               the guile libraries have been installed) if you intend \
35#               to load guile modules.
36
37homepage        http://www.gnu.org/software/guile/guile.html
38master_sites    ftp://ftp.gnu.org/gnu/guile/
39
40checksums       md5 a4aceb5f185878c1de4e8aa7c38b6d1d
41
42depends_lib     lib:libreadline.4.3:readline lib:libdl:dlcompat
43
44patchfiles      patch-scmsigs.c patch-configure patch-guile-readline-configure \
45                patch-ltmain.sh patch-posix.c
46
47configure.args  CPPFLAGS="-no-cpp-precomp -I/opt/local/include" \
48                CFLAGS="-no-cpp-precomp -Dmacosx" \
49                LDFLAGS=-L/opt/local/lib
50
51pre-destroot    { cd ${workpath}/${worksrcdir}/libguile-ltdl
52                  system "../libtool install -c libguile-ltdl.la \
53                          ${prefix}/lib/libguile-ltdl.la"
54                  cd ${workpath}/${worksrcdir}/libguile
55                  system "../libtool install -c libguile.la \
56                          ${prefix}/lib/libguile.la"
57                  cd ${workpath}/${worksrcdir}/guile-readline
58                  system "../libtool install -c libguilereadline-v-12.la \
59                          ${prefix}/lib/libguilereadline-v-12.la"
60                  cd ${workpath}/${worksrcdir}/srfi
61                  system "../libtool install -c libguile-srfi-srfi-4-v-1.la \
62                          ${prefix}/lib/libguile-srfi-srfi-4-v-1.la"
63                  system "../libtool install -c libguile-srfi-srfi-13-14-v-1.la \
64                          ${prefix}/lib/libguile-srfi-srfi-13-14-v-1.la"
65                }
66
Note: See TracBrowser for help on using the repository browser.