22 | | checksums md5 447490f3bc155fd1d5c2d47280c999a5 \ |
23 | | sha1 a67acdb606aabbd9da6ddd2c016d43bb9ec17431 \ |
24 | | rmd160 42cb64a32ca457779e498ef8edb952e04f8b2c86 |
25 | | depends_lib port:apache2 \ |
26 | | port:php5 \ |
27 | | port:php5-gd \ |
28 | | port:php5-mbstring \ |
29 | | path:bin/mysql_config5:mysql5 |
30 | | |
31 | | variant apache1 description "use apache 1.x instead of apache 2.x" { |
32 | | depends_lib-append port:apache |
33 | | depends_lib-delete port:apache2 |
34 | | } |
35 | | |
36 | | variant php4 description "use php4 instead of php5" conflicts php52 { |
37 | | depends_lib-append port:php4 |
38 | | depends_lib-delete port:php5 \ |
39 | | port:php5-gd \ |
40 | | port:php5-mbstring |
41 | | } |
42 | | |
43 | | variant php52 description "use php5.2 instead of the latest php version" conflicts php4 { |
44 | | depends_lib-delete port:php5 \ |
45 | | port:php5-gd \ |
46 | | port:php5-mbstring |
47 | | depends_lib-append port:php52 |
48 | | } |
49 | | |
50 | | variant mysql4 conflicts postgresql postgresql80 postgresql81 postgresql82 postgresql83 postgresql84 description "use mysql4 instead of mysql5" { |
51 | | depends_lib-append port:mysql4 |
52 | | depends_lib-delete path:bin/mysql_config5:mysql5 |
53 | | } |
54 | | |
55 | | variant postgresql conflicts mysql4 description "use postgresql as the drupal database" { |
56 | | depends_lib-append port:postgresql84 |
57 | | depends_lib-delete path:bin/mysql_config5:mysql5 |
58 | | } |
59 | | |
60 | | variant postgresql80 conflicts mysql4 postgresql81 postgresql82 postgresql83 postgresql84 description "use postgres80 as the drupal database" { |
61 | | depends_lib-append port:postgresql80 |
62 | | depends_lib-delete path:bin/mysql_config5:mysql5 |
63 | | } |
64 | | |
65 | | variant postgresql81 conflicts mysql4 postgresql80 postgresql82 postgresql83 postgresql84 description "use postgressql81 as the drupal database" { |
66 | | depends_lib-append port:postgresql81 |
67 | | depends_lib-delete path:bin/mysql_config5:mysql5 |
68 | | } |
69 | | |
70 | | variant postgresql82 conflicts mysql4 postgresql80 postgresql81 postgresql83 postgresql84 description "use postgresql82 as the drupal database" { |
71 | | depends_lib-append port:postgresql82 |
72 | | depends_lib-delete path:bin/mysql_config5:mysql5 |
| 23 | checksums md5 93353eb918bccfcf4fb6f13ecb0f97d4 \ |
| 24 | sha1 a5575b7327eacb0d713c7ad653498ff0cfaca789 \ |
| 25 | rmd160 556da18c793de4d42a1a4a27e3ce5d5521a4e0e3 |
| 26 | |
| 27 | # https://www.drupal.org/requirements |
| 28 | depends_run port:apache2 \ |
| 29 | port:php53 \ |
| 30 | port:php53-apache2handler \ |
| 31 | port:php53-gd \ |
| 32 | port:php53-mbstring \ |
| 33 | port:php53-mysql \ |
| 34 | port:mysql56 |
| 35 | |
| 36 | |
| 37 | ## variant:apache |
| 38 | |
| 39 | variant apache24 \ |
| 40 | description "use apache 2.4.x instead of apache 2.2.x" { |
| 41 | depends_run-delete port:apache2 |
| 42 | depends_run-append port:apache24-devel |
| 43 | } |
| 44 | |
| 45 | variant apache1 \ |
| 46 | description "use apache 1.x instead of apache 2.2.x" { |
| 47 | depends_run-delete port:apache2 |
| 48 | depends_run-append port:apache |
| 49 | } |
| 50 | |
| 51 | |
| 52 | ## variant:mysql |
| 53 | |
| 54 | variant mysql55 \ |
| 55 | description "use mysql55 instead of mysql56" \ |
| 56 | conflicts mysql51 mysql4 \ |
| 57 | postgresql93 postgresql92 postgresql91 postgresql90 \ |
| 58 | postgresql84 postgresql83 postgresql82 postgresql81 postgresql80 \ |
| 59 | postgresql7 { |
| 60 | depends_run-append port:mysql55 |
| 61 | depends_run-delete port:mysql56 |
| 62 | } |
| 63 | |
| 64 | variant mysql51 \ |
| 65 | description "use mysql55 instead of mysql56" \ |
| 66 | conflicts mysql55 mysql4 \ |
| 67 | postgresql93 postgresql92 postgresql91 postgresql90 \ |
| 68 | postgresql84 postgresql83 postgresql82 postgresql81 postgresql80 \ |
| 69 | postgresql7 { |
| 70 | depends_run-append port:mysql51 |
| 71 | depends_run-delete port:mysql56 |
| 72 | } |
| 73 | |
| 74 | variant mysql4 \ |
| 75 | description "use mysql4 instead of mysql56" \ |
| 76 | conflicts mysql55 mysql51 \ |
| 77 | postgresql93 postgresql92 postgresql91 postgresql90 \ |
| 78 | postgresql84 postgresql83 postgresql82 postgresql81 postgresql80 \ |
| 79 | postgresql7 { |
| 80 | depends_run-append port:mysql4 |
| 81 | depends_run-delete port:mysql56 |
| 82 | } |
| 83 | |
| 84 | |
| 85 | ## variant:php |
| 86 | |
| 87 | variant php56 \ |
| 88 | description "use php56 instead of php53" \ |
| 89 | conflicts php55 php54 php52 php4 { |
| 90 | depends_run-delete port:php53 \ |
| 91 | port:php53-apache2handler \ |
| 92 | port:php53-gd \ |
| 93 | port:php53-mbstring |
| 94 | depends_run-append port:php56 \ |
| 95 | port:php56-apache2handler \ |
| 96 | port:php56-gd \ |
| 97 | port:php56-mbstring |
| 98 | } |
| 99 | |
| 100 | variant php55 \ |
| 101 | description "use php55 instead of php53" \ |
| 102 | conflicts php56 php54 php52 php4 { |
| 103 | depends_run-delete port:php53 \ |
| 104 | port:php53-apache2handler \ |
| 105 | port:php53-gd \ |
| 106 | port:php53-mbstring |
| 107 | depends_run-append port:php55 \ |
| 108 | port:php55-apache2handler \ |
| 109 | port:php55-gd \ |
| 110 | port:php55-mbstring |
| 111 | } |
| 112 | |
| 113 | variant php54 \ |
| 114 | description "use php54 instead of php53" \ |
| 115 | conflicts php56 php55 php52 php4 { |
| 116 | depends_run-delete port:php53 \ |
| 117 | port:php53-apache2handler \ |
| 118 | port:php53-gd \ |
| 119 | port:php53-mbstring |
| 120 | depends_run-append port:php54 \ |
| 121 | port:php54-apache2handler \ |
| 122 | port:php54-gd \ |
| 123 | port:php54-mbstring |
| 124 | } |
| 125 | |
| 126 | variant php52 \ |
| 127 | description "use php54 instead of php53" \ |
| 128 | conflicts php56 php55 php54 php4 { |
| 129 | depends_run-delete port:php53 \ |
| 130 | port:php53-apache2handler \ |
| 131 | port:php53-gd \ |
| 132 | port:php53-mbstring |
| 133 | depends_run-append port:php52 \ |
| 134 | port:php52-apache2handler \ |
| 135 | port:php52-gd \ |
| 136 | port:php52-mbstring |
| 137 | } |
| 138 | |
| 139 | variant php4 \ |
| 140 | description "use php4 instead of php53" \ |
| 141 | conflicts php56 php55 php54 php52 { |
| 142 | depends_run-delete port:php53 \ |
| 143 | port:php53-apache2handler \ |
| 144 | port:php53-gd \ |
| 145 | port:php53-mbstring |
| 146 | depends_run-append port:php4 |
| 147 | } |
| 148 | |
| 149 | |
| 150 | ## variant:postgresql |
| 151 | |
| 152 | variant postgresql94 \ |
| 153 | description "use postgres94 as the drupal database" \ |
| 154 | conflicts mysql55 mysql51 mysql4 \ |
| 155 | postgresql93 postgresql92 postgresql91 postgresql90 \ |
| 156 | postgresql84 postgresql83 postgresql82 postgresql81 postgresql80 \ |
| 157 | postgresql7 { |
| 158 | depends_run-append port:postgresql94 |
| 159 | depends_run-delete port:mysql56 \ |
| 160 | port:php56-mysql \ |
| 161 | port:php55-mysql \ |
| 162 | port:php54-mysql \ |
| 163 | port:php53-mysql \ |
| 164 | port:php52-mysql |
| 165 | } |
| 166 | |
| 167 | variant postgresql93 \ |
| 168 | description "use postgres93 as the drupal database" \ |
| 169 | conflicts mysql55 mysql51 mysql4 \ |
| 170 | postgresql94 postgresql92 postgresql91 postgresql90 \ |
| 171 | postgresql84 postgresql83 postgresql82 postgresql81 postgresql80 \ |
| 172 | postgresql7 \ |
| 173 | { |
| 174 | depends_run-append port:postgresql93 |
| 175 | depends_run-delete port:mysql56 \ |
| 176 | port:php56-mysql \ |
| 177 | port:php55-mysql \ |
| 178 | port:php54-mysql \ |
| 179 | port:php53-mysql \ |
| 180 | port:php52-mysql |
| 181 | } |
| 182 | |
| 183 | variant postgresql92 \ |
| 184 | description "use postgres92 as the drupal database" \ |
| 185 | conflicts mysql55 mysql51 mysql4 \ |
| 186 | postgresql94 postgresql93 postgresql91 postgresql90 \ |
| 187 | postgresql84 postgresql83 postgresql82 postgresql81 postgresql80 \ |
| 188 | postgresql7 { |
| 189 | depends_run-append port:postgresql92 |
| 190 | depends_run-delete port:mysql56 \ |
| 191 | port:php56-mysql \ |
| 192 | port:php55-mysql \ |
| 193 | port:php54-mysql \ |
| 194 | port:php53-mysql \ |
| 195 | port:php52-mysql |
| 196 | } |
| 197 | |
| 198 | variant postgresql91 \ |
| 199 | description "use postgres91 as the drupal database" \ |
| 200 | conflicts mysql55 mysql51 mysql4 \ |
| 201 | postgresql94 postgresql93 postgresql92 postgresql90 \ |
| 202 | postgresql84 postgresql83 postgresql82 postgresql81 postgresql80 \ |
| 203 | postgresql7 { |
| 204 | depends_run-append port:postgresql91 |
| 205 | depends_run-delete port:mysql56 \ |
| 206 | port:php56-mysql \ |
| 207 | port:php55-mysql \ |
| 208 | port:php54-mysql \ |
| 209 | port:php53-mysql \ |
| 210 | port:php52-mysql |
| 211 | } |
| 212 | |
| 213 | variant postgresql90 \ |
| 214 | description "use postgres90 as the drupal database" \ |
| 215 | conflicts mysql55 mysql51 mysql4 \ |
| 216 | postgresql94 postgresql93 postgresql92 postgresql91 \ |
| 217 | postgresql84 postgresql83 postgresql82 postgresql81 postgresql80 \ |
| 218 | postgresql7 { |
| 219 | depends_run-append port:postgresql90 |
| 220 | depends_run-delete port:mysql56 \ |
| 221 | port:php56-mysql \ |
| 222 | port:php55-mysql \ |
| 223 | port:php54-mysql \ |
| 224 | port:php53-mysql \ |
| 225 | port:php52-mysql |
| 226 | } |
| 227 | |
| 228 | variant postgresql84 \ |
| 229 | description "use postgres84 as the drupal database" \ |
| 230 | conflicts mysql55 mysql51 mysql4 \ |
| 231 | postgresql94 postgresql93 postgresql92 postgresql91 postgresql90 \ |
| 232 | postgresql83 postgresql82 postgresql81 postgresql80 \ |
| 233 | postgresql7 { |
| 234 | depends_run-append port:postgresql84 |
| 235 | depends_run-delete port:mysql56 \ |
| 236 | port:php56-mysql \ |
| 237 | port:php55-mysql \ |
| 238 | port:php54-mysql \ |
| 239 | port:php53-mysql \ |
| 240 | port:php52-mysql |
| 241 | } |
| 242 | |
| 243 | variant postgresql83 \ |
| 244 | description "use postgres83 as the drupal database" \ |
| 245 | conflicts mysql55 mysql51 mysql4 \ |
| 246 | postgresql94 postgresql93 postgresql92 postgresql91 postgresql90 \ |
| 247 | postgresql84 postgresql82 postgresql81 postgresql80 \ |
| 248 | postgresql7 { |
| 249 | depends_run-append port:postgresql83 |
| 250 | depends_run-delete port:mysql56 \ |
| 251 | port:php56-mysql \ |
| 252 | port:php55-mysql \ |
| 253 | port:php54-mysql \ |
| 254 | port:php53-mysql \ |
| 255 | port:php52-mysql |
| 256 | } |
| 257 | |
| 258 | variant postgresql82 \ |
| 259 | description "use postgres82 as the drupal database" \ |
| 260 | conflicts mysql55 mysql51 mysql4 \ |
| 261 | postgresql94 postgresql93 postgresql92 postgresql91 postgresql90 \ |
| 262 | postgresql84 postgresql83 postgresql81 postgresql80 \ |
| 263 | postgresql7 { |
| 264 | depends_run-append port:postgresql82 |
| 265 | depends_run-delete port:mysql56 \ |
| 266 | port:php56-mysql \ |
| 267 | port:php55-mysql \ |
| 268 | port:php54-mysql \ |
| 269 | port:php53-mysql \ |
| 270 | port:php52-mysql |
| 271 | } |
| 272 | |
| 273 | variant postgresql81 \ |
| 274 | description "use postgres81 as the drupal database" \ |
| 275 | conflicts mysql55 mysql51 mysql4 \ |
| 276 | postgresql94 postgresql93 postgresql92 postgresql90 \ |
| 277 | postgresql84 postgresql83 postgresql82 postgresql80 \ |
| 278 | postgresql7 { |
| 279 | depends_run-append port:postgresql81 |
| 280 | depends_run-delete port:mysql56 \ |
| 281 | port:php56-mysql \ |
| 282 | port:php55-mysql \ |
| 283 | port:php54-mysql \ |
| 284 | port:php53-mysql \ |
| 285 | port:php52-mysql |
| 286 | } |
| 287 | |
| 288 | variant postgresql80 \ |
| 289 | description "use postgres80 as the drupal database" \ |
| 290 | conflicts mysql55 mysql51 mysql4 \ |
| 291 | postgresql94 postgresql93 postgresql92 postgresql91 \ |
| 292 | postgresql84 postgresql83 postgresql82 postgresql81 \ |
| 293 | postgresql7 { |
| 294 | depends_run-append port:postgresql80 |
| 295 | depends_run-delete port:mysql56 \ |
| 296 | port:php56-mysql \ |
| 297 | port:php55-mysql \ |
| 298 | port:php54-mysql \ |
| 299 | port:php53-mysql \ |
| 300 | port:php52-mysql |
| 301 | } |
| 302 | |
| 303 | variant postgresql7 \ |
| 304 | description "use postgresql7 as the drupal database" \ |
| 305 | conflicts mysql55 mysql51 mysql4 \ |
| 306 | postgresql94 postgresql93 postgresql92 postgresql91 postgresql90 \ |
| 307 | postgresql84 postgresql83 postgresql82 postgresql81 postgresql80 { |
| 308 | depends_run-append port:postgresql7 |
| 309 | depends_run-delete port:mysql56 \ |
| 310 | port:php56-mysql \ |
| 311 | port:php55-mysql \ |
| 312 | port:php54-mysql \ |
| 313 | port:php53-mysql \ |
| 314 | port:php52-mysql |