source: trunk/dports/www/drupal5/Portfile @ 58230

Last change on this file since 58230 was 58230, checked in by ryandesign@…, 11 years ago

rewrite mysql5 dependency so mysql5-devel can satisfy it

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 KB
RevLine 
[38437]1# $Id: Portfile 58230 2009-09-24 16:45:22Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                drupal5
[57560]6version             5.19
[38437]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/
[57560]21checksums           md5     d5e3dbcfd3e7f7ef431dada57a6c846e \
22                    sha1    e14fe2c2e7f7b39be452ce461af3a1a869ca01a7 \
23                    rmd160  3043adb3a4529790ddc4cfde16b9327c57af6d38
[38437]24depends_lib         port:apache2 \
[58229]25                    path:bin/php:php5 \
[58230]26                    path:bin/mysql_config5:mysql5
[38437]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
[58229]35  depends_lib-delete      path:bin/php:php5
[38437]36}
37
38variant mysql4 description "use mysql4 instead of mysql5" {
39  depends_lib-append      port:mysql4
[58230]40  depends_lib-delete      path:bin/mysql_config5:mysql5
[38437]41}
42
[57560]43variant postgresql conflicts mysql4 requires postgresql84 description "use postgresql as the drupal database" {
[38437]44}
45
[57560]46variant postgresql80 conflicts mysql4 description "use postgres80 as the drupal database" {
[38437]47  depends_lib-append      port:postgresql80
[58230]48  depends_lib-delete      path:bin/mysql_config5:mysql5
[38437]49}
50
[57560]51variant postgresql81 conflicts mysql4 description "use postgressql81 as the drupal database" {
[38437]52  depends_lib-append      port:postgresql81
[58230]53  depends_lib-delete      path:bin/mysql_config5:mysql5
[38437]54}
55
[57560]56variant postgresql82 conflicts mysql4 description "use postgresql82 as the drupal database" {
[38437]57  depends_lib-append      port:postgresql82
[58230]58  depends_lib-delete      path:bin/mysql_config5:mysql5
[38437]59}
60
[57560]61variant postgresql83 conflicts mysql4 description "use postgresql83 as the drupal database" {
[38437]62  depends_lib-append      port:postgresql83
[58230]63  depends_lib-delete      path:bin/mysql_config5:mysql5
[38437]64}
65
[57560]66variant postgresql84 conflicts mysql4 description "use postgresql84 as the drupal database" {
67  depends_lib-append      port:postgresql84
[58230]68  depends_lib-delete      path:bin/mysql_config5:mysql5
[57560]69}
70
[38437]71use_configure       no
72build               {}
73
74set docroot ${destroot}/${prefix}/www/data
75
76destroot {
77  xinstall -d -m 0755 ${docroot}/drupal5
78  eval file copy [glob ${worksrcpath}/*] ${docroot}/drupal5
79  eval file copy ${worksrcpath}/.htaccess ${docroot}/drupal5
80}
Note: See TracBrowser for help on using the repository browser.