source: trunk/dports/www/drupal7/Portfile

Last change on this file was 146580, checked in by khindenburg@…, 21 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: 2.4 KB
Line 
1# $Id: Portfile 146580 2016-03-12 19:49:18Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                drupal7
6version             7.4
7categories          www php
8platforms           darwin
9supported_archs     noarch
10
11maintainers         nomaintainer
12description         Drupal Open Source enterprise content management platform
13long_description    Drupal is Open Source social publishing software that \
14    empowers individuals, teams, and communities to easily publish, manage and \
15    organize a wide variety of content on a website. Tens of thousands of \
16    people and organizations have used Drupal to power scores of different web \
17    sites, including community web portals, corporate web sites, social \
18    networking sites, personal web sites or blogs, and much more.
19                   
20homepage            http://drupal.org
21distname            drupal-${version}
22master_sites        http://ftp.drupal.org/files/projects/ \
23                    http://ftp.osuosl.org/pub/drupal/files/projects/
24checksums           md5     84704de078e9f5432c9bb5c6ecd841d4 \
25                    sha1    5baafc27b3473dae1056e6053734fab42a1bfc25 \
26                    rmd160  bfb44319df159fd7597b1a043abffb0f27e37a2f
27depends_lib         port:apache2 \
28                    port:php5 \
29                    path:bin/mysql_config5:mysql5 \
30                    port:php5-gd \
31                    port:php5-mbstring
32
33variant apache1 description "use apache 1.x instead of apache 2.x" {
34  depends_lib-append      port:apache
35  depends_lib-delete      port:apache2
36}
37
38variant sqlite conflicts postgresql postgresql83 description "use sqlite instead of mysql5" {
39  depends_lib-append      port:php5-sqlite
40  depends_lib-delete      path:bin/mysql_config5:mysql5
41}
42
43variant postgresql conflicts sqlite postgresql83 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 postgresql83 conflicts sqlite postgresql description "use postgresql83 as the drupal database" {
49  depends_lib-append      port:postgresql83
50  depends_lib-delete      path:bin/mysql_config5:mysql5
51}
52
53worksrcdir          drupal-${version}
54use_configure       no
55build               {}
56
57set docroot ${destroot}${prefix}/www/data
58
59destroot {
60  xinstall -d -m 0755 ${docroot}/drupal7
61  eval file copy [glob ${worksrcpath}/*] ${docroot}/drupal7
62  eval file copy ${worksrcpath}/.htaccess ${docroot}/drupal7
63}
Note: See TracBrowser for help on using the repository browser.