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

Last change on this file since 90489 was 90489, checked in by jwa@…, 6 years ago

version bump to 10.05.6

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 90489 2012-03-07 06:56:02Z jwa@macports.org $
3
4PortSystem 1.0
5
6name            php5-midgard2
7version         10.05.6
8
9categories      php
10maintainers     jwa
11description     A content management system
12long_description Midgard is a content management system platform using \
13    Apache, PHP and MySQL.
14platforms       darwin
15homepage        http://www.midgard-project.org/
16
17master_sites    http://www.midgard-project.org/midcom-serveattachmentguid-d0199a62678311e1a68a4530d68a4e804e80/
18
19#use_bzip2      yes
20checksums           rmd160  515d752d010b64b69fc3196f8868585279caa4ad \
21                    sha256  a46b69235a805f84b0eeb718399a302daa2007ec12693796892918cc1ca7b1cb
22
23depends_lib     port:midgard2-core \
24    path:bin/php:php5
25
26pre-configure   {
27    system "cd ${worksrcpath} && phpize"
28}
29
30configure.args  --sysconfdir=${prefix}/etc/midgard/ \
31    --with-php-config=${prefix}/bin/php-config
32
33destroot.destdir        INSTALL_ROOT=${destroot}
34
35post-install {
36    ui_msg "========================   IMPORTANT   ========================="
37    ui_msg "If this is the first time you're installing Midgard, or you have"
38    ui_msg "recently upgraded PHP, make sure to check your php.ini to verify"
39    ui_msg "that extension_dir at least includes"
40    system "php-config --extension-dir"
41    ui_msg "================================================================"
42}
43
44livecheck.type  regex
45livecheck.url   ${homepage}download
46livecheck.regex {download/[0-9-]+/">([0-9.]+)}
Note: See TracBrowser for help on using the repository browser.