1 | # $Id$ |
---|
2 | PortSystem 1.0 |
---|
3 | name drupal7 |
---|
4 | version 7.0 |
---|
5 | categories www php |
---|
6 | platforms darwin |
---|
7 | |
---|
8 | maintainers acm.org:c_dantonio |
---|
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} |
---|
17 | master_sites http://ftp.drupal.org/files/projects/ \ |
---|
18 | http://ftp.osuosl.org/pub/drupal/files/projects/ |
---|
19 | checksums md5 e96c0a5e47c5d7706897384069dfb920 \ |
---|
20 | sha1 124911c7de07b5acd1f801c4a7093440a0e0e3d3 \ |
---|
21 | rmd160 fd27d5f4b826fb818d6b35754b2ea6b548445369 |
---|
22 | depends_lib port:apache2 \ |
---|
23 | port:php5 \ |
---|
24 | path:bin/mysql_config5: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 sqlite conflicts postgresql postgresql83 description "use sqlite instead of mysql5" { |
---|
32 | depends_lib-append port:php5-sqlite |
---|
33 | depends_lib-delete path:bin/mysql_config5:mysql5 |
---|
34 | } |
---|
35 | |
---|
36 | variant postgresql conflicts sqlite postgresql83 description "use postgresql as the drupal database" { |
---|
37 | depends_lib-append port:postgresql84 |
---|
38 | depends_lib-delete path:bin/mysql_config5:mysql5 |
---|
39 | } |
---|
40 | |
---|
41 | variant postgresql83 conflicts sqlite postgresql description "use postgresql83 as the drupal database" { |
---|
42 | depends_lib-append port:postgresql83 |
---|
43 | depends_lib-delete path:bin/mysql_config5:mysql5 |
---|
44 | } |
---|
45 | |
---|
46 | worksrcdir drupal-${version} |
---|
47 | use_configure no |
---|
48 | build {} |
---|
49 | |
---|
50 | set docroot ${destroot}${prefix}/www/data |
---|
51 | |
---|
52 | destroot { |
---|
53 | xinstall -d -m 0755 ${docroot}/drupal7 |
---|
54 | eval file copy [glob ${worksrcpath}/*] ${docroot}/drupal7 |
---|
55 | eval file copy ${worksrcpath}/.htaccess ${docroot}/drupal7 |
---|
56 | } |
---|
57 | |
---|