# $Id$ PortSystem 1.0 name drupal7 version 7.4 categories www php platforms darwin supported_archs noarch maintainers nomaintainer 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 84704de078e9f5432c9bb5c6ecd841d4 \ sha1 5baafc27b3473dae1056e6053734fab42a1bfc25 \ rmd160 bfb44319df159fd7597b1a043abffb0f27e37a2f depends_lib port:apache2 \ port:php5 \ path:bin/mysql_config5:mysql5 \ port:php5-gd \ port:php5-mbstring 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 }