Ticket #22241: swig-split.diff
File swig-split.diff, 72.6 KB (added by jmroot (Joshua Root), 15 years ago) |
---|
-
swig/Portfile
4 4 5 5 name swig 6 6 version 1.3.40 7 revision 1 7 8 8 9 categories devel 9 10 maintainers kevin jwa … … 36 37 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure 37 38 } 38 39 39 default_variants +python +perl +ruby +php5 40 configure.args --with-java 40 foreach lang {python perl5 gcj guile mzscheme ruby php ocaml pike lua chicken allegrocl clisp r tcl csharp octave java} { 41 configure.args-append --without-${lang} 42 } 41 43 42 44 build.target 43 45 44 set languages {typemaps java}46 set languages [list typemaps] 45 47 set docdir ${prefix}/share/doc/${name}-${version} 46 48 47 49 test.run yes … … 66 68 } 67 69 } 68 70 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 71 livecheck.type sourceforge 107 72 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-allegro/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup allegro Allegro 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-chicken/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup chicken Chicken 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-clisp/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup clisp CLISP 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-csharp/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup csharp "C#" 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-gcj/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup gcj GCJ 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-guile/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup guile Guile 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-java/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup java Java 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-lua/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup lua Lua 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-mzscheme/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup mzscheme MzScheme 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-ocaml/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup ocaml "Objective Caml" 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-octave/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup octave Octave 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-perl/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup perl Perl 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-php5/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup php5 "PHP 5" 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-pike/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup pike Pike 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-python/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup python Python 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-r/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup r R 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-ruby/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup ruby Ruby 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title> -
swig-tcl/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup swigbinding 1.0 4 6 5 name swig 6 version 7 swigbinding-setup tcl Tcl 8 version 1.3.40 7 9 8 categories devel 9 maintainers kevin jwa 10 maintainers nomaintainer 10 11 11 description Tool to wrap C/C++ libraries in high-level languages.12 long_description \13 SWIG is a software development tool that connects programs written in C \14 and C++ with a variety of high-level programming languages. SWIG is \15 primarily used with common scripting languages such as Perl, Python, \16 Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported languages \17 also includes non-scripting languages such as Java and OCAML. SWIG is \18 most commonly used to create high-level interpreted programming \19 environments, user interfaces, and as a tool for testing and \20 prototyping C/C++ software. SWIG may be freely used, distributed, and \21 modified for commercial and noncommercial use.22 23 homepage http://www.swig.org/24 platforms darwin25 master_sites sourceforge26 12 checksums md5 2df766c9e03e02811b1ab4bba1c7b9cc \ 27 13 sha1 7e7a426579f2d2d967b731abf062b33aa894fb4e \ 28 14 rmd160 318a59b0ea2b20ca987f7e662e0d7138c869295a 29 30 31 depends_build port:bison \32 port:gsed33 34 post-patch {35 # The configure script should use GNU sed36 reinplace "s/\[\[:<:\]\]sed\[\[:>:\]\]/gsed/g" ${worksrcpath}/configure37 }38 39 default_variants +python +perl +ruby +php540 configure.args --with-java41 42 build.target43 44 set languages {typemaps java}45 set docdir ${prefix}/share/doc/${name}-${version}46 47 test.run yes48 test.target check49 50 pre-destroot {51 # This must be evaluated after variants selection.52 destroot.args lib-languages="[join ${languages}]"53 }54 55 post-destroot {56 xinstall -d ${destroot}${docdir}57 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES FUTURE LICENSE NEW README \58 TODO ${destroot}${docdir}59 }60 61 variant doc description {Install extra documentation} {62 post-destroot {63 xinstall -d ${destroot}${docdir}/html64 eval xinstall -m 0644 [glob ${worksrcpath}/Doc/Manual/*.{css,html,pdf,png}] \65 ${destroot}${docdir}/html66 }67 }68 69 set bindings {70 python port:python_select python=${prefix}/bin/python71 perl path:bin/perl:perl5 perl5=${prefix}/bin/perl72 gcj port:gcc43 "gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3"73 guile port:guile guile74 mzscheme port:mzscheme mzscheme75 ruby port:ruby ruby76 php5 path:bin/php:php5 php77 ocaml port:ocaml ocaml78 pike port:pike pike79 lua port:lua lua80 chicken port:chicken chicken81 allegro port:allegro allegrocl82 clisp port:clisp clisp83 r port:R r84 tcl port:tcl tcl85 csharp port:mono csharp86 octave port:octave octave87 }88 89 foreach {variant port arg} ${bindings} {90 set arg_name [lindex [split ${arg} =] 0]91 92 configure.args-append --without-${arg_name}93 94 eval [subst {95 variant ${variant} {96 configure.args-delete --without-${arg_name}97 configure.args-append --with-${arg}98 99 depends_lib-append ${port}100 101 lappend languages ${arg_name}102 }103 }]104 }105 106 livecheck.type sourceforge107 livecheck.regex <title>${name} ${name}-(.*) released.*</title>