# $Id$ PortSystem 1.0 name midgard-core version 1.8.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-16c5109ca89611dc874e3795285bed59ed59/ use_bzip2 yes checksums md5 94be6d2d7f304bd99d514d2351feba68 \ sha1 f437f98300b16ea895f43f82b0da2b60cd1adb94 \ rmd160 e8a7b1e6c00e4456bbce2738061ea5e417ca305d depends_lib port:expat \ port:gettext \ port:glib2 \ port:libiconv \ port:libxml2 \ port:mysql5 \ port:openssl \ port:zlib configure.args --sysconfdir=${prefix}/etc/midgard/ \ --with-expat=${prefix} \ --with-mysql-config=mysql_config5 \ --with-iconv=${prefix} post-destroot { reinplace "s;${workpath}/mysql5/lib;${prefix}/lib/mysql5;" ${destroot}${prefix}/bin/midgard-config reinplace "s;${workpath}/mysql5/include;${prefix}/include/mysql5;" ${destroot}${prefix}/bin/midgard-config } variant check { depends_lib-append port:check configure.args-append --with-check=${prefix} } post-install { ui_msg "NB! The other parts of the package are:" ui_msg "midgard-apache2, midgard-php4 and midgard-data" } platform darwin 8 { configure.compiler gcc-4.0 } livecheck.check regex livecheck.url ${homepage}download livecheck.regex ${name}-(1.\[0-9\]+.\[0-9\]+).tar.bz2