19 | | checksums md5 d054e99c89c20f86927c52010e9e7449 \ |
20 | | sha1 e598bd25289d0a2a09da4c7241513202c8b9adb4 \ |
21 | | rmd160 5b389a31907510800ef0913e2e3855038e6a4cf9 |
22 | | |
23 | | configure.python ${prefix}/bin/python2.4 |
24 | | |
25 | | depends_lib port:omniORB \ |
26 | | port:python24 |
27 | | |
28 | | patchfiles patch-dir.mk |
29 | | |
30 | | variant ssl description {Enable SSL support} { |
31 | | configure.args-append --with-openssl |
32 | | depends_lib-append port:openssl |
| 21 | use_bzip2 yes |
| 22 | checksums md5 a7ab4789b913313f18a1171ff7a140b7 \ |
| 23 | sha1 2def5ded7cd30e8d298113ed450b7bd09eaaf26f \ |
| 24 | rmd160 96b73cfcac7f2b8df2894c93b3e422bd85412251 |
| 25 | |
| 26 | # Use the python subports feature but omniORBpy uses make |
| 27 | # rather than setup.py for building since there are compiled libraries. |
| 28 | # So the build procedure must unravel the python PortGroup settings |
| 29 | # and revert to values compatible with a make environment. |
| 30 | # Ugly but it works. |
| 31 | |
| 32 | python.versions 24 25 26 27 |
| 33 | python.default_version 27 |
| 34 | |
| 35 | if {$subport != $name} { |
| 36 | depends_lib port:omniORB \ |
| 37 | port:python${python.version} |
| 38 | |
| 39 | patchfiles patch-dir.mk |
| 40 | |
| 41 | use_configure yes |
| 42 | |
| 43 | build.type gnu |
| 44 | build.cmd make |
| 45 | build.target all |
| 46 | build.args {} |
| 47 | |
| 48 | destroot.cmd ${build.cmd} |
| 49 | destroot.target install |
| 50 | destroot.args {} |
| 51 | destroot.destdir DESTDIR=${destroot} |
| 52 | |
| 53 | variant ssl description {Enable SSL support} { |
| 54 | configure.args-append --with-openssl |
| 55 | depends_lib-append port:openssl |
| 56 | } |
| 57 | livecheck.type none |
| 58 | } else { |
| 59 | livecheck.type regex |
| 60 | livecheck.url http://omniorb.sourceforge.net/releases/ |
| 61 | livecheck.regex "omniORBpy-(\\d+(?:\\.\\d+)*)${extract.suffix}" |