source: trunk/dports/php/php-midgard2/Portfile

Last change on this file was 99320, checked in by ryandesign@…, 5 years ago

php-midgard2: add pkgconfig dependency; add dependencies and configure args only in subports

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 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 99320 2012-11-01 03:14:40Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup  php 1.1
6
7name            php-midgard2
8version         12.09.1
9license         GPL-2
10
11categories      php
12maintainers     jwa
13description     A content management system
14long_description Midgard is a content management system platform using \
15    Apache, PHP and MySQL.
16platforms       darwin
17homepage        http://www.midgard-project.org/
18
19master_sites    https://github.com/midgardproject/midgard-php5/downloads
20distname    php5-midgard2-${version}
21
22php.branches            5.3 5.4
23
24#use_bzip2      yes
25checksums           rmd160  30180ca78719f01946b63e112fce5768e8373752 \
26                    sha256  b88962c95a92c1b08bc147b0bacc69987e6b00ca2ea54575933ecbd53bc3491f
27
28if {${name} != ${subport}} {
29    depends_build-append    port:pkgconfig
30
31    depends_lib-append      port:midgard2-core
32
33    configure.args-append   --sysconfdir=${prefix}/etc/midgard/
34}
35
36livecheck.type  regex
37livecheck.url   ${master_sites}
38livecheck.regex php5-midgard2-(\[0-9.\]+)\\.tar\\.\[bg\]z
Note: See TracBrowser for help on using the repository browser.