diff --git a/trunk/dports/textproc/help2man/Portfile b/trunk/dports/textproc/help2man/Portfile
a
|
b
|
|
1 | | # $Id$ |
2 | | |
3 | 1 | PortSystem 1.0 |
4 | 2 | |
5 | 3 | name help2man |
… |
… |
|
20 | 18 | checksums rmd160 52ef3e50f49e0449dd7c89209775ad3a0849eb7e \ |
21 | 19 | sha256 f7c85b9af84a87d7da912b62dadf426118841750ed1e4598787a54fddaf82b9c |
22 | 20 | |
23 | | depends_lib port:perl5.12 port:p5.12-locale-gettext \ |
24 | | port:gettext port:libiconv |
| 21 | if {[variant_isset perl5_8]} { |
| 22 | set branch 5.8 |
| 23 | } elseif {[variant_isset perl5_10]} { |
| 24 | set branch 5.10 |
| 25 | } elseif {[variant_isset perl5_14]} { |
| 26 | set branch 5.14 |
| 27 | } elseif {[variant_isset perl5_16]} { |
| 28 | set branch 5.16 |
| 29 | } else { |
| 30 | set branch 5.12 |
| 31 | default_variants +perl5_12 |
| 32 | } |
25 | 33 | |
26 | | configure.perl ${prefix}/bin/perl5.12 |
| 34 | variant perl5_8 conflicts perl5_10 perl5_12 perl5_14 perl5_16 description {use perl 5.8} { |
| 35 | depends_lib-append port:perl5.8 port:p5.8-locale-gettext \ |
| 36 | port:gettext port:libiconv |
| 37 | configure.perl ${prefix}/bin/perl5.8 |
| 38 | } |
27 | 39 | |
| 40 | variant perl5_10 conflicts perl5_8 perl5_12 perl5_14 perl5_16 description {use perl 5.10} { |
| 41 | depends_lib-append port:perl5.10 port:p5.10-locale-gettext \ |
| 42 | port:gettext port:libiconv |
| 43 | configure.perl ${prefix}/bin/perl5.10 |
| 44 | } |
| 45 | |
| 46 | variant perl5_12 conflicts perl5_8 perl5_10 perl5_14 perl5_16 description {use perl 5.12} { |
| 47 | depends_lib-append port:perl5.12 port:p5.12-locale-gettext \ |
| 48 | port:gettext port:libiconv |
| 49 | configure.perl ${prefix}/bin/perl5.12 |
| 50 | } |
| 51 | |
| 52 | variant perl5_14 conflicts perl5_8 perl5_10 perl5_12 perl5_16 description {use perl 5.14} { |
| 53 | depends_lib-append port:perl5.14 port:p5.14-locale-gettext \ |
| 54 | port:gettext port:libiconv |
| 55 | configure.perl ${prefix}/bin/perl5.14 |
| 56 | } |
| 57 | |
| 58 | variant perl5_16 conflicts perl5_8 perl5_10 perl5_12 perl5_14 description {use perl 5.16} { |
| 59 | depends_lib-append port:perl5.16 port:p5.16-locale-gettext \ |
| 60 | port:gettext port:libiconv |
| 61 | configure.perl ${prefix}/bin/perl5.16 |
| 62 | } |
| 63 | |
28 | 64 | configure.args --enable-nls |
29 | 65 | |
30 | 66 | configure.universal_args-delete --disable-dependency-tracking |