Ticket #7610: Portfile

File Portfile, 1.0 KB (added by jyrki.wahlstedt@…, 19 years ago)

midgard-data Portfile

Line 
1# $Id: Portfile,v 1.00 2005/11/23 10:39:42 jwa Exp $
2
3PortSystem 1.0
4name            midgard-data
5version         1.7.4
6categories      www
7maintainers     jyrki.wahlstedt@hut.fi
8description     "A content management system"
9long_description "Midgard is a content management system\
10                platform using Apache, PHP and MySQL."
11platforms       macosx
12homepage        http://www.midgard-project.org/
13
14master_sites    http://www.midgard-project.org/midcom-serveattachmentguid-297c84069d94b18dac44c47aaac5f59b/
15
16distname        ${name}-${version}
17use_bzip2       yes
18checksums       md5 b4768bb1182c761038da02d47b66465e
19depends_lib     port:midgard-core\
20                port:midgard-apache2\
21                port:midgard-php4\
22                port:dialog\
23                port:ImageMagick\
24                port:mysql4
25
26patchfiles      midcom-template.xml.diff datagard.in.diff
27
28configure.args  --with-apxs=${prefix}/apache2/bin/apxs\
29                --with-apache-user=www\
30                --with-apache-group=www
31
32build   {}     
33
34post-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}