source: trunk/dports/www/midgard-core/Portfile @ 58230

Last change on this file since 58230 was 58230, checked in by ryandesign@…, 11 years ago

rewrite mysql5 dependency so mysql5-devel can satisfy it

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 58230 2009-09-24 16:45:22Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            midgard-core
6version         8.09.5
7categories      www
8maintainers     jwa
9description     A content management system
10long_description Midgard is a content management system platform using \
11    Apache, PHP and MySQL.
12platforms       darwin
13homepage        http://www.midgard-project.org/
14
15master_sites    http://www.midgard-project.org/midcom-serveattachmentguid-a380eb50332d11debe5361285656cf1ecf1e/
16
17#use_bzip2      yes
18checksums           md5     e55a66d3f530faf6c8dd905e4bcde7ff \
19                    sha1    8b2edab52ed224f38f57faa13cee7eac48b37b36 \
20                    rmd160  dc97d3cfb44282ee2e5acf1453dd18f9abbbf9bf
21
22depends_lib     port:expat \
23    port:gettext \
24    port:glib2 \
25    port:dbus \
26    port:dbus-glib \
27    port:libiconv \
28    port:libxml2 \
29    path:bin/mysql_config5:mysql5 \
30    port:openssl \
31    port:zlib
32
33configure.args  --sysconfdir=${prefix}/etc/midgard/ \
34    --with-expat=${prefix} \
35    --with-mysql-config=mysql_config5 \
36    --with-iconv=${prefix}
37
38variant check description {add unit tests} {
39    depends_lib-append port:check
40    configure.args-append --with-check=${prefix}
41}
42
43post-install    {
44    ui_msg "NB! The other parts of the package are:"
45    ui_msg "midgard-apache2, php5-midgard and midgard-data"
46}
47
48livecheck.type  regex
49livecheck.url   ${homepage}download
50livecheck.regex ${name}-(\[1-9\]+.\[0-9\]+.\[0-9\]+).tar.\[bg\]z
Note: See TracBrowser for help on using the repository browser.