# $Id: Portfile 50478 2009-05-01 14:18:38Z jwa@macports.org $ PortSystem 1.0 name php5-midgard version 8.09.5 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-8b1b48ee332d11dea2e5071583792a5b2a5b/ #use_bzip2 yes checksums md5 0ed1af1d30fa302c6b14ebca22563e83 \ sha1 c04d70995601e6ecfa87b5044efecd71611a3ead \ rmd160 9f4c616f6660b8354a2ee2baa4a8e6be0f492b06 depends_lib port:midgard-core \ port:php5 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.check regex livecheck.url ${homepage}download livecheck.regex ${name}-(\[1-9\]+.\[0-9\]+.\[0-9\]+).tar.\[bg\]z