# -*- 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 PortGroup deprecated 1.0 # EOL 2025-01-05 deprecated.eol_version yes name drupal7 version 7.103 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 9680f6d88aede0f1f8b5a6d7317959ef50b9e7d8 \ sha256 3d8a0ceed273b078722db5d8397e3ad71125d9d438f98f51597dc4626ace49f5 \ size 3410345 depends_lib port:apache2 \ port:php74 \ path:bin/mysql_config5:mysql57 \ port:php74-gd \ port:php74-mbstring variant sqlite conflicts postgresql description "use sqlite instead of mysql5" { depends_lib-append port:php74-sqlite depends_lib-delete path:bin/mysql_config5:mysql57 } variant postgresql conflicts sqlite description "use postgresql as the drupal database" { depends_lib-append port:postgresql16 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.\]+)"