1 | # $Id: Portfile,v 1.00 2005/11/23 10:39:42 jwa Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name midgard-data |
---|
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 darwin |
---|
12 | homepage http://www.midgard-project.org/ |
---|
13 | |
---|
14 | master_sites http://www.midgard-project.org/midcom-serveattachmentguid-297c84069d94b18dac44c47aaac5f59b/ |
---|
15 | |
---|
16 | use_bzip2 yes |
---|
17 | checksums sha1 a147d36178b047b05073b0dc902848e6170e70f9 |
---|
18 | depends_lib port:midgard-core\ |
---|
19 | port:midgard-apache2\ |
---|
20 | port:midgard-php4\ |
---|
21 | port:dialog\ |
---|
22 | port:ImageMagick |
---|
23 | |
---|
24 | patchfiles midcom-template.xml.diff datagard.in.diff |
---|
25 | |
---|
26 | configure.args --sysconfdir=${prefix}/etc/midgard/ \ |
---|
27 | --with-mysql-config=${prefix}/bin/mysql_config5 \ |
---|
28 | --with-apxs=${prefix}/apache2/bin/apxs \ |
---|
29 | --with-apache-user=www \ |
---|
30 | --with-apache-group=www |
---|
31 | |
---|
32 | build {} |
---|
33 | |
---|
34 | post-destroot { |
---|
35 | reinplace "s/zcat/gzcat/" ${destroot}${prefix}/share/midgard/datagard/lib.postinst |
---|
36 | reinplace "s;/usr/bin/pear;${prefix}/bin/pear4;" ${destroot}${prefix}/share/midgard/datagard/datagard.conf |
---|
37 | } |
---|
38 | |
---|
39 | platform darwin 8 { |
---|
40 | configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 |
---|
41 | } |
---|