source: trunk/dports/www/drupal6/Portfile

Last change on this file was 146580, checked in by khindenburg@…, 19 months ago

drupal5, drupal6, drupal7, drush: set no maintainer #49158

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.9 KB
Line 
1# $Id: Portfile 146580 2016-03-12 19:49:18Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                drupal6
6version             6.22
7categories          www php
8platforms           darwin
9supported_archs     noarch
10maintainers         nomaintainer
11
12description         Drupal Open Source enterprise content management platform
13long_description    Drupal is Open Source social publishing software that empowers individuals, teams, and communities  \
14                    to easily publish, manage and organize a wide variety of content on a website. Tens of thousands of \
15                    people and organizations have used Drupal to power scores of different web sites, including community \
16                    web portals, corporate web sites, social networking sites, personal web sites or blogs, and much more.
17                   
18homepage            http://drupal.org/
19distname            drupal-${version}
20master_sites        http://ftp.drupal.org/files/projects/ \
21                    http://ftp.osuosl.org/pub/drupal/files/projects/
22checksums           md5    447490f3bc155fd1d5c2d47280c999a5  \
23                    sha1   a67acdb606aabbd9da6ddd2c016d43bb9ec17431  \
24                    rmd160 42cb64a32ca457779e498ef8edb952e04f8b2c86
25depends_lib         port:apache2 \
26                    port:php5 \
27                    port:php5-gd \
28                    port:php5-mbstring \
29                    path:bin/mysql_config5:mysql5
30
31variant 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
36variant 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
43variant 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
50variant 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
55variant 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
60variant 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
65variant 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
70variant 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
73}
74
75variant postgresql83 conflicts mysql4 postgresql80 postgresql81 postgresql82 postgresql84 description "use postgresql83 as the drupal database" {
76  depends_lib-append      port:postgresql83
77  depends_lib-delete      path:bin/mysql_config5:mysql5
78}
79
80variant postgresql84 conflicts mysql4 postgresql80 postgresql81 postgresql82 postgresql83 description "use postgresql84 as the drupal database" {
81  depends_lib-append      port:postgresql84
82  depends_lib-delete      path:bin/mysql_config5:mysql5
83}
84
85use_configure       no
86build               {}
87
88set docroot ${destroot}${prefix}/www/data
89
90destroot {
91  xinstall -d -m 0755 ${docroot}/drupal6
92  eval file copy [glob ${worksrcpath}/*] ${docroot}/drupal6
93  eval file copy ${worksrcpath}/.htaccess ${docroot}/drupal6
94}
Note: See TracBrowser for help on using the repository browser.