Changeset 98163
- Timestamp:
- Sep 26, 2012, 7:59:21 PM (12 years ago)
- Location:
- trunk/dports/php/php-midgard2
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/php/php-midgard2/Portfile
r94914 r98163 3 3 4 4 PortSystem 1.0 5 PortGroup php 1.1 5 6 6 name php 5-midgard27 version 1 0.05.77 name php-midgard2 8 version 12.09.1 8 9 license GPL-2 9 10 … … 17 18 18 19 master_sites https://github.com/midgardproject/midgard-php5/downloads 20 distname php5-midgard2-${version} 21 22 php.branches 5.3 5.4 19 23 20 24 #use_bzip2 yes 21 checksums rmd160 575b6c916370ea695bcb28972e9c86d3f52ce9e3\22 sha256 7c51606cd21cc3398755a8ea75e55a1bd1910e2de1736a0731a34405935fac0b25 checksums rmd160 30180ca78719f01946b63e112fce5768e8373752 \ 26 sha256 b88962c95a92c1b08bc147b0bacc69987e6b00ca2ea54575933ecbd53bc3491f 23 27 24 depends_lib port:midgard2-core \ 25 path:bin/php:php54 28 depends_lib port:midgard2-core 26 29 27 pre-configure { 28 system "cd ${worksrcpath} && phpize" 29 } 30 configure.args --sysconfdir=${prefix}/etc/midgard/ 30 31 31 configure.args --sysconfdir=${prefix}/etc/midgard/ \ 32 --with-php-config=${prefix}/bin/php-config 32 if {${name} != ${subport}} { 33 pre-configure { 34 system "cd ${worksrcpath} && phpize" 35 } 33 36 34 destroot.destdir INSTALL_ROOT=${destroot}37 configure.args-append --with-php-config=${php.config} 35 38 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 ================================================================" 43 47 } 44 48
Note: See TracChangeset
for help on using the changeset viewer.