1 | # $Id$ |
---|
2 | PortSystem 1.0 |
---|
3 | name drupal5 |
---|
4 | version 5.7 |
---|
5 | categories www php |
---|
6 | platforms darwin |
---|
7 | |
---|
8 | maintainers chuck@acquia.com |
---|
9 | description Drupal Open Source enterprise content management platform |
---|
10 | long_description Drupal is Open Source social publishing software that empowers individuals, teams, and communities \ |
---|
11 | to easily publish, manage and organize a wide variety of content on a website. Tens of thousands of \ |
---|
12 | people and organizations have used Drupal to power scores of different web sites, including community \ |
---|
13 | web portals, corporate web sites, social networking sites, personal web sites or blogs, and much more. |
---|
14 | |
---|
15 | homepage http://drupal.org |
---|
16 | distfiles drupal-${version}.tar.gz |
---|
17 | master_sites http://ftp.drupal.org/files/projects/ \ |
---|
18 | http://ftp.osuosl.org/pub/drupal/files/projects/ |
---|
19 | checksums md5 c7d9911ad1001c790bbdfe6fd4cdfc89 \ |
---|
20 | sha1 9cf916e61d260c885b7542f847d4f7661a14ae00 \ |
---|
21 | rmd160 d3ec089aa74020ed076fbe71896365dd463279c9 |
---|
22 | depends_lib port:apache2 \ |
---|
23 | port:php5 \ |
---|
24 | port:mysql5 |
---|
25 | |
---|
26 | variant apache1 description "use apache 1.x instead of apache 2.x" { |
---|
27 | depends_lib-append port:apache |
---|
28 | depends_lib-delete port:apache2 |
---|
29 | } |
---|
30 | |
---|
31 | variant php4 description "use php4 instead of php5" { |
---|
32 | depends_lib-append port:php4 |
---|
33 | depends_lib-delete port:php5 |
---|
34 | } |
---|
35 | |
---|
36 | variant mysql4 description "use mysql4 instead of mysql5" { |
---|
37 | depends_lib-append port:mysql4 |
---|
38 | depends_lib-delete port:mysql5 |
---|
39 | } |
---|
40 | |
---|
41 | variant postgresql description "use postgresql as the drupal database" { |
---|
42 | depends_lib-append port:postgresql83 |
---|
43 | depends_lib-delete port:mysql5 |
---|
44 | } |
---|
45 | |
---|
46 | variant postgresql80 description "use postgres80 as the drupal database" { |
---|
47 | depends_lib-append port:postgresql80 |
---|
48 | depends_lib-delete port:mysql5 |
---|
49 | } |
---|
50 | |
---|
51 | variant postgresql81 description "use postgressql81 as the drupal database" { |
---|
52 | depends_lib-append port:postgresql81 |
---|
53 | depends_lib-delete port:mysql5 |
---|
54 | } |
---|
55 | |
---|
56 | variant postgresql82 description "use postgresql82 as the drupal database" { |
---|
57 | depends_lib-append port:postgresql82 |
---|
58 | depends_lib-delete port:mysql5 |
---|
59 | } |
---|
60 | |
---|
61 | variant postgresql83 description "use postgresql83 as the drupal database" { |
---|
62 | depends_lib-append port:postgresql83 |
---|
63 | depends_lib-delete port:mysql5 |
---|
64 | } |
---|
65 | |
---|
66 | worksrcdir drupal-${version} |
---|
67 | use_configure no |
---|
68 | build {} |
---|
69 | |
---|
70 | set docroot ${destroot}/${prefix}/www/data |
---|
71 | |
---|
72 | destroot { |
---|
73 | xinstall -d -m 0755 ${docroot}/drupal5 |
---|
74 | eval file copy [glob ${worksrcpath}/*] ${docroot}/drupal5 |
---|
75 | eval file copy ${worksrcpath}/.htaccess ${docroot}/drupal5 |
---|
76 | } |
---|