[98163] trunk/dports/php
jwa at macports.org
jwa at macports.org
Wed Sep 26 12:59:21 PDT 2012
Revision: 98163
http://trac.macports.org//changeset/98163
Author: jwa at macports.org
Date: 2012-09-26 12:59:21 -0700 (Wed, 26 Sep 2012)
Log Message:
-----------
php-midgard2: version bump to 12.09, make this a unified port, remove the unnecessary branch-specific port
Modified Paths:
--------------
trunk/dports/php/php-midgard2/Portfile
Added Paths:
-----------
trunk/dports/php/php-midgard2/
Removed Paths:
-------------
trunk/dports/php/php5-midgard2/
Modified: trunk/dports/php/php-midgard2/Portfile
===================================================================
--- trunk/dports/php/php5-midgard2/Portfile 2012-09-25 20:43:40 UTC (rev 98139)
+++ trunk/dports/php/php-midgard2/Portfile 2012-09-26 19:59:21 UTC (rev 98163)
@@ -2,9 +2,10 @@
# $Id$
PortSystem 1.0
+PortGroup php 1.1
-name php5-midgard2
-version 10.05.7
+name php-midgard2
+version 12.09.1
license GPL-2
categories php
@@ -16,30 +17,33 @@
homepage http://www.midgard-project.org/
master_sites https://github.com/midgardproject/midgard-php5/downloads
+distname php5-midgard2-${version}
+php.branches 5.3 5.4
+
#use_bzip2 yes
-checksums rmd160 575b6c916370ea695bcb28972e9c86d3f52ce9e3 \
- sha256 7c51606cd21cc3398755a8ea75e55a1bd1910e2de1736a0731a34405935fac0b
+checksums rmd160 30180ca78719f01946b63e112fce5768e8373752 \
+ sha256 b88962c95a92c1b08bc147b0bacc69987e6b00ca2ea54575933ecbd53bc3491f
-depends_lib port:midgard2-core \
- path:bin/php:php54
+depends_lib port:midgard2-core
-pre-configure {
- system "cd ${worksrcpath} && phpize"
-}
+configure.args --sysconfdir=${prefix}/etc/midgard/
-configure.args --sysconfdir=${prefix}/etc/midgard/ \
- --with-php-config=${prefix}/bin/php-config
+if {${name} != ${subport}} {
+ pre-configure {
+ system "cd ${worksrcpath} && phpize"
+ }
-destroot.destdir INSTALL_ROOT=${destroot}
+ configure.args-append --with-php-config=${php.config}
-post-install {
- ui_msg "======================== IMPORTANT ========================="
- ui_msg "If this is the first time you're installing Midgard, or you have"
- ui_msg "recently upgraded PHP, make sure to check your php.ini to verify"
- ui_msg "that extension_dir at least includes"
- system "php-config --extension-dir"
- ui_msg "================================================================"
+ destroot.destdir INSTALL_ROOT=${destroot}
+
+ notes "======================== IMPORTANT =========================\n
+ If this is the first time you're installing Midgard, or you have\n
+ recently upgraded PHP, make sure to check your php.ini to verify\n
+ that extension_dir at least includes\n
+ ${php.extension_dir}\n
+ ================================================================"
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120926/b16133da/attachment.html>
More information about the macports-changes
mailing list