[42765] trunk/dports/devel/swig/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sun Nov 30 10:08:25 PST 2008


Revision: 42765
          http://trac.macports.org/changeset/42765
Author:   mcalhoun at macports.org
Date:     2008-11-30 10:08:24 -0800 (Sun, 30 Nov 2008)
Log Message:
-----------
swig: Added new languages (tcl, java, octave, and csharp).
Fixed languages (php and gcj).
Changed perl dependency (see #16830).

Modified Paths:
--------------
    trunk/dports/devel/swig/Portfile

Modified: trunk/dports/devel/swig/Portfile
===================================================================
--- trunk/dports/devel/swig/Portfile	2008-11-30 17:52:14 UTC (rev 42764)
+++ trunk/dports/devel/swig/Portfile	2008-11-30 18:08:24 UTC (rev 42765)
@@ -4,7 +4,7 @@
 
 name		swig
 version		1.3.36
-revision	1
+revision	2
 
 categories	devel
 maintainers	kevin jwa
@@ -37,11 +37,11 @@
 }
 
 default_variants	+python +perl +ruby +php5
-configure.args  --without-csharp
+configure.args  --with-java
 
 build.target
 
-set languages   {typemaps tcl}
+set languages   {typemaps java}
 set docdir      ${prefix}/share/doc/${name}-${version}
 
 test.run        yes
@@ -67,20 +67,23 @@
 }
 
 set bindings {
-    python      python25    python=${prefix}/bin/python2.5
-    perl        perl5.8     perl5
-    gcj         gcj34       gcj
-    guile       guile       guile
-    mzscheme    mzscheme    mzscheme
-    ruby        ruby        ruby
-    php5        php5        php5
-    ocaml       ocaml       ocaml
-    pike        pike        pike
-    lua         lua         lua
-    chicken     chicken     chicken
-    allegro     allegro     allegrocl
-    clisp       clisp       clisp
-    r           R           r
+    python      port:python26          python=${prefix}/bin/python2.6
+    perl        path:bin/perl:perl5    perl5=${prefix}/bin/perl
+    gcj         port:gcc43             "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"
+    guile       port:guile             guile
+    mzscheme    port:mzscheme          mzscheme
+    ruby        port:ruby              ruby
+    php5        port:php5              php4
+    ocaml       port:ocaml             ocaml
+    pike        port:pike              pike
+    lua         port:lua               lua
+    chicken     port:chicken           chicken
+    allegro     port:allegro           allegrocl
+    clisp       port:clisp             clisp
+    r           port:R                 r
+    tcl         port:tcl               tcl
+    csharp      port:mono              csharp
+    octave      port:octave            octave
 }
 
 foreach {variant port arg} ${bindings} {
@@ -93,8 +96,7 @@
             configure.args-delete   --without-${arg_name}
             configure.args-append   --with-${arg}
 
-            depends_build-append    port:${port}
-            depends_run-append      port:${port}
+            depends_lib-append   ${port}
 
             lappend languages       ${arg_name}
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081130/8a7262ff/attachment-0001.html>


More information about the macports-changes mailing list