[83681] trunk/dports/graphics/asymptote/Portfile

raphael at macports.org raphael at macports.org
Thu Sep 8 23:34:21 PDT 2011


Revision: 83681
          http://trac.macports.org/changeset/83681
Author:   raphael at macports.org
Date:     2011-09-08 23:34:18 -0700 (Thu, 08 Sep 2011)
Log Message:
-----------
asymptote:

 * update to 2.13
 * indicate license
 * use gcc-4.2 to fix building with Xcode 4

see #31079 (maintainer timeout)

Modified Paths:
--------------
    trunk/dports/graphics/asymptote/Portfile

Modified: trunk/dports/graphics/asymptote/Portfile
===================================================================
--- trunk/dports/graphics/asymptote/Portfile	2011-09-09 06:27:31 UTC (rev 83680)
+++ trunk/dports/graphics/asymptote/Portfile	2011-09-09 06:34:18 UTC (rev 83681)
@@ -4,8 +4,7 @@
 PortSystem	1.0
 
 name		asymptote
-version		2.08
-revision    3
+version		2.13
 categories	graphics
 maintainers	gmail.com:loshea
 description	a vector graphics language
@@ -15,14 +14,14 @@
                  Labels and equations are typeset with LaTeX, for \
                  high-quality PostScript output.
 homepage	http://asymptote.sourceforge.net
+license         LGPL-3+
 platforms	darwin
 configure.args  --with-latex=${prefix}/share/texmf-local/tex/latex \
                 --mandir=${prefix}/share/man
 master_sites	sourceforge
 extract.suffix  .src.tgz
-checksums       md5     ab7bc11c8110b6eb459285b9c206cfe6 \
-                sha1    6b81336727458f7fdcc3db972f1e63b3bfc1a93b \
-                rmd160  a9a2c80410eb9a7f9371a7a1a1634fed0e0be6ab
+checksums       rmd160  c38a9224da74bb97a7b63e5ac56ba326b49625d9 \
+                sha256  a0ac4815aaa367a8bc5cb3fb462267959f73e982d07fd96392c019c9fdfb7a13
 depends_build   port:texinfo
 depends_lib	port:readline \
                 port:texlive \
@@ -33,6 +32,17 @@
                 port:ncurses \
                 port:boehmgc
 
+# asy binary fails to compile examples if it is compiled with llvm-gcc-4.2
+# clang fails to compile asymptote
+if {${configure.compiler} == "clang" ||
+    ${configure.compiler} == "llvm-gcc-4.2"} {
+    configure.compiler gcc-4.2
+    if {![file executable ${configure.cc}]} {
+        depends_build-append port:apple-gcc42
+        configure.compiler apple-gcc-4.2
+    }
+}
+
 post-destroot {
     set python.bin ""
     if {[variant_isset python27]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110908/1d96519b/attachment-0001.html>


More information about the macports-changes mailing list