# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name drupal7 version 7.98 revision 0 categories www php license GPL-2 platforms any 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 https://drupal.org distname drupal-${version} master_sites https://ftp.drupal.org/files/projects/ checksums rmd160 40eadf39a2a8842eb7c6dc55d67a596fcc537e5f \ sha256 f3698740ffabd96ce161c8d0fd561dadbaf16f78482aeae89aefd68aa881b9b6 \ size 3387441 depends_lib port:apache2 \ port:php74 \ path:bin/mysql_config5:mysql57 \ port:php74-gd \ port:php74-mbstring variant sqlite conflicts postgresql postgresql83 description "use sqlite instead of mysql5" { depends_lib-append port:php74-sqlite depends_lib-delete path:bin/mysql_config5:mysql57 } variant postgresql conflicts sqlite postgresql83 description "use postgresql as the drupal database" { depends_lib-append port:postgresql84 depends_lib-delete path:bin/mysql_config5:mysql57 } variant postgresql83 conflicts sqlite postgresql description "use postgresql83 as the drupal database" { depends_lib-append port:postgresql83 depends_lib-delete path:bin/mysql_config5:mysql57 } worksrcdir drupal-${version} use_configure no build {} set docroot ${destroot}${prefix}/www/data destroot { xinstall -d -m 0755 ${docroot}/drupal7 file copy {*}[glob ${worksrcpath}/*] ${docroot}/drupal7 file copy ${worksrcpath}/.htaccess ${docroot}/drupal7 } livecheck.type regex livecheck.url https://www.drupal.org/project/drupal livecheck.regex "Drupal core (7.\[0-9.\]+)"