source: trunk/dports/lang/gcl/Portfile @ 75257

Last change on this file since 75257 was 75257, checked in by ryandesign@…, 10 years ago

Mark Waqar's ports as openmaintainer since he hasn't committed in years

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 75257 2011-01-19 06:23:12Z ryandesign@macports.org $
2
3PortSystem 1.0
4name            gcl
5version         2.6.7
6revision        1
7categories      lang
8maintainers     waqar openmaintainer
9description     GNU Common Lisp
10long_description        \
11        GCL is the official Common Lisp for the GNU project. Its design \
12        makes use of the system's C compiler to compile to native       \
13        object code, providing for both good performance and facile     \
14        portability. On most platforms, GCL can load native object code \
15        modules directly into its lisp core, where they are preserved   \
16        in any custom lisp images produced via the save-system call.
17platforms       darwin
18homepage        http://www.gnu.org/software/gcl
19master_sites    gnu
20checksums       md5 c0f42e1f391162e5ac90912a70e8ecc3                    \
21                sha1 d54f7db5dbd9f49953f80259a5eb44ade65027b5
22
23depends_lib     port:gettext port:readline port:gmp
24
25patch           {
26        reinplace "s|/sw|${prefix}|g"                   \
27                        ${worksrcpath}/h/powerpc-macosx.defs
28        reinplace "s|/usr/local/lib|${prefix}/share|g"  \
29                        ${worksrcpath}/info/makefile
30        reinplace "s|/usr/share|${prefix}/share|g"      \
31                        ${worksrcpath}/configure
32}
33
34configure.cflags-append "-no-cpp-precomp"
35
36configure.args  --enable-machine=powerpc-macosx \
37                --prefix=${prefix}              \
38                --enable-ansi                   \
39                --disable-statsysbfd            \
40                --disable-locbfd                \
41                --enable-custreloc              \
42                --enable-notify=no              \
43                --mandir=${prefix}/share/man    \
44                --infodir=${prefix}/share/info  \
45                --enable-infodir=${prefix}/share/info \
46                --enable-emacsdir=${prefix}/share/emacs/site-lisp/gcl \
47                --enable-readline               \
48                --without-x
49
50post-configure  {
51        reinplace "s|./default.el|${prefix}/etc/default.el|g" \
52                ${worksrcpath}/makedefs \
53                ${worksrcpath}/makedefc
54        reinplace "s|/usr/share|${prefix}/share|g" \
55                ${worksrcpath}/makedefs \
56                ${worksrcpath}/makedefc
57}
58
59destroot.destdir       DESTDIR=${destroot}
60
61variant x11     {
62        configure.args-delete --without-x
63        configure.args-append --with-x
64}
Note: See TracBrowser for help on using the repository browser.