# $Id: Portfile 69201 2010-06-28 16:59:49Z jwa@macports.org $ PortSystem 1.0 name php5-midgard version 8.09.9 categories www 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 http://www.midgard-project.org/midcom-serveattachmentguid-7d7e85f87dd111dfa726512200ca98829882/ #use_bzip2 yes checksums md5 9b250e198c52acbf05efd43728099b64 \ sha1 490bdf2205feca12d47d10570f053f0296753a37 \ rmd160 303897c74a550fa954e913e2648af60a54cdb720 depends_lib port:midgard-core \ port:php52 pre-configure { system "cd ${worksrcpath} && phpize" } configure.args --sysconfdir=${prefix}/etc/midgard/ \ --with-apxs=${prefix}/apache2/bin/apxs \ --with-apr-config=${prefix}/bin/apr-1-config \ --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 ${homepage}download livecheck.regex ${name}-(\[1-9\]+.\[0-9\]+.\[0-9\]+).tar.\[bg\]z