45 | | variant perl5_12 conflicts perl5_18 perl5_16 description { Perl bindings with perl 5.12} { |
46 | | depends_lib port:perl5.12 \ |
47 | | port:p5.12-archive-zip \ |
48 | | port:p5.12-carp-assert \ |
49 | | port:p5.12-datetime-format-strptime \ |
50 | | port:p5.12-datetime-timezone \ |
51 | | port:p5.12-dbd-sqlite \ |
52 | | port:p5.12-dbi \ |
53 | | port:p5.12-digest-crc \ |
54 | | port:p5.12-gtk2 \ |
55 | | port:p5.12-html-parser \ |
56 | | port:p5.12-html-scrubber \ |
57 | | port:p5.12-image-exiftool \ |
58 | | port:p5.12-libwww-perl \ |
59 | | port:p5.12-net-pcap \ |
60 | | port:p5.12-netpacket \ |
61 | | port:p5.12-xml-libxml \ |
62 | | port:p5.12-datemanip \ |
63 | | port:p5.12-parse-win32registry \ |
64 | | port:p5.12-file-mork \ |
65 | | port:p5.12-data-hexify \ |
66 | | port:p5.12-version \ |
67 | | port:p5.12-params-validate \ |
68 | | port:p5.12-xml-entities \ |
69 | | port:p5.12-mac-propertylist |
70 | | configure.cmd ${prefix}/bin/perl5.12 Makefile.PL |
71 | | } |
72 | | |
73 | | variant perl5_16 conflicts perl5_18 perl5_12 description { Perl bindings with perl 5.16} { |
74 | | depends_lib port:perl5.16 \ |
75 | | port:p5.16-archive-zip \ |
76 | | port:p5.16-carp-assert \ |
77 | | port:p5.16-datetime-format-strptime \ |
78 | | port:p5.16-datetime-timezone \ |
79 | | port:p5.16-dbd-sqlite \ |
80 | | port:p5.16-dbi \ |
81 | | port:p5.16-digest-crc \ |
82 | | port:p5.16-gtk2 \ |
83 | | port:p5.16-html-parser \ |
84 | | port:p5.16-html-scrubber \ |
85 | | port:p5.16-image-exiftool \ |
86 | | port:p5.16-libwww-perl \ |
87 | | port:p5.16-net-pcap \ |
88 | | port:p5.16-netpacket \ |
89 | | port:p5.16-xml-libxml \ |
90 | | port:p5.16-datemanip \ |
91 | | port:p5.16-parse-win32registry \ |
92 | | port:p5.16-file-mork \ |
93 | | port:p5.16-data-hexify \ |
94 | | port:p5.16-version \ |
95 | | port:p5.16-params-validate \ |
96 | | port:p5.16-xml-entities \ |
97 | | port:p5.16-mac-propertylist |
98 | | configure.cmd ${prefix}/bin/perl5.16 Makefile.PL |
99 | | } |
| 44 | perl5.branches 5.12 5.14 5.16 5.18 5.20 |
| 45 | perl5.default_branch 5.20 |
| 46 | perl5.create_variants ${perl5.branches} |
| 47 | |
| 48 | depends_lib port:perl${perl5.major} \ |
| 49 | port:p${perl5.major}-archive-zip \ |
| 50 | port:p${perl5.major}-carp-assert \ |
| 51 | port:p${perl5.major}-datetime-format-strptime \ |
| 52 | port:p${perl5.major}-datetime-timezone \ |
| 53 | port:p${perl5.major}-dbd-sqlite \ |
| 54 | port:p${perl5.major}-dbi \ |
| 55 | port:p${perl5.major}-digest-crc \ |
| 56 | port:p${perl5.major}-gtk2 \ |
| 57 | port:p${perl5.major}-html-parser \ |
| 58 | port:p${perl5.major}-html-scrubber \ |
| 59 | port:p${perl5.major}-image-exiftool \ |
| 60 | port:p${perl5.major}-libwww-perl \ |
| 61 | port:p${perl5.major}-net-pcap \ |
| 62 | port:p${perl5.major}-netpacket \ |
| 63 | port:p${perl5.major}-xml-libxml \ |
| 64 | port:p${perl5.major}-datemanip \ |
| 65 | port:p${perl5.major}-parse-win32registry \ |
| 66 | port:p${perl5.major}-file-mork \ |
| 67 | port:p${perl5.major}-data-hexify \ |
| 68 | port:p${perl5.major}-version \ |
| 69 | port:p${perl5.major}-params-validate \ |
| 70 | port:p${perl5.major}-xml-entities \ |
| 71 | port:p${perl5.major}-mac-propertylist |
| 72 | configure.cmd ${prefix}/bin/perl${perl5.major} Makefile.PL |
101 | | variant perl5_18 conflicts perl5_16 perl5_12 description { Perl bindings with perl 5.18} { |
102 | | depends_lib port:perl5.18 \ |
103 | | port:p5.18-archive-zip \ |
104 | | port:p5.18-carp-assert \ |
105 | | port:p5.18-datetime-format-strptime \ |
106 | | port:p5.18-datetime-timezone \ |
107 | | port:p5.18-dbd-sqlite \ |
108 | | port:p5.18-dbi \ |
109 | | port:p5.18-digest-crc \ |
110 | | port:p5.18-gtk2 \ |
111 | | port:p5.18-html-parser \ |
112 | | port:p5.18-html-scrubber \ |
113 | | port:p5.18-image-exiftool \ |
114 | | port:p5.18-libwww-perl \ |
115 | | port:p5.18-net-pcap \ |
116 | | port:p5.18-netpacket \ |
117 | | port:p5.18-xml-libxml \ |
118 | | port:p5.18-datemanip \ |
119 | | port:p5.18-parse-win32registry \ |
120 | | port:p5.18-file-mork \ |
121 | | port:p5.18-data-hexify \ |
122 | | port:p5.18-version \ |
123 | | port:p5.18-params-validate \ |
124 | | port:p5.18-xml-entities \ |
125 | | port:p5.18-mac-propertylist |
126 | | configure.cmd ${prefix}/bin/perl5.18 Makefile.PL |
127 | | } |
128 | | |
129 | | if {![variant_isset perl5_12] && ![variant_isset perl5_16] && ![variant_isset perl5_18]} { |
130 | | default_variants +perl5_16 |
131 | | } |