mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
77 lines
2.5 KiB
Tcl
77 lines
2.5 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup php 1.1
|
|
|
|
name php-gtk
|
|
version 2.0.3-20121108
|
|
git.branch e972b2524af28df69baa7657413a61eec552fcd2
|
|
categories-append x11
|
|
maintainers nomaintainer
|
|
license LGPL-2.1+
|
|
homepage http://gtk.php.net/
|
|
platforms darwin freebsd
|
|
|
|
php.branches 5.3 5.4
|
|
|
|
description PHP-GTK: Gtk+ bindings for PHP 5.
|
|
|
|
long_description PHP-GTK is a Gtk+ bindings for the PHP 5 scripting \
|
|
language, allowing you to build rich, cross-platform \
|
|
desktop applications using PHP.
|
|
|
|
if {${name} ne ${subport}} {
|
|
distname gtk-src-[string range ${git.branch} 0 6]
|
|
use_xz yes
|
|
master_sites http://git.php.net/?p=php/gtk-src.git\;a=snapshot\;h=${git.branch}\;sf=txz\;dummy=
|
|
|
|
checksums rmd160 b12ccdb5ce3f9779885b769a7f43b47f3392d2ec \
|
|
sha256 f7455985446918fe8c55ae5b4432e775466605f1c17e686917449ac81a8ee923
|
|
|
|
depends_build-append path:bin/pkg-config:pkgconfig
|
|
|
|
depends_lib-append path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \
|
|
port:libglade2 \
|
|
port:${php}-cairo
|
|
|
|
php.ize ./buildconf --with-phpize=${php.ize}
|
|
|
|
# ext/gtk+/gen_gtk-1.c: No such file or directory
|
|
use_parallel_build no
|
|
|
|
test.run yes
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 644 -W ${worksrcpath} \
|
|
AUTHORS COPYING.LIB NEWS README README.KNOWN-ISSUES TODO2 \
|
|
${destroot}${docdir}
|
|
}
|
|
|
|
variant extra {
|
|
depends_lib-append port:gtk2-extra
|
|
configure.args-append --with-extra
|
|
}
|
|
|
|
variant html {
|
|
depends_lib-append port:libgtkhtml3
|
|
configure.args-append --with-html
|
|
}
|
|
|
|
variant libsexy {
|
|
depends_lib-append port:libsexy
|
|
configure.args-append --with-libsexy
|
|
}
|
|
|
|
variant sourceview {
|
|
depends_lib-append port:gtksourceview
|
|
configure.args-append --with-sourceview
|
|
}
|
|
|
|
variant spell {
|
|
depends_lib-append port:gtkspell2
|
|
configure.args-append --with-spell
|
|
}
|
|
}
|