Ticket #17391: Portfile.diff
File Portfile.diff, 2.3 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago) |
---|
-
Portfile
old new 4 4 5 5 name swig 6 6 version 1.3.36 7 revision 17 revision 2 8 8 9 9 categories devel 10 10 maintainers kevin jwa … … 37 37 } 38 38 39 39 default_variants +python +perl +ruby +php5 40 configure.args --with out-csharp40 configure.args --with-java 41 41 42 42 build.target 43 43 44 set languages {typemaps tcl}44 set languages {typemaps java} 45 45 set docdir ${prefix}/share/doc/${name}-${version} 46 46 47 47 test.run yes … … 67 67 } 68 68 69 69 set bindings { 70 python python25 python=${prefix}/bin/python2.5 71 perl perl5.8 perl5 72 gcj gcj34 gcj 73 guile guile guile 74 mzscheme mzscheme mzscheme 75 ruby ruby ruby 76 php5 php5 php5 77 ocaml ocaml ocaml 78 pike pike pike 79 lua lua lua 80 chicken chicken chicken 81 allegro allegro allegrocl 82 clisp clisp clisp 83 r R r 70 python port:python26 python=${prefix}/bin/python2.6 71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl 72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3" 73 guile port:guile guile 74 mzscheme port:mzscheme mzscheme 75 ruby port:ruby ruby 76 php5 port:php5 php4 77 ocaml port:ocaml ocaml 78 pike port:pike pike 79 lua port:lua lua 80 chicken port:chicken chicken 81 allegro port:allegro allegrocl 82 clisp port:clisp clisp 83 r port:R r 84 tcl port:tcl tcl 85 csharp port:mono csharp 86 octave port:octave octave 84 87 } 85 88 86 89 foreach {variant port arg} ${bindings} { … … 93 96 configure.args-delete --without-${arg_name} 94 97 configure.args-append --with-${arg} 95 98 96 depends_build-append port:${port} 97 depends_run-append port:${port} 99 depends_lib-append ${port} 98 100 99 101 lappend languages ${arg_name} 100 102 }