# $Id$ PortSystem 1.0 name php5-midgard2 version 9.09.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 http://www.midgard-project.org/midcom-serveattachmentguid-4eca5b6409ba11df90755383314adf2ddf2d/ #use_bzip2 yes checksums md5 d0ee3809b1178deeb45bc8a2060f9e33 \ sha1 826414806a1171336d11ea2e0d708c2920453dc7 \ rmd160 0850ce279c9445d9909dbf1906e28b727f659737 depends_lib port:midgard2-core \ path:bin/php: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.type regex livecheck.url ${homepage}download livecheck.regex {download/[0-9-]+/">([0-9.]+)}