source: trunk/dports/php/php5-midgard2/Portfile @ 53088

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

Set svn:keywords to Id per current policy

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 53088 2009-06-29 05:16:32Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            php5-midgard2
6version         9.03.0
7categories      php
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-f81d4896349c11deb45bcbc6657b90569056/
16
17#use_bzip2      yes
18checksums           md5     885447a4e9eb24c713cfe0fe4d223f34 \
19                    sha1    4ad83380a4a31c2a4833784a62ac8e03f5747e25 \
20                    rmd160  9c8d64305f061854c812c506cc445d7917763632
21
22depends_lib     port:midgard2-core \
23    port:php5
24
25pre-configure   {
26    system "cd ${worksrcpath} && phpize"
27}
28
29configure.args  --sysconfdir=${prefix}/etc/midgard/ \
30    --with-php-config=${prefix}/bin/php-config
31
32destroot.destdir        INSTALL_ROOT=${destroot}
33
34post-install {
35    ui_msg "========================   IMPORTANT   ========================="
36    ui_msg "If this is the first time you're installing Midgard, or you have"
37    ui_msg "recently upgraded PHP, make sure to check your php.ini to verify"
38    ui_msg "that extension_dir at least includes"
39    system "php-config --extension-dir"
40    ui_msg "================================================================"
41}
42
43livecheck.check regex
44livecheck.url   ${homepage}download/9-3
45livecheck.regex ${name}-(\[1-9\]+.\[0-9\]+.\[0-9\]+).tar.\[bg\]z
Note: See TracBrowser for help on using the repository browser.