[98182] trunk/dports/php/php-midgard2/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Oct 2 19:28:16 PDT 2012


On Sep 27, 2012, at 14:22, jwa at macports.org wrote:

> Revision: 98182
>          http://trac.macports.org//changeset/98182
> Author:   jwa at macports.org
> Date:     2012-09-27 12:22:00 -0700 (Thu, 27 Sep 2012)
> Log Message:
> -----------
> php-midgard2: simplify Portfile according to Ryan, thanks
> 
> Modified Paths:
> --------------
>    trunk/dports/php/php-midgard2/Portfile
> 
> Modified: trunk/dports/php/php-midgard2/Portfile
> ===================================================================
> --- trunk/dports/php/php-midgard2/Portfile	2012-09-27 19:18:28 UTC (rev 98181)
> +++ trunk/dports/php/php-midgard2/Portfile	2012-09-27 19:22:00 UTC (rev 98182)
> @@ -25,25 +25,12 @@
> checksums           rmd160  30180ca78719f01946b63e112fce5768e8373752 \
>                     sha256  b88962c95a92c1b08bc147b0bacc69987e6b00ca2ea54575933ecbd53bc3491f
> 
> -depends_lib	port:midgard2-core
> +depends_lib-append  port:midgard2-core
> 
> -configure.args	--sysconfdir=${prefix}/etc/midgard/
> +configure.args-append   --sysconfdir=${prefix}/etc/midgard/
> 
> if {${name} != ${subport}} {
> -    pre-configure	{
> -        system "cd ${worksrcpath} && phpize"
> -    }
> -
> -    configure.args-append   --with-php-config=${php.config}
> -
>     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 the directory shown by command\n
> -    'php-config${php.suffix} --extension-dir'
> -    ================================================================"
> }

In fact the php portgroup also sets "destroot.destdir INSTALL_ROOT=${destroot}" so you can remove that from the port as well.



More information about the macports-dev mailing list