Commits
Joshua Root authored ce8f5d1a387
50 50 | gcj {port:gcc47 "gcj=${prefix}/bin/gcj-mp-4.7 --with-gcjh=${prefix}/bin/gcjh-mp-4.7"} |
51 51 | d {port:phobos d} |
52 52 | go {port:go go} |
53 53 | guile {port:guile guile} |
54 54 | java {bin:java:kaffe java} |
55 55 | lua {port:lua lua} |
56 56 | ocaml {port:ocaml ocaml} |
57 57 | octave {path:bin/octave:octave octave} |
58 58 | perl {path:bin/perl:perl5 perl5=${prefix}/bin/perl} |
59 59 | php {port:php55 "php=${prefix}/bin/php55"} |
60 - | php5 {path:bin/php:php5 php} |
61 60 | pike {port:pike pike} |
62 61 | python {port:python_select python} |
63 62 | r {port:R r} |
64 63 | ruby {port:ruby23 "ruby=${prefix}/bin/ruby2.3"} |
65 64 | tcl {port:tcl tcl} |
66 65 | } |
67 66 | array set prettynames {chicken Chicken clisp CLISP csharp "C#" |
68 67 | d D gcj GCJ go Go guile Guile java Java lua Lua |
69 68 | ocaml "Objective Caml" octave Octave perl5 Perl php "PHP 5" pike Pike |
70 69 | python Python r R ruby Ruby tcl Tcl} |
79 78 | depends_lib-append [lindex $bindings($lang) 0] |
80 79 | configure.args-append --with-${arg} |
81 80 | destroot.args lib-languages=\"${arg_name}\" |
82 81 | swig.lang $arg_name |
83 82 | " |
84 83 | if {${swig.lang} != $arg_name} { |
85 84 | configure.args-append --without-${arg_name} |
86 85 | } |
87 86 | } |
88 87 | |
89 - | subport swig-php5 { |
90 - | replaced_by swig-php |
91 - | pre-configure { |
92 - | ui_error "This port has been replaced by 'swig-php'." |
93 - | return -code error |
94 - | } |
95 - | distfiles |
96 - | } |
97 - | |
98 88 | subport swig-php { |
99 89 | |
100 90 | patchfiles-append patch-configure.diff |
101 91 | |
102 92 | variant php52 conflicts php53 php54 php55 php56 description {build using PHP 5.2} { |
103 93 | depends_lib-delete port:php55 |
104 94 | depends_lib-append port:php52 |
105 95 | configure.args-delete --with-php=${prefix}/bin/php55 |
106 96 | configure.args-append --with-php=${prefix}/bin/php52 |
107 97 | } |