source: trunk/dports/www/drupal7/Portfile @ 87969

Last change on this file since 87969 was 77781, checked in by and.damore@…, 9 years ago

new port drupal7, closed #27322

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# $Id: Portfile 77781 2011-04-12 14:41:12Z and.damore@macports.org $
2PortSystem          1.0
3name                drupal7
4version             7.0
5categories          www php
6platforms           darwin
7
8maintainers         acm.org:c_dantonio
9description         Drupal Open Source enterprise content management platform
10long_description    Drupal is Open Source social publishing software that \
11    empowers individuals, teams, and communities to easily publish, manage and \
12    organize a wide variety of content on a website. Tens of thousands of \
13    people and organizations have used Drupal to power scores of different web \
14    sites, including community web portals, corporate web sites, social \
15    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     e96c0a5e47c5d7706897384069dfb920 \
22                    sha1    124911c7de07b5acd1f801c4a7093440a0e0e3d3 \
23                    rmd160  fd27d5f4b826fb818d6b35754b2ea6b548445369
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 sqlite conflicts postgresql postgresql83 description "use sqlite instead of mysql5" {
34  depends_lib-append      port:php5-sqlite
35  depends_lib-delete      path:bin/mysql_config5:mysql5
36}
37
38variant postgresql conflicts sqlite postgresql83 description "use postgresql as the drupal database" {
39  depends_lib-append      port:postgresql84
40  depends_lib-delete      path:bin/mysql_config5:mysql5
41}
42
43variant postgresql83 conflicts sqlite postgresql description "use postgresql83 as the drupal database" {
44  depends_lib-append      port:postgresql83
45  depends_lib-delete      path:bin/mysql_config5:mysql5
46}
47
48worksrcdir          drupal-${version}
49use_configure       no
50build               {}
51
52set docroot ${destroot}${prefix}/www/data
53
54destroot {
55  xinstall -d -m 0755 ${docroot}/drupal7
56  eval file copy [glob ${worksrcpath}/*] ${docroot}/drupal7
57  eval file copy ${worksrcpath}/.htaccess ${docroot}/drupal7
58}
59
Note: See TracBrowser for help on using the repository browser.