<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2b714ebf6e0c1ac28f10b5a708e2ea6f5816f84b">https://github.com/macports/macports-ports/commit/2b714ebf6e0c1ac28f10b5a708e2ea6f5816f84b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2b714ebf6e0c1ac28f10b5a708e2ea6f5816f84b
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Fri Oct 6 16:09:39 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> drupal8 8.4.0: new port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> add nginx support
</span><span style='display:block; white-space:pre;color:#404040;'> use modern php and database versions
</span>---
www/drupal8/Portfile | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/drupal8/Portfile b/www/drupal8/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..ab5d8b4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/drupal8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,72 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name drupal8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 8.4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories www php
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Drupal Open Source enterprise content management platform
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Drupal is Open Source social publishing software that \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ empowers individuals, teams, and communities to easily publish, manage and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ organize a wide variety of content on a website. Tens of thousands of \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ people and organizations have used Drupal to power scores of different web \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sites, including community web portals, corporate web sites, social \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ networking sites, personal web sites or blogs, and much more.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://drupal.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname drupal-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://ftp.drupal.org/files/projects/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ http://ftp.osuosl.org/pub/drupal/files/projects/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 074795a2f5fc0b599a7dcfb9d1fb03f5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha1 289ad45ca0766edc78b8196b0fca98f54ee10a3f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 ee818599848705fd03e09fff072669549495942e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d6bd8182da6ab07c72557cc5cffe0a44ea2a8f8ab69831c6cd28d051e12e5013
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:apache2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:php71 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/mysql_config:mysql57 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:php71-gd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:php71-mbstring
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant nginx description "use nginx instead of apache 2.x" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:nginx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:php71-fpm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-delete port:apache2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+notes "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+See: https://www.nginx.com/resources/wiki/start/topics/recipes/drupal/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+for a configuration recipe.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant sqlite conflicts postgresql description "use sqlite3 as the drupal database" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:php71-sqlite
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-delete path:bin/mysql_config:mysql57
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant postgresql conflicts sqlite description "use postgresql as the drupal database" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:postgresql96
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-delete path:bin/mysql_config:mysql57
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir drupal-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set docroot ${destroot}${prefix}/www/data
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${docroot}/drupal8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy {*}[glob ${worksrcpath}/*] ${docroot}/drupal8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath}/.htaccess ${docroot}/drupal8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url https://www.drupal.org/project/drupal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex "Drupal core (8.\[0-9.\].\[0-9.\])"
</span></pre><pre style='margin:0'>
</pre>