Ticket #17101: php5-gtk-2.0.1.diff
File php5-gtk-2.0.1.diff, 2.4 KB (added by nox@…, 16 years ago) |
---|
-
Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 … … 3 4 4 5 name php5-gtk 5 version 2.0. 06 version 2.0.1 6 7 categories x11 lang php www 7 8 maintainers anant@kix.in … … 22 23 http://gtk.php.net/distributions/ 23 24 24 25 checksums \ 25 md5 9e21fdc362655f35aa6c198d612495a0 \ 26 sha1 f9172ce64d85479d341c808b44a6127b164cd1a2 26 md5 d57ce885f32749320765e01c079e113b \ 27 sha1 a4f42c715b51554c1322de4beb3054012ec58696 \ 28 rmd160 2e305f45d95a2c1abbe8cd551c794823dfc3d919 27 29 28 30 depends_lib \ 31 port:glib2 \ 29 32 port:gtk2 \ 30 port:php5 33 port:php5 \ 34 port:libglade2 31 35 32 36 configure.args \ 33 --mandir=${prefix}/share/man \ 34 --infodir=${prefix}/share/info \ 35 --with-php-config=${prefix}/bin/php-config \ 36 --without-libglade 37 --disable-glibtest \ 38 --disable-gtktest 37 39 38 40 variant extra { 39 41 depends_lib-append \ … … 49 51 --with-html 50 52 } 51 53 52 variant libglade {53 depends_lib-append \54 port:libglade255 configure.args-delete \56 --without-libglade57 }58 59 54 variant libsexy { 60 55 depends_lib-append \ 61 56 port:libsexy … … 77 72 --with-spell 78 73 } 79 74 75 configure.args --enable-scintilla 76 80 77 pre-configure { 81 cd ${worksrcpath} 82 system "./buildconf --with-phpize=${prefix}/bin/phpize" 78 system "cd ${worksrcpath} && ./buildconf" 83 79 } 84 80 81 use_parallel_build yes 82 83 destroot.destdir INSTALL_ROOT=${destroot} 84 85 85 post-destroot { 86 cd ${worksrcpath}87 xinstall -d ${destroot}${ prefix}/share/doc/${name}88 xinstall -m 644 README ${destroot}${prefix}/share/doc/${name} 89 xinstall -m 644 README.KNOWN-ISSUES ${destroot}${prefix}/share/doc/${name}90 xinstall -m 644 NEWS ${destroot}${prefix}/share/doc/${name}91 xinstall -m 644 AUTHORS ${destroot}${prefix}/share/doc/${name}86 set docdir ${prefix}/share/doc/${distname} 87 xinstall -d ${destroot}${docdir} 88 89 xinstall -m 644 -W ${worksrcpath} \ 90 README README.KNOWN-ISSUES NEWS AUTHORS \ 91 ${destroot}${docdir} 92 92 } 93 93 94 94 post-install { 95 95 ui_msg "\nIf this is your first install, you might want to enable PHP-GTK in the" 96 96 ui_msg "ini file. Append the line: extension=php_gtk2.so to ${prefix}/etc/php.ini\n" 97 97 } 98