# -*- 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 # $Id$ PortSystem 1.0 name php5-midgard2 version 10.05.7 license GPL-2 categories php maintainers jwa description A content management system long_description Midgard is a content management system platform using \ Apache, PHP and MySQL. platforms darwin homepage http://www.midgard-project.org/ master_sites https://github.com/midgardproject/midgard-php5/downloads #use_bzip2 yes checksums rmd160 575b6c916370ea695bcb28972e9c86d3f52ce9e3 \ sha256 7c51606cd21cc3398755a8ea75e55a1bd1910e2de1736a0731a34405935fac0b depends_lib port:midgard2-core \ path:bin/php:php54 pre-configure { system "cd ${worksrcpath} && phpize" } configure.args --sysconfdir=${prefix}/etc/midgard/ \ --with-php-config=${prefix}/bin/php-config destroot.destdir INSTALL_ROOT=${destroot} post-install { ui_msg "======================== IMPORTANT =========================" ui_msg "If this is the first time you're installing Midgard, or you have" ui_msg "recently upgraded PHP, make sure to check your php.ini to verify" ui_msg "that extension_dir at least includes" system "php-config --extension-dir" ui_msg "================================================================" } livecheck.type regex livecheck.url ${master_sites} livecheck.regex ${name}-(\[0-9.\]+)\\.tar\\.\[bg\]z