[25322] trunk/dports/lang
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 18 14:12:40 PDT 2007
Revision: 25322
http://trac.macosforge.org/projects/macports/changeset/25322
Author: pmq at macports.org
Date: 2007-05-18 14:12:39 -0700 (Fri, 18 May 2007)
Log Message:
-----------
Closes #11688. New port: gambit-c.
Submitted by: arto.bendiken at gmail.com
Approved by: pmq@
Added Paths:
-----------
trunk/dports/lang/gambit-c/
trunk/dports/lang/gambit-c/Portfile
Added: trunk/dports/lang/gambit-c/Portfile
===================================================================
--- trunk/dports/lang/gambit-c/Portfile (rev 0)
+++ trunk/dports/lang/gambit-c/Portfile 2007-05-18 21:12:39 UTC (rev 25322)
@@ -0,0 +1,55 @@
+# $Id$
+
+PortSystem 1.0
+
+name gambit-c
+version 4.0b22
+categories lang scheme
+platforms darwin
+maintainers arto.bendiken at gmail.com
+description Gambit-C is a fast Scheme implementation.
+long_description Gambit-C includes a Scheme interpreter and a Scheme \
+ compiler which can be used to build standalone \
+ executables. Because the compiler generates portable \
+ C code it is fairly easy to port to any platform \
+ with a decent C compiler. The thread system is very \
+ efficient and can support millions of concurrent \
+ processes. \
+ \
+ The Gambit-C system conforms to the R4RS, R5RS and \
+ IEEE Scheme standards. The full numeric tower is \
+ implemented, including: infinite precision integers \
+ (bignums), rationals, inexact reals (floating point \
+ numbers), and complex numbers.
+
+homepage http://www.iro.umontreal.ca/~gambit/
+master_sites ${homepage}/download/gambit/4.0/source/
+distname gambc-${version}
+checksums sha1 3dad264611443991fc36fa0f949a5ff8b864f57a
+
+configure.args --infodir=${prefix}/share/info \
+ --libdir=${prefix}/lib/gambit-c \
+ --enable-single-host
+
+post-extract {
+ # Get rid of the incompatible version-specific installation structure
+ reinplace "s|PACKAGE_SUBDIR=\"/${version}\"|PACKAGE_SUBDIR=\"\"|g" ${worksrcpath}/configure.ac
+ reinplace "s|&& \$(LN_S) \.\$(PACKAGE_SUBDIR) current||g" ${worksrcpath}/makefile.in
+ reinplace "s|rm -f \$(prefix)/current \$(prefix)/current.lnk||g" ${worksrcpath}/makefile.in
+
+ # Fix target paths since the configure options are not properly used in the makefiles
+ foreach makefile [exec find ${worksrcpath} -name makefile.in] {
+ reinplace "s|\$(prefix)\$(PACKAGE_SUBDIR)|\$(DESTDIR)\$(prefix)|g" $makefile
+ reinplace "s|\$(prefix)/info|\$(prefix)/share/info|g" $makefile
+ reinplace "s|\$(prefix)/doc|\$(prefix)/share/doc/gambit-c|g" $makefile
+ reinplace "s|\$(prefix)/lib|\$(prefix)/lib/gambit-c|g" $makefile
+ reinplace "s|\$(prefix)/syntax-case\.scm|\$(prefix)/lib/gambit-c/syntax-case\.scm|g" $makefile
+ }
+}
+
+platform darwin 8 {
+ configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+}
+
+variant optimized { configure.args-append --enable-gcc-opts }
+variant profile { configure.args-append --enable-profile }
Property changes on: trunk/dports/lang/gambit-c/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070518/76e45a61/attachment.html
More information about the macports-changes
mailing list