[71889] trunk/dports/lang/yap/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Sep 25 22:50:07 PDT 2010


Revision: 71889
          http://trac.macports.org/changeset/71889
Author:   ryandesign at macports.org
Date:     2010-09-25 22:50:06 -0700 (Sat, 25 Sep 2010)
Log Message:
-----------
yap: add variants for some options, update description; see #26568

Modified Paths:
--------------
    trunk/dports/lang/yap/Portfile

Modified: trunk/dports/lang/yap/Portfile
===================================================================
--- trunk/dports/lang/yap/Portfile	2010-09-26 05:48:51 UTC (rev 71888)
+++ trunk/dports/lang/yap/Portfile	2010-09-26 05:50:06 UTC (rev 71889)
@@ -5,6 +5,7 @@
 name		yap
 conflicts	yap-devel
 version		6.0.5
+revision	1
 categories	lang
 maintainers	logtalk.org:pmoura
 platforms	darwin
@@ -12,7 +13,7 @@
 
 long_description	\
 		YAP is a high-performance Prolog compiler developed at    \
-		LIACC/Universidade do Porto and at COPPE Sistemas/UFRJ.   \
+		CRACS/Universidade do Porto and at COPPE Sistemas/UFRJ.   \
 		Its Prolog engine is based in the WAM (Warren Abstract    \
 		Machine), with several optimizations for better           \
 		performance. YAP follows the Edinburgh tradition, and     \
@@ -28,12 +29,37 @@
 
 worksrcdir      yap-6
 
-configure.args	--enable-threads=yes --enable-coroutining=yes \
-			--with-gmp=${prefix} --with-readline=${prefix}
+configure.args  --with-gmp=${prefix} \
+                --with-readline=${prefix}
 
 if {${os.platform} == "darwin" && ${build_arch} == "x86_64"} {
     configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
 }
 
+default_variants +java
+
+variant tabling {
+    configure.args-append --enable-tabling
+}
+
+variant java {
+    configure.args-append --with-jpl=/Library/Java/Home
+}
+
+variant condor {
+    configure.args-append --enable-condor
+}
+
+variant threads {
+    configure.args-append --enable-threads
+    configure.args-append --enable-pthread-locking
+    configure.args-append --enable-or-parallelism
+}
+
+variant debug {
+    configure.args-append --enable-debug-yap
+    configure.args-append --enable-low-level-tracer
+}
+
 livecheck.url   ${homepage}downloads.html
 livecheck.regex {yap-([0-9.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100925/b4c8db7f/attachment.html>


More information about the macports-changes mailing list