[41942] trunk/dports/x11/php5-gtk/Portfile
nox at macports.org
nox at macports.org
Wed Nov 12 03:35:39 PST 2008
Revision: 41942
http://trac.macports.org/changeset/41942
Author: nox at macports.org
Date: 2008-11-12 03:35:38 -0800 (Wed, 12 Nov 2008)
Log Message:
-----------
php5-gtk (closes #17101):
* Updated to 2.0.1.
* Removed libglade variant which is now the default.
* Enabled scintilla.
* Enabled parallel build.
* Fixed livecheck.
Modified Paths:
--------------
trunk/dports/x11/php5-gtk/Portfile
Modified: trunk/dports/x11/php5-gtk/Portfile
===================================================================
--- trunk/dports/x11/php5-gtk/Portfile 2008-11-12 11:14:47 UTC (rev 41941)
+++ trunk/dports/x11/php5-gtk/Portfile 2008-11-12 11:35:38 UTC (rev 41942)
@@ -1,3 +1,4 @@
+# -*- 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
# $Id$
PortSystem 1.0
@@ -3,5 +4,5 @@
name php5-gtk
-version 2.0.0
+version 2.0.1
categories x11 lang php www
maintainers anant at kix.in
@@ -22,18 +23,19 @@
http://gtk.php.net/distributions/
checksums \
- md5 9e21fdc362655f35aa6c198d612495a0 \
- sha1 f9172ce64d85479d341c808b44a6127b164cd1a2
+ md5 d57ce885f32749320765e01c079e113b \
+ sha1 a4f42c715b51554c1322de4beb3054012ec58696 \
+ rmd160 2e305f45d95a2c1abbe8cd551c794823dfc3d919
depends_lib \
+ port:glib2 \
port:gtk2 \
- port:php5
+ port:php5 \
+ port:libglade2
configure.args \
- --mandir=${prefix}/share/man \
- --infodir=${prefix}/share/info \
- --with-php-config=${prefix}/bin/php-config \
- --without-libglade
+ --disable-glibtest \
+ --disable-gtktest
variant extra {
depends_lib-append \
@@ -49,13 +51,6 @@
--with-html
}
-variant libglade {
- depends_lib-append \
- port:libglade2
- configure.args-delete \
- --without-libglade
-}
-
variant libsexy {
depends_lib-append \
port:libsexy
@@ -77,18 +72,23 @@
--with-spell
}
+configure.args --enable-scintilla
+
pre-configure {
- cd ${worksrcpath}
- system "./buildconf --with-phpize=${prefix}/bin/phpize"
+ system "cd ${worksrcpath} && ./buildconf"
}
+use_parallel_build yes
+
+destroot.destdir INSTALL_ROOT=${destroot}
+
post-destroot {
- cd ${worksrcpath}
- xinstall -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 README ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 README.KNOWN-ISSUES ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 NEWS ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 AUTHORS ${destroot}${prefix}/share/doc/${name}
+ set docdir ${prefix}/share/doc/${distname}
+ xinstall -d ${destroot}${docdir}
+
+ xinstall -m 644 -W ${worksrcpath} \
+ README README.KNOWN-ISSUES NEWS AUTHORS \
+ ${destroot}${docdir}
}
post-install {
@@ -96,3 +96,4 @@
ui_msg "ini file. Append the line: extension=php_gtk2.so to ${prefix}/etc/php.ini\n"
}
+livecheck.name php-gtk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081112/f070a4c1/attachment.html>
More information about the macports-changes
mailing list