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

Last change on this file since 87969 was 82825, checked in by jmr@…, 8 years ago

midgard-core: add pkgconfig dep

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