[111011] trunk/dports/lang/gcl/Portfile
larryv at macports.org
larryv at macports.org
Fri Sep 13 10:14:35 PDT 2013
Revision: 111011
https://trac.macports.org/changeset/111011
Author: larryv at macports.org
Date: 2013-09-13 10:14:35 -0700 (Fri, 13 Sep 2013)
Log Message:
-----------
gcl: Fix whitespace; reformat and rearrange.
Modified Paths:
--------------
trunk/dports/lang/gcl/Portfile
Modified: trunk/dports/lang/gcl/Portfile
===================================================================
--- trunk/dports/lang/gcl/Portfile 2013-09-13 16:20:35 UTC (rev 111010)
+++ trunk/dports/lang/gcl/Portfile 2013-09-13 17:14:35 UTC (rev 111011)
@@ -1,74 +1,69 @@
+# -*- 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
# $Id$
-PortSystem 1.0
-name gcl
-version 2.6.7
-revision 1
-categories lang
-maintainers nomaintainer
-description GNU Common Lisp
-long_description \
- GCL is the official Common Lisp for the GNU project. Its design \
- makes use of the system's C compiler to compile to native \
- object code, providing for both good performance and facile \
- portability. On most platforms, GCL can load native object code \
- modules directly into its lisp core, where they are preserved \
- in any custom lisp images produced via the save-system call.
-platforms darwin
-homepage http://www.gnu.org/software/gcl
-master_sites gnu
-checksums md5 c0f42e1f391162e5ac90912a70e8ecc3 \
- sha1 d54f7db5dbd9f49953f80259a5eb44ade65027b5
+PortSystem 1.0
-depends_lib port:gettext port:readline port:gmp
+name gcl
+version 2.6.7
+revision 1
+categories lang
+platforms darwin
+maintainers nomaintainer
-patchfiles configure.diff sbrk.diff
-if {${os.major} >= 9 && ${os.platform} == "darwin"} {
+description GNU Common Lisp
+long_description GCL is the official Common Lisp for the GNU project. \
+ Its design makes use of the system's C compiler to \
+ compile to native object code, providing for both \
+ good performance and facile portability.
+homepage http://www.gnu.org/software/gcl
+
+depends_lib port:gettext \
+ port:gmp \
+ port:readline
+
+master_sites gnu
+checksums md5 c0f42e1f391162e5ac90912a70e8ecc3 \
+ sha1 d54f7db5dbd9f49953f80259a5eb44ade65027b5
+
+patchfiles configure.diff \
+ sbrk.diff
+if {${os.major} >= 9 && ${os.platform} eq {darwin}} {
patchfiles-append stack_t.diff
}
-post-patch {
- reinplace "s|/sw|${prefix}|g" \
- ${worksrcpath}/h/powerpc-macosx.defs
- reinplace "s|/usr/local/lib|${prefix}/share|g" \
- ${worksrcpath}/info/makefile
- reinplace "s|/usr/share|${prefix}/share|g" \
- ${worksrcpath}/configure
+post-patch {
+ reinplace "s|/sw|${prefix}|g" h/powerpc-macosx.defs
+ reinplace "s|/usr/local/lib|${prefix}/share|g" info/makefile
+ reinplace "s|/usr/share|${prefix}/share|g" configure
}
-configure.args --enable-machine=powerpc-macosx \
- --prefix=${prefix} \
- --enable-ansi \
- --disable-statsysbfd \
- --disable-locbfd \
- --enable-custreloc \
- --enable-notify=no \
- --mandir=${prefix}/share/man \
- --infodir=${prefix}/share/info \
- --enable-infodir=${prefix}/share/info \
- --enable-emacsdir=${prefix}/share/emacs/site-lisp/gcl \
- --enable-readline \
- --without-x
+configure.args --enable-machine=powerpc-macosx \
+ --prefix=${prefix} \
+ --enable-ansi \
+ --disable-statsysbfd \
+ --disable-locbfd \
+ --enable-custreloc \
+ --enable-notify=no \
+ --mandir=${prefix}/share/man \
+ --infodir=${prefix}/share/info \
+ --enable-infodir=${prefix}/share/info \
+ --enable-emacsdir=${prefix}/share/emacs/site-lisp/gcl \
+ --enable-readline \
+ --without-x
-if {$build_arch == "x86_64" && ${os.platform} == "darwin"} {
- configure.args-append --build=${build_arch}-apple-${os.platform}${os.version} \
- --host=${build_arch}-apple-${os.platform}${os.version}
+if {${build_arch} eq {x86_64} && ${os.platform} eq {darwin}} {
+ set target ${build_arch}-apple-${os.platform}${os.version}
+ configure.args-append --build=${target} \
+ --host=${target}
}
-post-configure {
- reinplace "s|./default.el|${prefix}/etc/default.el|g" \
- ${worksrcpath}/makedefs \
- ${worksrcpath}/makedefc
- reinplace "s|/usr/share|${prefix}/share|g" \
- ${worksrcpath}/makedefs \
- ${worksrcpath}/makedefc
+post-configure {
+ reinplace "s|./default.el|${prefix}/etc/default.el|g" makedefs makedefc
+ reinplace "s|/usr/share|${prefix}/share|g" makedefs makedefc
}
use_parallel_build no
-destroot.destdir DESTDIR=${destroot}
-
-variant x11 {
- configure.args-delete --without-x
- configure.args-append --with-x
+variant x11 {
+ configure.args-replace --without-x --with-x
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130913/256646a8/attachment.html>
More information about the macports-changes
mailing list