Import php5-php_gtk2-5.2.17.2.0.1 as wip/php-gtk2.

PHP-GTK is a PHP extension that enables you to write client-side cross-platform
GUI applications. This is the first such extension of this kind and one of the
goals behind it was to prove that PHP is a capable general-purpose scripting
language that is suited for more than just Web applications.
This commit is contained in:
Pierre Pronchery 2011-12-08 12:24:10 +00:00 committed by Thomas Klausner
parent add55439b4
commit 18ed59f9d7
4 changed files with 46 additions and 0 deletions

4
php-gtk2/DESCR Normal file
View file

@ -0,0 +1,4 @@
PHP-GTK is a PHP extension that enables you to write client-side cross-platform
GUI applications. This is the first such extension of this kind and one of the
goals behind it was to prove that PHP is a capable general-purpose scripting
language that is suited for more than just Web applications.

35
php-gtk2/Makefile Normal file
View file

@ -0,0 +1,35 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/12/08 12:24:10 khorben Exp $
MODNAME= php_gtk2
PECL_VERSION= 2.0.1
PECL_DISTNAME= php-gtk-${PECL_VERSION}
CATEGORIES+= x11
COMMENT= PHP extension for writing GUI applications with Gtk+
MASTER_SITES= http://gtk.php.net/do_download.php?download_file=
MAINTAINER= khorben@defora.org
HOMEPAGE= http://gtk.php.net/
COMMENT= PHP extension for Gtk+ 2.0
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= awk
USE_TOOLS+= pkg-config
BUILD_DEPENDS+= re2c:../../devel/re2c
CONFIGURE_ARGS+= --without-libglade
#XXX phpize needs to be run with specific arguments
phpize-module:
@cookie=${WRKDIR}/.phpize_module_done; \
if [ ! -f $${cookie} ]; then \
cd ${WRKSRC} && \
./buildconf --with-phpize=${PHPIZE} && \
${TOUCH} ${TOUCH_FLAGS} $${cookie}; \
fi
.include "../../lang/php/ext.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

2
php-gtk2/PLIST Normal file
View file

@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/12/08 12:24:10 khorben Exp $
lib/php/20040412/php_gtk2.so

5
php-gtk2/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2011/12/08 12:24:10 khorben Exp $
SHA1 (php-php_gtk2/php-gtk-2.0.1.tar.gz) = a4f42c715b51554c1322de4beb3054012ec58696
RMD160 (php-php_gtk2/php-gtk-2.0.1.tar.gz) = 2e305f45d95a2c1abbe8cd551c794823dfc3d919
Size (php-php_gtk2/php-gtk-2.0.1.tar.gz) = 1254316 bytes