[94914] trunk/dports/php/php5-midgard2/Portfile

Ryan Schmidt ryandesign at macports.org
Mon Jul 2 19:40:41 PDT 2012


On Jul 2, 2012, at 06:19, jwa at macports.org wrote:

> Revision: 94914
>          https://trac.macports.org/changeset/94914
> Author:   jwa at macports.org
> Date:     2012-07-02 04:19:42 -0700 (Mon, 02 Jul 2012)
> Log Message:
> -----------
> version bump to 10.05.7, change download site, fix livecheck, add license
> 
> Modified Paths:
> --------------
>    trunk/dports/php/php5-midgard2/Portfile
> 
> Modified: trunk/dports/php/php5-midgard2/Portfile
> ===================================================================
> --- trunk/dports/php/php5-midgard2/Portfile	2012-07-02 10:56:55 UTC (rev 94913)
> +++ trunk/dports/php/php5-midgard2/Portfile	2012-07-02 11:19:42 UTC (rev 94914)
> @@ -4,7 +4,8 @@
> PortSystem 1.0
> 
> name		php5-midgard2
> -version		10.05.6
> +version		10.05.7
> +license		GPL-2
> 
> categories	php
> maintainers	jwa
> @@ -14,14 +15,14 @@
> platforms	darwin
> homepage	http://www.midgard-project.org/
> 
> -master_sites	http://www.midgard-project.org/midcom-serveattachmentguid-d0199a62678311e1a68a4530d68a4e804e80/
> +master_sites	https://github.com/midgardproject/midgard-php5/downloads

Consider using the github portgroup.


> #use_bzip2	yes
> -checksums           rmd160  515d752d010b64b69fc3196f8868585279caa4ad \
> -                    sha256  a46b69235a805f84b0eeb718399a302daa2007ec12693796892918cc1ca7b1cb
> +checksums           rmd160  575b6c916370ea695bcb28972e9c86d3f52ce9e3 \
> +                    sha256  7c51606cd21cc3398755a8ea75e55a1bd1910e2de1736a0731a34405935fac0b
> 
> depends_lib	port:midgard2-core \
> -    path:bin/php:php5
> +    path:bin/php:php54

If you're going to depend on php54, then this port name should be php54-midgard2. Ideally you would offer subports for php53 and php54 (and continue to offer one for the old php5, until it is deprecated).


> pre-configure	{
>     system "cd ${worksrcpath} && phpize"

You need to call the correct phpize. php54's phpize is ${prefix}/bin/phpize54, for example.




More information about the macports-dev mailing list