source: trunk/dports/www/drupal5/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.4 KB
Line 
1# $Id: Portfile 146580 2016-03-12 19:49:18Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                drupal5
6version             5.23
7categories          www php
8platforms           darwin
9maintainers         nomaintainer
10
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     562f3dde93657130d14405b99ac6a672 \
22                    sha1    9b70b5822a34d6ec9b97214675b1443c265ef481 \
23                    rmd160  3ef5e809d522efc7c91c2cfae564c3e6af3525b4
24depends_lib         port:apache2 \
25                    port:php52 \
26                    path:bin/mysql_config5: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:php52
36}
37
38variant mysql4 conflicts postgresql postgresql80 postgresql81 postgresql82 postgresql83 postgresql84 description "use mysql4 instead of mysql5" {
39  depends_lib-append      port:mysql4
40  depends_lib-delete      path:bin/mysql_config5:mysql5
41}
42
43variant postgresql conflicts mysql4 description "use postgresql as the drupal database" {
44  depends_lib-append      port:postgresql84
45  depends_lib-delete      path:bin/mysql_config5:mysql5
46}
47
48variant postgresql80 conflicts mysql4 postgresql81 postgresql82 postgresql83 postgresql84 description "use postgres80 as the drupal database" {
49  depends_lib-append      port:postgresql80
50  depends_lib-delete      path:bin/mysql_config5:mysql5
51}
52
53variant postgresql81 conflicts mysql4 postgresql80 postgresql82 postgresql83 postgresql84 description "use postgressql81 as the drupal database" {
54  depends_lib-append      port:postgresql81
55  depends_lib-delete      path:bin/mysql_config5:mysql5
56}
57
58variant postgresql82 conflicts mysql4 postgresql80 postgresql81 postgresql83 postgresql84  description "use postgresql82 as the drupal database" {
59  depends_lib-append      port:postgresql82
60  depends_lib-delete      path:bin/mysql_config5:mysql5
61}
62
63variant postgresql83 conflicts mysql4 postgresql80 postgresql81 postgresql82 postgresql84 description "use postgresql83 as the drupal database" {
64  depends_lib-append      port:postgresql83
65  depends_lib-delete      path:bin/mysql_config5:mysql5
66}
67
68variant postgresql84 conflicts mysql4 postgresql80 postgresql81 postgresql82 postgresql83 description "use postgresql84 as the drupal database" {
69  depends_lib-append      port:postgresql84
70  depends_lib-delete      path:bin/mysql_config5:mysql5
71}
72
73use_configure       no
74build               {}
75
76set docroot ${destroot}${prefix}/www/data
77
78destroot {
79  xinstall -d -m 0755 ${docroot}/drupal5
80  eval file copy [glob ${worksrcpath}/*] ${docroot}/drupal5
81  eval file copy ${worksrcpath}/.htaccess ${docroot}/drupal5
82}
Note: See TracBrowser for help on using the repository browser.