source: trunk/dports/x11/php5-gtk/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
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
2# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
3
4PortSystem          1.0
5
6name                php5-gtk
7version             2.0.1
8categories          x11 lang php www
9maintainers         kix.in:anant
10homepage            http://gtk.php.net/
11distname            php-gtk-${version}
12platforms           darwin freebsd
13
14description \
15        PHP-GTK: Gtk+ bindings for PHP 5.
16
17long_description \
18        PHP-GTK is a Gtk+ bindings for the PHP 5 scripting \
19        language, allowing you to build rich, cross-platform \
20        desktop applications using PHP.
21
22master_sites \
23        http://gtk.php.net/distributions/ 
24
25checksums \
26        md5 d57ce885f32749320765e01c079e113b \
27    sha1 a4f42c715b51554c1322de4beb3054012ec58696 \
28    rmd160 2e305f45d95a2c1abbe8cd551c794823dfc3d919
29
30depends_lib \
31        port:gtk2 \
32        path:bin/php:php5 \
33        port:libglade2
34
35configure.args \
36        --disable-glibtest \
37        --disable-gtktest
38
39variant extra {
40        depends_lib-append \
41                port:gtk2-extra
42        configure.args-append \
43                --with-extra
44}
45
46variant html {
47        depends_lib-append \
48                port:libgtkhtml3
49        configure.args-append \
50                --with-html
51}
52
53variant libsexy {
54        depends_lib-append \
55                port:libsexy
56        configure.args-append \
57                --with-libsexy
58}
59
60variant sourceview {
61        depends_lib-append \
62                port:gtksourceview
63        configure.args-append \
64                --with-sourceview
65}
66
67variant spell {
68        depends_lib-append \
69                port:gtkspell2
70        configure.args-append \
71                --with-spell
72}
73
74configure.args  --enable-scintilla
75
76pre-configure {
77        system "cd ${worksrcpath} && ./buildconf"
78}
79
80use_parallel_build  yes
81
82destroot.destdir    INSTALL_ROOT=${destroot}
83
84post-destroot {
85        set docdir ${prefix}/share/doc/${distname}
86        xinstall -d ${destroot}${docdir}
87
88        xinstall -m 644 -W ${worksrcpath} \
89                README README.KNOWN-ISSUES NEWS AUTHORS \
90                ${destroot}${docdir}
91}
92
93post-install {
94        ui_msg "\nIf this is your first install, you might want to enable PHP-GTK in the"
95        ui_msg "ini file. Append the line: extension=php_gtk2.so to ${prefix}/etc/php.ini\n"
96}
97
98livecheck.name  php-gtk
Note: See TracBrowser for help on using the repository browser.