# $Id: Portfile 77781 2011-04-12 14:41:12Z and.damore@macports.org $ PortSystem 1.0 name drupal7 version 7.0 categories www php platforms darwin maintainers acm.org:c_dantonio description Drupal Open Source enterprise content management platform long_description Drupal is Open Source social publishing software that \ empowers individuals, teams, and communities to easily publish, manage and \ organize a wide variety of content on a website. Tens of thousands of \ people and organizations have used Drupal to power scores of different web \ sites, including community web portals, corporate web sites, social \ networking sites, personal web sites or blogs, and much more. homepage http://drupal.org distname drupal-${version} master_sites http://ftp.drupal.org/files/projects/ \ http://ftp.osuosl.org/pub/drupal/files/projects/ checksums md5 e96c0a5e47c5d7706897384069dfb920 \ sha1 124911c7de07b5acd1f801c4a7093440a0e0e3d3 \ rmd160 fd27d5f4b826fb818d6b35754b2ea6b548445369 depends_lib port:apache2 \ port:php52 \ path:bin/mysql_config5:mysql5 variant apache1 description "use apache 1.x instead of apache 2.x" { depends_lib-append port:apache depends_lib-delete port:apache2 } variant sqlite conflicts postgresql postgresql83 description "use sqlite instead of mysql5" { depends_lib-append port:php5-sqlite depends_lib-delete path:bin/mysql_config5:mysql5 } variant postgresql conflicts sqlite postgresql83 description "use postgresql as the drupal database" { depends_lib-append port:postgresql84 depends_lib-delete path:bin/mysql_config5:mysql5 } variant postgresql83 conflicts sqlite postgresql description "use postgresql83 as the drupal database" { depends_lib-append port:postgresql83 depends_lib-delete path:bin/mysql_config5:mysql5 } worksrcdir drupal-${version} use_configure no build {} set docroot ${destroot}${prefix}/www/data destroot { xinstall -d -m 0755 ${docroot}/drupal7 eval file copy [glob ${worksrcpath}/*] ${docroot}/drupal7 eval file copy ${worksrcpath}/.htaccess ${docroot}/drupal7 }