source: trunk/dports/www/drupal6/Portfile @ 38437

Last change on this file since 38437 was 38437, checked in by jmr@…, 12 years ago

New ports: drupal5 and drupal6 (#15192)

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