1 | # $Id: Portfile,v 1.00 2005/11/22 10:39:42 jwa Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name midgard-core |
---|
5 | version 1.7.4 |
---|
6 | categories www |
---|
7 | maintainers jyrki.wahlstedt@hut.fi |
---|
8 | description "A content management system" |
---|
9 | long_description "Midgard is a content management system\ |
---|
10 | platform using Apache, PHP and MySQL." |
---|
11 | platforms macosx |
---|
12 | homepage http://www.midgard-project.org/ |
---|
13 | |
---|
14 | master_sites http://www.midgard-project.org/midcom-serveattachmentguid-c4075050b15ee9ba99c511621a912141/ |
---|
15 | |
---|
16 | distname ${name}-${version} |
---|
17 | use_bzip2 yes |
---|
18 | checksums md5 86e667d74494487d46645daa47fe13a2 |
---|
19 | |
---|
20 | depends_build bin:glib-config:glib1 |
---|
21 | depends_lib port:mysql4\ |
---|
22 | port:apache2\ |
---|
23 | port:glib1\ |
---|
24 | port:glib2\ |
---|
25 | lib:libxm2:libxml2\ |
---|
26 | lib:libexpat:expat\ |
---|
27 | lib:libz:zlib |
---|
28 | |
---|
29 | configure.args --with-expat=${prefix} --with-mysql=${prefix} |
---|
30 | |
---|
31 | variant check { |
---|
32 | depends_lib-append port:check |
---|
33 | configure.args-append --with-check=${prefix} |
---|
34 | } |
---|
35 | |
---|
36 | post-install { |
---|
37 | ui_msg "NB! The other parts of the package are:" |
---|
38 | ui_msg "midgard-apache2, midgard-php4 and midgard-data" |
---|
39 | } |
---|