Changeset 98163


Ignore:
Timestamp:
Sep 26, 2012, 7:59:21 PM (12 years ago)
Author:
jwa@…
Message:

php-midgard2: version bump to 12.09, make this a unified port, remove the unnecessary branch-specific port

Location:
trunk/dports/php/php-midgard2
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/php/php-midgard2/Portfile

    r94914 r98163  
    33
    44PortSystem 1.0
     5PortGroup  php 1.1
    56
    6 name            php5-midgard2
    7 version         10.05.7
     7name            php-midgard2
     8version         12.09.1
    89license         GPL-2
    910
     
    1718
    1819master_sites    https://github.com/midgardproject/midgard-php5/downloads
     20distname    php5-midgard2-${version}
     21
     22php.branches            5.3 5.4
    1923
    2024#use_bzip2      yes
    21 checksums           rmd160  575b6c916370ea695bcb28972e9c86d3f52ce9e3 \
    22                     sha256  7c51606cd21cc3398755a8ea75e55a1bd1910e2de1736a0731a34405935fac0b
     25checksums           rmd160  30180ca78719f01946b63e112fce5768e8373752 \
     26                    sha256  b88962c95a92c1b08bc147b0bacc69987e6b00ca2ea54575933ecbd53bc3491f
    2327
    24 depends_lib     port:midgard2-core \
    25     path:bin/php:php54
     28depends_lib     port:midgard2-core
    2629
    27 pre-configure   {
    28     system "cd ${worksrcpath} && phpize"
    29 }
     30configure.args  --sysconfdir=${prefix}/etc/midgard/
    3031
    31 configure.args  --sysconfdir=${prefix}/etc/midgard/ \
    32     --with-php-config=${prefix}/bin/php-config
     32if {${name} != ${subport}} {
     33    pre-configure       {
     34        system "cd ${worksrcpath} && phpize"
     35    }
    3336
    34 destroot.destdir        INSTALL_ROOT=${destroot}
     37    configure.args-append   --with-php-config=${php.config}
    3538
    36 post-install {
    37     ui_msg "========================   IMPORTANT   ========================="
    38     ui_msg "If this is the first time you're installing Midgard, or you have"
    39     ui_msg "recently upgraded PHP, make sure to check your php.ini to verify"
    40     ui_msg "that extension_dir at least includes"
    41     system "php-config --extension-dir"
    42     ui_msg "================================================================"
     39    destroot.destdir    INSTALL_ROOT=${destroot}
     40
     41    notes "========================   IMPORTANT   =========================\n
     42    If this is the first time you're installing Midgard, or you have\n
     43    recently upgraded PHP, make sure to check your php.ini to verify\n
     44    that extension_dir at least includes\n
     45    ${php.extension_dir}\n
     46    ================================================================"
    4347}
    4448
Note: See TracChangeset for help on using the changeset viewer.