summaryrefslogtreecommitdiff
path: root/x11-toolkits/php-gtk2
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/php-gtk2')
-rw-r--r--x11-toolkits/php-gtk2/Makefile106
-rw-r--r--x11-toolkits/php-gtk2/distinfo3
-rw-r--r--x11-toolkits/php-gtk2/files/patch-ext_gtkhtml_config.m411
-rw-r--r--x11-toolkits/php-gtk2/files/patch-ext_gtkhtml_gtkhtml.defs19
-rw-r--r--x11-toolkits/php-gtk2/files/patch-ext_gtkhtml_gtkhtml.overrides12
-rw-r--r--x11-toolkits/php-gtk2/files/patch-ext_scintilla-config.m416
-rw-r--r--x11-toolkits/php-gtk2/pkg-descr10
-rw-r--r--x11-toolkits/php-gtk2/pkg-plist15
8 files changed, 0 insertions, 192 deletions
diff --git a/x11-toolkits/php-gtk2/Makefile b/x11-toolkits/php-gtk2/Makefile
deleted file mode 100644
index 95b483e69bab..000000000000
--- a/x11-toolkits/php-gtk2/Makefile
+++ /dev/null
@@ -1,106 +0,0 @@
-# ports collection makefile for: php-gtk
-# Date created: 03 October 2002
-# Whom: Alex Kiesel <kiesel@schlund.de>
-#
-# $FreeBSD$
-#
-
-PORTNAME= php-gtk
-PORTVERSION= 1.0.2
-PORTREVISION= 7
-CATEGORIES= x11-toolkits
-MASTER_SITES= http://gtk.php.net/distributions/ \
- http://document-root.de/mirror/php-gtk/
-
-MAINTAINER= zaa@zaa.pp.ru
-COMMENT= An extension to use gtk in PHP-applications
-
-USE_AUTOTOOLS= automake:19:env autoconf:262 libtool:15:env
-GNU_CONFIGURE= yes
-USE_PHP= pcre
-USE_PHP_BUILD= yes
-WANT_PHP_CLI= yes
-IGNORE_WITH_PHP= 5
-USE_GMAKE= yes
-USE_PERL5_BUILD=yes
-USE_GNOME= gtk12
-USE_LDCONFIG= yes
-WRKSRC=${WRKDIR}/php_gtk-${PORTVERSION}
-
-OPTIONS= LIBGLADE "GladeXML support in php-gtk" on \
- SCINTILLA "Scintilla support" on \
- GDK_PIXBUF "Enable pixbuf support" on \
- GTKHTML "Enable Gtkhtml support" on
-
-.include <bsd.port.pre.mk>
-
-# Fix environment for self contained extensions
-ENVSCE= -DHAVE_PHP_GTK=1 -DCOMPILE_DL_PHP_GTK=1 \
- -DHAVE_PIEMENU=1 \
- -DHAVE_SCROLLPANE=1 \
- -DHAVE_SPANED=1 \
- -DHAVE_SQPANE=1 \
- -DHAVE_COMBOBUTTON=1
-
-.if !defined(WITHOUT_LIBGLADE)
-USE_GNOME+= libglade
-ENVSCE+= -DHAVE_LIBGLADE
-.else
-CONFIGURE_ARGS+= --disable-libglade
-.endif
-
-.if !defined(WITHOUT_SCINTILLA)
-BUILD_DEPENDS+= ${LOCALBASE}/include/scintilla/gtkscintilla.h:${PORTSDIR}/x11-toolkits/gtkscintilla
-LIB_DEPENDS+= gtkscintilla.0:${PORTSDIR}/x11-toolkits/gtkscintilla
-ENVSCE+= -DHAVE_SCINTILLA=1 # -DPHP_GTK_COMPILE_DL_SCINTILLA=1
-CONFIGURE_ARGS+= --enable-scintilla
-.endif
-
-.if !defined(WITHOUT_GDK_PIXBUF)
-USE_GNOME+= gdkpixbuf
-CONFIGURE_ARGS+= --enable-gdkpixbuf
-ENVSCE+= -DHAVE_GDKPIXBUF=1 -DPHP_GTK_COMPILE_DL_GDKPIXBUF=1
-PLIST_SUB+= GDKPIXBUF=""
-.else
-PLIST_SUB+= GDKPIXBUF="@comment "
-.endif
-
-.if !defined(WITHOUT_GTKHTML)
-USE_GNOME+= gtkhtml
-CONFIGURE_ARGS+= --enable-gtkhtml
-ENVSCE+= -DHAVE_HTML=1 -I${LOCALBASE}/include/gal-1.0 # -DPHP_GTK_COMPILE_DL_GTKHTML=1 -DGTKHTML_HAVE_GCONF=1 -I${LOCALBASE}/include/gal-1.0
-PLIST_SUB+= GTKHTML=""
-.else
-PLIST_SUB+= GTKHTML="@comment "
-.endif
-
-PLIST_SUB+= PHPEXTDIR="${PHP_EXT_DIR}"
-
-CONFIGURE_ENV= CPPFLAGS="${ENVSCE}"
-
-REINPLACE_ARGS= -i ""
-
-PIC2FIX= acinclude.m4 aclocal.m4 configure
-
-EXAMPLES= combobutton.php fileselection.php gtk.php hello.php list.php \
- piemenu.php scribble.php scrollpane.php spaned.php sqpane.php \
- testgtkrc testgtkrc2 window.xpm
-
-pre-configure:
- @${ECHO_MSG} "===> Building configuration files for ${PKGNAME}"
- @(cd ${WRKSRC} && ${SETENV} ${SCRIPTS_ENV} PHP_AUTOCONF=${AUTOCONF} PHP_AUTOHEADER=${AUTOHEADER} ./buildconf)
-.for FILE in ${PIC2FIX}
- @${REINPLACE_CMD} -e "s|-prefer-pic|${CFLAGS}|g" ${WRKSRC}/${FILE}
-.endfor
- @${REINPLACE_CMD} -e "s|/bin/sh|/bin/sh -x|" ${WRKSRC}/configure
-
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${EXAMPLESDIR}
-.for FILE in ${EXAMPLES}
- @${INSTALL_DATA} ${WRKSRC}/test/${FILE} ${EXAMPLESDIR}
-.endfor
- @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/x11-toolkits/php-gtk2/distinfo b/x11-toolkits/php-gtk2/distinfo
deleted file mode 100644
index 25070860a1a8..000000000000
--- a/x11-toolkits/php-gtk2/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (php-gtk-1.0.2.tar.gz) = b11859c0778e40e53a14919a589db464
-SHA256 (php-gtk-1.0.2.tar.gz) = 50fd984534b7ba0f74d80f4d42f0ca0ac36e5d0e2eddf29ddc96c8aaae4aa607
-SIZE (php-gtk-1.0.2.tar.gz) = 304415
diff --git a/x11-toolkits/php-gtk2/files/patch-ext_gtkhtml_config.m4 b/x11-toolkits/php-gtk2/files/patch-ext_gtkhtml_config.m4
deleted file mode 100644
index d9e8d9c89f91..000000000000
--- a/x11-toolkits/php-gtk2/files/patch-ext_gtkhtml_config.m4
+++ /dev/null
@@ -1,11 +0,0 @@
---- ext/gtkhtml/config.m4.orig Thu Apr 11 04:19:46 2002
-+++ ext/gtkhtml/config.m4 Sat Dec 7 21:16:19 2002
-@@ -21,7 +21,7 @@
- AC_MSG_ERROR(unable to locate gnome-config)
- else
- HTML_CFLAGS=`$GNOME_CONFIG --cflags $module_args`
-- if test "x$?" == "x1"; then
-+ if test "x$?" = "x1"; then
- AC_MSG_ERROR(gnome-config doesn't seem to have support for gtkhtml)
- fi
- HTML_LIBS=`$GNOME_CONFIG --libs $module_args`
diff --git a/x11-toolkits/php-gtk2/files/patch-ext_gtkhtml_gtkhtml.defs b/x11-toolkits/php-gtk2/files/patch-ext_gtkhtml_gtkhtml.defs
deleted file mode 100644
index e77d5b4d6b46..000000000000
--- a/x11-toolkits/php-gtk2/files/patch-ext_gtkhtml_gtkhtml.defs
+++ /dev/null
@@ -1,19 +0,0 @@
---- ext/gtkhtml/gtkhtml.defs.orig Mon Mar 4 09:36:38 2002
-+++ ext/gtkhtml/gtkhtml.defs Sat Dec 7 22:25:24 2002
-@@ -348,6 +348,7 @@
- (parameter (type-and-name GdkAtom selection))
- (parameter (type-and-name gint type))
- (parameter (type-and-name gint32 time))
-+ (parameter (type-and-name gboolean as_cite))
- )
-
- ;; Loading
-@@ -571,7 +572,7 @@
- (return-type none)
- )
- (method paste
-- (of-object HTML (Gtk))
-+ (of-object HTML (Gtk, 0))
- (c-name gtk_html_paste)
- (return-type none)
- )
diff --git a/x11-toolkits/php-gtk2/files/patch-ext_gtkhtml_gtkhtml.overrides b/x11-toolkits/php-gtk2/files/patch-ext_gtkhtml_gtkhtml.overrides
deleted file mode 100644
index f5ecfea3eef3..000000000000
--- a/x11-toolkits/php-gtk2/files/patch-ext_gtkhtml_gtkhtml.overrides
+++ /dev/null
@@ -1,12 +0,0 @@
---- ext/gtkhtml/gtkhtml.overrides.orig Thu Sep 19 15:57:28 2002
-+++ ext/gtkhtml/gtkhtml.overrides Sun Dec 8 18:10:47 2002
-@@ -1068,7 +1068,8 @@
- widget = php_gtk_shift_to_iframe_parent (widget, &x, &y);
-
- engine = GTK_HTML (widget)->engine;
-- if (GTK_HTML (widget)->button1_pressed && html_engine_get_editable (engine))
-+/* FIXME: button1_pressed has been removed? */
-+ if (html_engine_get_editable (engine))
- html_engine_jump_at (engine,
- x + engine->x_offset,
- y + engine->y_offset);
diff --git a/x11-toolkits/php-gtk2/files/patch-ext_scintilla-config.m4 b/x11-toolkits/php-gtk2/files/patch-ext_scintilla-config.m4
deleted file mode 100644
index 4d2f78def30c..000000000000
--- a/x11-toolkits/php-gtk2/files/patch-ext_scintilla-config.m4
+++ /dev/null
@@ -1,16 +0,0 @@
---- ext/scintilla/config.m4.orig Thu Jul 10 23:05:44 2003
-+++ ext/scintilla/config.m4 Thu Jul 10 23:05:52 2003
-@@ -6,10 +6,10 @@
- --enable-scintilla Enable Scintilla support])
-
- if test "$PHP_GTK_SCINTILLA" != "no"; then
-- for x in /usr /usr/local; do
-- if test -f $x/include/gtkscintilla.h; then
-+ for x in /usr/include /usr/local/include /usr/local/include/scintilla /usr/X11R6/include/scintilla; do
-+ if test -f $x/gtkscintilla.h; then
- SCINTILLA_DIR=$x
-- SCINTILLA_INCDIR=$x/include
-+ SCINTILLA_INCDIR=$x
- fi
- done
-
diff --git a/x11-toolkits/php-gtk2/pkg-descr b/x11-toolkits/php-gtk2/pkg-descr
deleted file mode 100644
index aea6f2e5d4a7..000000000000
--- a/x11-toolkits/php-gtk2/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-PHP-GTK is a PHP extension that enables you to write client-side,
-cross-platform GUI applications. This is the first extension for PHP of
-its kind, and was written in part to prove that PHP is a capable
-general-purpose language that is suited to more than just the web
-application environment.
-
-WWW: http://gtk.php.net/
-
-- Alex Kiesel
-kiesel@schlund.de
diff --git a/x11-toolkits/php-gtk2/pkg-plist b/x11-toolkits/php-gtk2/pkg-plist
deleted file mode 100644
index 7a04300b8233..000000000000
--- a/x11-toolkits/php-gtk2/pkg-plist
+++ /dev/null
@@ -1,15 +0,0 @@
-lib/php/%%PHPEXTDIR%%/php_gtk.so
-%%EXAMPLESDIR%%/combobutton.php
-%%EXAMPLESDIR%%/fileselection.php
-%%EXAMPLESDIR%%/gtk.php
-%%EXAMPLESDIR%%/hello.php
-%%EXAMPLESDIR%%/list.php
-%%EXAMPLESDIR%%/piemenu.php
-%%EXAMPLESDIR%%/scribble.php
-%%EXAMPLESDIR%%/scrollpane.php
-%%EXAMPLESDIR%%/spaned.php
-%%EXAMPLESDIR%%/sqpane.php
-%%EXAMPLESDIR%%/testgtkrc
-%%EXAMPLESDIR%%/testgtkrc2
-%%EXAMPLESDIR%%/window.xpm
-@dirrm %%EXAMPLESDIR%%