# $Id: Portfile 50478 2009-05-01 14:18:38Z jwa@macports.org $ PortSystem 1.0 name php5-midgard2 version 9.03.0 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-f81d4896349c11deb45bcbc6657b90569056/ #use_bzip2 yes checksums md5 885447a4e9eb24c713cfe0fe4d223f34 \ sha1 4ad83380a4a31c2a4833784a62ac8e03f5747e25 \ rmd160 9c8d64305f061854c812c506cc445d7917763632 depends_lib port:midgard2-core \ port:php5 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.check regex livecheck.url ${homepage}download/9-3 livecheck.regex ${name}-(\[1-9\]+.\[0-9\]+.\[0-9\]+).tar.\[bg\]z