[csw-devel] SF.net SVN: gar:[3602] csw/mgar/pkg/php5/trunk

valholla at users.sourceforge.net valholla at users.sourceforge.net
Fri Mar 6 03:33:12 CET 2009


Revision: 3602
          http://gar.svn.sourceforge.net/gar/?rev=3602&view=rev
Author:   valholla
Date:     2009-03-06 02:33:08 +0000 (Fri, 06 Mar 2009)

Log Message:
-----------
added missing package requirements

Modified Paths:
--------------
    csw/mgar/pkg/php5/trunk/Makefile
    csw/mgar/pkg/php5/trunk/checksums
    csw/mgar/pkg/php5/trunk/extensions/php5_bcmath/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_bz2/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_calendar/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_ctype/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_curl/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_dba/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_dbase/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_dom/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_exif/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_filter/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_ftp/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_gd/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_gettext/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_gmp/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_hash/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_iconv/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_iconv/files/iconv.diff
    csw/mgar/pkg/php5/trunk/extensions/php5_imap/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_json/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_ldap/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_mbstring/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_mcrypt/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_mhash/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_mime_magic/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_mssql/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_mysql/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_mysqli/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_ncurses/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_odbc/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_odbc/files/odbc.diff
    csw/mgar/pkg/php5/trunk/extensions/php5_openssl/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_pcntl/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_pdomysql/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_pdoodbc/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_pdopgsql/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_pdosqlite/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_pgsql/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_posix/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_pspell/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_recode/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_recode/files/recode.diff
    csw/mgar/pkg/php5/trunk/extensions/php5_session/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_shmop/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_simplexml/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_snmp/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_soap/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_sockets/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_sqlite/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_sysvmsg/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_sysvsem/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_sysvshm/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_tidy/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_tokenizer/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_wddx/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_xml/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_xmlreader/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_xmlrpc/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_xmlwriter/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_xsl/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_zip/Makefile
    csw/mgar/pkg/php5/trunk/extensions/php5_zlib/Makefile
    csw/mgar/pkg/php5/trunk/files/config.diff

Removed Paths:
-------------
    csw/mgar/pkg/php5/trunk/extensions/php5_readline/
    csw/mgar/pkg/php5/trunk/files/CSWphp5.depend
    csw/mgar/pkg/php5/trunk/files/CSWphp5.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5_ext.depend
    csw/mgar/pkg/php5/trunk/files/CSWphp5bz2.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5bz2.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5curl.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5curl.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5dba.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5dba.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5devel.depend
    csw/mgar/pkg/php5/trunk/files/CSWphp5devel.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5devel.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5ftp.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5ftp.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5gd.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5gd.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5gettext.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5gettext.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5gmp.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5gmp.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5imap.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5imap.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5ldap.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5ldap.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5mcrypt.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5mcrypt.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5mhash.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5mhash.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5mssql.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5mssql.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5mysql.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5mysql.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5mysqli.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5mysqli.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5odbc.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5odbc.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5pdomysql.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5pdomysql.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5pdoodbc.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5pdoodbc.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5pdopgsql.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5pdopgsql.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5pdosqlite.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5pdosqlite.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5pgsql.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5pgsql.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5pspell.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5pspell.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5readline.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5readline.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5snmp.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5snmp.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5sqlite.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5sqlite.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5wddx.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5wddx.prototype
    csw/mgar/pkg/php5/trunk/files/CSWphp5xsl.gspec
    csw/mgar/pkg/php5/trunk/files/CSWphp5xsl.prototype
    csw/mgar/pkg/php5/trunk/files/config.mk
    csw/mgar/pkg/php5/trunk/files/depend.mk
    csw/mgar/pkg/php5/trunk/files/patches.mk
    csw/mgar/pkg/php5/trunk/files/rules.mk

Modified: csw/mgar/pkg/php5/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,65 +1,101 @@
-GARNAME = php
+GARNAME    = php
 GARVERSION = 5.2.6
 CATEGORIES = lang
 
 DESCRIPTION = A high-level scripting language.
 define BLURB
-  PHP is a widely-used Open Source general-purpose scripting language that is
-  especially suited for Web development and can be embedded into HTML. Its
-  syntax draws upon C, Java, and Perl, and is easy to learn. PHP runs on many
-  different platforms and can be used as a standalone executable or as a
-  module under a variety of Web servers. It has excellent support for
-  databases, XML, LDAP, IMAP, Java, various Internet protocols, and general
-  data manipulation, and is extensible via its powerful API. It is actively
-  developed and supported by a talented and energetic international team.
-  Numerous Open Source and commercial PHP-based application packages are
-  available.
+	PHP is a widely-used Open Source general-purpose scripting language that is
+	especially suited for Web development and can be embedded into HTML. Its
+	syntax draws upon C, Java, and Perl, and is easy to learn. PHP runs on many
+	different platforms and can be used as a standalone executable or as a
+	module under a variety of Web servers. It has excellent support for
+	databases, XML, LDAP, IMAP, Java, various Internet protocols, and general
+	data manipulation, and is extensible via its powerful API. It is actively
+	developed and supported by a talented and energetic international team.
+	Numerous Open Source and commercial PHP-based application packages are
+	available.
 endef
 
+php5_root = $(DESTDIR)$(prefix)/php5
+php5_bin  = $(php5_root)/bin
+php5_lib  = $(php5_root)/lib
+
+MASTER_SITES = http://us.php.net/distributions/
+SPKG_SOURCEURL = http://www.php.net/downloads.php
+DISTFILES += $(GARNAME)-$(GARVERSION).tar.bz2
+
+INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
+PHP5ROOT     = $(DESTDIR)$(prefix)/php5
+
+STRIP_DIRS  += $(PHP5ROOT)/lib/php/extensions/*/
+STRIP_DIRS  += $(PHP5ROOT)/bin
+
 # Auxilliary files
 DISTFILES += php.ini.CSW phpext
 DISTFILES += CSWphp5_ext_enable.sh CSWphp5_ext_disable.sh
-DISTFILES += CSWphp5_ext.depend
 
-# PHP CGI SAPI + Core
-DISTFILES += $(call admfiles,CSWphp5,prototype depend postinstall)
-DISTFILES += $(call admfiles,CSWphp5devel,prototype depend)
+PACKAGES = CSWphp5 CSWphp5devel
 
+CATALOGNAME_CSWphp5        = php5
+SPKG_DESC_CSWphp5          = A High-Level Scripting Languages
+DISTFILES                 += CSWphp5.postinstall
+CATALOGNAME_CSWphp5devel   = php5_devel
+SPKG_DESC_CSWphp5devel     = Development files for php5
+REQUIRED_PKGS_CSWphp5      = CSWexpat CSWggettextrt CSWiconv 
+REQUIRED_PKGS_CSWphp5     += CSWlibxml2 CSWzlib CSWmysql5rt
+REQUIRED_PKGS_CSWphp5devel = CSWphp5
+
+PKGFILES_CSWphp5devel  = $(prefix)/php5/bin/php-config
+PKGFILES_CSWphp5devel += $(prefix)/php5/bin/phpize
+PKGFILES_CSWphp5devel += $(prefix)/php5/bin/peardev
+PKGFILES_CSWphp5devel += $(prefix)/php5/include/php/ext/date/.*
+PKGFILES_CSWphp5devel += $(prefix)/php5/include/php/ext/pcre/.*
+PKGFILES_CSWphp5devel += $(prefix)/php5/include/php/ext/pdo/.*
+PKGFILES_CSWphp5devel += $(prefix)/php5/include/php/ext/spl/.*
+PKGFILES_CSWphp5devel += $(prefix)/php5/include/php/main/.*
+PKGFILES_CSWphp5devel += $(prefix)/php5/include/php/php/include/.*
+PKGFILES_CSWphp5devel += $(prefix)/php5/include/php/regex/.*
+PKGFILES_CSWphp5devel += $(prefix)/php5/include/.*/standard/.*
+PKGFILES_CSWphp5devel += $(prefix)/php5/include/php/TSRM/.*
+PKGFILES_CSWphp5devel += $(prefix)/php5/include/php/Zend/.*
+PKGFILES_CSWphp5devel += $(prefix)/php5/lib/php/build/.*
+PKGFILES_CSWphp5devel += $(prefix)/php5/man/.*
+
+PATCHFILES += config.diff
+
 # PHP Extensions
-include files/extensions.mk
+EXTDIRLIST = $(shell ls -d extensions/*)
+include $(foreach X,$(EXTDIRLIST),$(X)/Makefile)
 
-# Patches
-include files/patches.mk
+# BerkeleyDB
+EXTRA_LIB += $(prefix)/bdb44/lib
+EXTRA_INC += $(prefix)/bdb44/lib
 
-# Dependencies
-include files/depend.mk
+DISTFILES += fixme.sh
 
-# SAPI Common Configuration
-include files/config.mk
-
-# SAPI Specific Configuration
+CONFIGURE_ARGS += --prefix=$(prefix)/php5
+CONFIGURE_ARGS += --disable-static
+CONFIGURE_ARGS += --with-exec-dir=$(prefix)/php5/bin
 CONFIGURE_ARGS += --enable-cli
 CONFIGURE_ARGS += --enable-fastcgi
 CONFIGURE_ARGS += --enable-force-cgi-redirect
-CONFIGURE_ARGS += --enable-pcntl
+CONFIGURE_ARGS += --enable-pcntl=shared
+CONFIGURE_ARGS += --enable-pdo=shared
+CONFIGURE_ARGS += --with-mm=$(prefix)
+CONFIGURE_ARGS += --enable-magic-quotes
+CONFIGURE_ARGS += --enable-spl=shared
+CONFIGURE_ARGS += --with-pcre-regex
+CONFIGURE_ARGS += --with-pear
 
-# System Rules/Configuration
-include gar/category.mk
+# Disable Tests (report submitted to PHP QA)
+SKIPTEST = 1
 
-# Common Rules
-include files/rules.mk
-
 # SAPI Specific Rules
 STRIP_DIRS += $(DESTDIR)$(prefix)/apache2/libexec
 
 # Copy over template config files and utility scripts
-post-install: install-templates
 
-php5_root = $(DESTDIR)$(prefix)/php5
-php5_bin = $(php5_root)/bin
-php5_lib = $(php5_root)/lib
-
-install-templates:
+post-install-modulated:
 	ginstall -m 0755 \
 		$(WORKDIR)/phpext \
 		$(DESTDIR)$(prefix)/php5/bin
@@ -69,3 +105,14 @@
 		$(DESTDIR)$(prefix)/php5/lib
 	@$(MAKECOOKIE)
 
+post-configure-modulated:
+	@(echo "~~~ Fixing Libtool ~~~")
+	@$(DOWNLOADDIR)/fixme.sh $(WORKSRC)
+	$(DONADA)
+
+EXTFILES = $(shell find extensions/*/files/* -prune -type f)
+pre-fetch:
+	$(foreach F,$(EXTFILES),$(shell cp $(F) $(DOWNLOADDIR)))
+
+# System Rules/Configuration
+include gar/category.mk

Modified: csw/mgar/pkg/php5/trunk/checksums
===================================================================
--- csw/mgar/pkg/php5/trunk/checksums	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/checksums	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,3 +1,4 @@
+7380ffecebd95c6edb317ef861229ebd  download/php-5.2.6.tar.bz2
 e79baa34abe18575a3d0220c21bd5e37  download/php.ini.CSW
 90ae3cef3692d7e566c47d89fe39c43d  download/phpext
 de56d3571f4484284d106af158bffc38  download/CSWphp5_ext_enable.sh
@@ -2,63 +3,7 @@
 89e79becc9d7698c5c561581f2b098bc  download/CSWphp5_ext_disable.sh
-73ffddc92b833f335a87e42501129a01  download/CSWphp5_ext.depend
-d50e24088861d202c3fd55b46a4eff0e  download/CSWphp5.gspec
-43917cab9cddf386bfacc7c447216b24  download/CSWphp5.prototype
-7f6e765815b28f38341e549adcea03d1  download/CSWphp5.depend
 8139c9c02a2f62bac64041fdd0e90bf6  download/CSWphp5.postinstall
-883e5ee2553ce6a4d2436146636ff172  download/CSWphp5devel.gspec
-98127f1f33a9e11972d1dca8cbb87944  download/CSWphp5devel.prototype
-024c896165221f78b0abc9aa21da70b1  download/CSWphp5devel.depend
-0614561dcc8ed10d041ece4a6f135957  download/CSWphp5bz2.gspec
-cbfa1e1b3474c4ad96cccd18041067b6  download/CSWphp5bz2.prototype
-4e9af10b686cd342e87c8070978221b4  download/CSWphp5curl.gspec
-212c83a6824634f9fc54d8fcfd8786b3  download/CSWphp5curl.prototype
-6f3b1b51274f5bf368207dccc73b88bf  download/CSWphp5dba.gspec
-e2463317dc97abfd6d2e77b2001c59ac  download/CSWphp5dba.prototype
-900288830eada38697da0c1cb53e0d17  download/CSWphp5ftp.gspec
-8b086b05800447af47e08461849c0375  download/CSWphp5ftp.prototype
-c388f679cae3a526e31e3d8327cf2185  download/CSWphp5gd.gspec
-8fd40a985003480ed4507e989df9f7b0  download/CSWphp5gd.prototype
-1e71a9d4b1421d8a0262ca29ecd37104  download/CSWphp5gettext.gspec
-a879085f53a0953a179cc712bb43f7ac  download/CSWphp5gettext.prototype
-9e16217d08cd21a3a3209c705a697c3c  download/CSWphp5gmp.gspec
-f870534537d759e4418d5eb08b224c8f  download/CSWphp5gmp.prototype
-94a14eb64355a48aab00a5c493c61a3d  download/CSWphp5imap.gspec
-7bdb5a7a9463d8fdef6c2831e6685753  download/CSWphp5imap.prototype
-9cf8d83bb0f0fae8b50ad15298b0c513  download/CSWphp5ldap.gspec
-0ebbcc40e25c84e458302ff6db312cef  download/CSWphp5ldap.prototype
-4f13181edfc973188c5efa85eec1e35b  download/CSWphp5mcrypt.gspec
-80fc2675c219052c3ca62315e0f8b998  download/CSWphp5mcrypt.prototype
-a42951821d4f8c0ecc0f08b35c0fcb99  download/CSWphp5mhash.gspec
-fb690c06518ffe72aa25529da1426c3b  download/CSWphp5mhash.prototype
-a4b3b4d0f14b2b48ef21cc5b89e8b6e7  download/CSWphp5mssql.gspec
-67f4b30217f7a35bc89cfd7ed05e6711  download/CSWphp5mssql.prototype
-88dfa4e70f14f79cf4144aac9bf389cf  download/CSWphp5mysql.gspec
-1c4b65285d60975bf67482d5956dfce2  download/CSWphp5mysql.prototype
-e43182e2e12ffcdf029196ab863ac2c2  download/CSWphp5mysqli.gspec
-0528610e4f0c7e44e5580e71eccf6fa3  download/CSWphp5mysqli.prototype
-6a6d6084f86e6f919fb45162d9dcfd3b  download/CSWphp5odbc.gspec
-0a563e7498064308eb32cdf316673b45  download/CSWphp5odbc.prototype
-f655b06824624c911f2c423a3817edfe  download/CSWphp5pdomysql.gspec
-25139efcdc86eabed378b04b4aaeb1b6  download/CSWphp5pdomysql.prototype
-20048422444a43d5bb716d982ce6bdef  download/CSWphp5pdoodbc.gspec
-14259860b6fb34975c6361646e8b9693  download/CSWphp5pdoodbc.prototype
-537d49c87dfa69a6eba01ac2473a7a9e  download/CSWphp5pdopgsql.gspec
-7f0d4856b625c816d6276645d1a272c8  download/CSWphp5pdopgsql.prototype
-73e202abb28c2f8a3714317ac6be9aa4  download/CSWphp5pdosqlite.gspec
-3e6512603ad839f47304b7df1e8f8fdf  download/CSWphp5pdosqlite.prototype
-fac7b86a7bf260ab4866bbe678d2a9ed  download/CSWphp5pgsql.gspec
-6b003c88f7ff6a67958840fbdecede8b  download/CSWphp5pgsql.prototype
-7cc1932f3d60f28d16333b117b9a0172  download/CSWphp5pspell.gspec
-7cc3cdd30d2491da8d459b888a6cef91  download/CSWphp5pspell.prototype
-729e5eb6c903124f4333c0bbacb8fcee  download/CSWphp5readline.gspec
-16f9b12bf4d817b048a576d1fe445a0d  download/CSWphp5readline.prototype
-80cf708c6d0800275c33f08ab7b1c826  download/CSWphp5snmp.gspec
-fb1b48a659a89454d3c093b18e17aca0  download/CSWphp5snmp.prototype
-c75d314921d14f6ca01770ece24431da  download/CSWphp5sqlite.gspec
-769724dbf9f01aa3b9cb669faff3aab6  download/CSWphp5sqlite.prototype
-9fbaa2d21b7c0166b53e4c314fb7d7c8  download/CSWphp5wddx.gspec
-bd09caea29de9dc8dc13dd1386c824c4  download/CSWphp5wddx.prototype
-58ba92a544570ec4b613bcc409a42a23  download/CSWphp5xsl.gspec
-3c2e92e41c207955a7ce600e46531b0d  download/CSWphp5xsl.prototype
-7380ffecebd95c6edb317ef861229ebd  download/php-5.2.6.tar.bz2
-a03ecfbc83c95890b9167f7324e5d7a8  download/config.diff
+41ec540885de7c34625768aa1fb9682b  download/fixme.sh
+2b657c95c6abef5f125f19265060f91d  download/config.diff
+2206431e47c2075c0b9c4a12de5cf791  download/odbc.diff
+230126f76ee6400ccf225bb6a8243532  download/pdopgsql.diff
+13db46097c9686302bebf160e2d26ed2  download/pgsql.diff

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_bcmath/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_bcmath/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_bcmath/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = bcmath
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5bcmath
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5bcmath = php5_bcmath
+SPKG_DESC_CSWphp5bcmath = bcmath Extention for PHP5
+REQUIRED_PKGS_CSWphp5bcmath = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-bcmath=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5bcmath = .*/lib/php/extensions/.*/bcmath.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_bz2/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_bz2/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_bz2/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = bz2
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5bz2
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5bz2 = php5_bz2
+SPKG_DESC_CSWphp5bz2 = bz2 Extention for PHP5
+REQUIRED_PKGS_CSWphp5bz2 = CSWphp5 CSWbzip2
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-bz2=shared,$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWbzip2
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5bz2 = .*/lib/php/extensions/.*/bz2.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_calendar/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_calendar/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_calendar/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = calendar
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5calendar
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5calendar = php5_calendar
+SPKG_DESC_CSWphp5calendar = calendar Extention for PHP5
+REQUIRED_PKGS_CSWphp5calendar = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-calendar=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5calendar = .*/lib/php/extensions/.*/calendar.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_ctype/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_ctype/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_ctype/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = ctype
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5ctype
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5ctype = php5_ctype
+SPKG_DESC_CSWphp5ctype = ctype Extention for PHP5
+REQUIRED_PKGS_CSWphp5ctype = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-ctype=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5ctype = .*/lib/php/extensions/.*/ctype.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_curl/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_curl/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_curl/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,53 +1,13 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = curl
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5curl
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5curl = php5_curl
+SPKG_DESC_CSWphp5curl = curl Extention for PHP5
+REQUIRED_PKGS_CSWphp5curl  = CSWphp5 CSWcurlrt CSWlibidn 
+REQUIRED_PKGS_CSWphp5curl += CSWoldaprt CSWosslrt CSWzlib
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
-
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME)  = CSWphp5 CSWcurlrt CSWlibidn 
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) += CSWoldaprt CSWosslrt CSWzlib
-
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-curl=$(prefix)
+CONFIGURE_ARGS += --with-curl=shared,$(prefix)
 CONFIGURE_ARGS += --with-curlwrappers
 
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5curl = .*/lib/php/extensions/.*/curl.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_dba/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_dba/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_dba/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,15 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = dba
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5dba
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5dba = php5_dba
+SPKG_DESC_CSWphp5dba = dba Extention for PHP5
+REQUIRED_PKGS_CSWphp5dba = CSWphp5 CSWbdb44 CSWgdbm
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-dba=shared
+CONFIGURE_ARGS += --with-ndbm
+CONFIGURE_ARGS += --with-gdbm=$(prefix)
+CONFIGURE_ARGS += --with-db4=$(prefix)/bdb44
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
 
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5dba = .*/lib/php/extensions/.*/dba\.so

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_dbase/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_dbase/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_dbase/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = dbase
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5dbase
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5dbase = php5_dbase
+SPKG_DESC_CSWphp5dbase = dbase Extention for PHP5
+REQUIRED_PKGS_CSWphp5dbase = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-dbase=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5dbase = .*/lib/php/extensions/.*/dbase.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_dom/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_dom/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_dom/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,51 +1,13 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = dom
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5dom
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5dom = php5_dom
+SPKG_DESC_CSWphp5dom = dom Extention for PHP5
+REQUIRED_PKGS_CSWphp5dom = CSWphp5 CSWiconv CSWlibxml2 CSWzlib
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
-
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWiconv CSWlibxml2 CSWzlib
-
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
+CONFIGURE_ARGS += --enable-dom=shared
 CONFIGURE_ARGS += --with-libxml-dir=$(prefix)
 
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5dom = .*/lib/php/extensions/.*/dom.*
+PKGFILES_CSWphp5dom += .*/include/php/ext/dom/.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_exif/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_exif/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_exif/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,52 +1,14 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = exif
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5exif
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5exif = php5_exif
+SPKG_DESC_CSWphp5exif = exif Extention for PHP5
+REQUIRED_PKGS_CSWphp5exif = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-exif=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-PATCHFILES = exif.diff
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
 CPPFLAGS="-I../ext/mbstring"
 export CPPFLAGS
+
+PKGFILES_CSWphp5exif = .*/lib/php/extensions/.*/exif.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_filter/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_filter/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_filter/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,13 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = filter
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5filter
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5filter = php5_filter
+SPKG_DESC_CSWphp5filter = filter Extention for PHP5
+REQUIRED_PKGS_CSWphp5filter = CSWphp5 CSWpcrert
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-filter=shared
+CONFIGURE_ARGS += --with-pcre-dir=$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5filter = .*/lib/php/extensions/.*/filter.*
+PKGFILES_CSWphp5filter += .*/include/php/ext/filter/.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_ftp/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_ftp/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_ftp/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = ftp
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5ftp
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5ftp = php5_ftp
+SPKG_DESC_CSWphp5ftp = ftp Extention for PHP5
+REQUIRED_PKGS_CSWphp5ftp = CSWphp5 CSWosslrt
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-ftp=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5ftp = .*/lib/php/extensions/.*/ftp.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_gd/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_gd/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_gd/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,56 +1,23 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = gd
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5gd
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5gd = php5_gd
+SPKG_DESC_CSWphp5gd = gd Extention for PHP5
+REQUIRED_PKGS_CSWphp5gd  = CSWphp5 CSWftype2 CSWgd CSWjpeg
+REQUIRED_PKGS_CSWphp5gd += CSWpng CSWt1lib CSWxpm CSWzlib
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-gd=$(prefix)
+CONFIGURE_ARGS += --with-gd=shared,$(prefix)
 CONFIGURE_ARGS += --with-jpeg-dir=$(prefix)
 CONFIGURE_ARGS += --with-png-dir=$(prefix)
 CONFIGURE_ARGS += --with-zlib-dir=$(prefix)
 CONFIGURE_ARGS += --with-xpm-dir=$(prefix)
 CONFIGURE_ARGS += --with-ttf=$(prefix)
 CONFIGURE_ARGS += --with-freetype-dir=$(prefix)
+CONFIGURE_ARGS += --with-t1lib=$(prefix)
+CONFIGURE_ARGS += --enable-gd-native-ttf
+CONFIGURE_ARGS += --enable-gd-jis-conv
 
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5gd  = .*/lib/php/extensions/.*/gd.*
+PKGFILES_CSWphp5gd += .*/include/php/ext/gd/.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_gettext/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_gettext/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_gettext/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = gettext
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5gettext
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5gettext = php5_gettext
+SPKG_DESC_CSWphp5gettext = gettext Extention for PHP5
+REQUIRED_PKGS_CSWphp5gettext = CSWphp5 CSWggettextrt
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-gettext=shared,$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWggettextrt
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5gettext = .*/lib/php/extensions/gettext.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_gmp/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_gmp/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_gmp/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,50 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = gmp
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5gmp
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5gmp = php5_gmp
+SPKG_DESC_CSWphp5gmp = gmp Extention for PHP5
+REQUIRED_PKGS_CSWphp5gmp = CSWphp5 CSWlibgmp
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-gmp=shared,$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWlibgmp
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-gmp=$(prefix)
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5gmp = .*/lib/php/extensions/.*/gmp.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_hash/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_hash/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_hash/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,12 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = hash
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5hash
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5hash = php5_hash
+SPKG_DESC_CSWphp5hash = hash Extention for PHP5
+REQUIRED_PKGS_CSWphp5hash = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-hash=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5hash = .*/lib/php/extensions/.*/hash.*
+PKGFILES_CSWphp5hash += .*/include/php/ext/hash/.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_iconv/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_iconv/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_iconv/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,50 +1,19 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = iconv
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5iconv
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5iconv = php5_iconv
+SPKG_DESC_CSWphp5iconv = iconv Extention for PHP5
+REQUIRED_PKGS_CSWphp5iconv = CSWphp5 CSWiconv
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-iconv=shared
+CONFIGURE_ARGS += --with-iconv-dir=$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
+EXTRA_CFLAGS   += -I/opt/csw/include
+EXTRA_LDFLAGS += -L$(libdir) -R$(libdir)
+LIBS = -lrt -lintl 
 
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
+#PATCHFILES += iconv.diff
 
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWiconv
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-iconv=$(prefix)
-
-LIBS = -lrt -lintl
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5iconv = .*/lib/php/extensions/.*/iconv.*
+PKGFILES_CSWphp5iconv += .*/include/php/ext/iconv/.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_iconv/files/iconv.diff
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_iconv/files/iconv.diff	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_iconv/files/iconv.diff	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,19 +1,20 @@
---- php-5.2.6/ext/iconv/iconv.c.orig	2009-03-02 13:22:39.048498744 -0600
-+++ php-5.2.6/ext/iconv/iconv.c	2009-03-02 13:21:25.719941997 -0600
-@@ -41,12 +41,15 @@
+--- php-5.2.6/ext/iconv/iconv.c.orig	2009-03-02 13:49:44.329860879 -0600
++++ php-5.2.6/ext/iconv/iconv.c	2009-03-02 13:51:43.162160187 -0600
+@@ -38,14 +38,17 @@
+ #include <errno.h>
  
+ #include "php_iconv.h"
++#include <iconv.h>
+ 
  #ifdef HAVE_ICONV
  
 +/*
  #ifdef PHP_ICONV_H_PATH
  #include PHP_ICONV_H_PATH
  #else
-+*/
  #include <iconv.h>
-+/*
  #endif
--
 +*/
+ 
  #ifdef HAVE_GLIBC_ICONV
  #include <gnu/libc-version.h>
- #endif

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_imap/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_imap/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_imap/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,54 +1,13 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = imap
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5imap
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5imap = php5_imap
+SPKG_DESC_CSWphp5imap = imap Extention for PHP5
+REQUIRED_PKGS_CSWphp5imap = CSWphp5 CSWimaprt CSWkrb5lib CSWosslrt
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
-
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWimaprt CSWkrb5lib CSWosslrt
-
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-imap=$(prefix)
+CONFIGURE_ARGS += --with-imap=shared,$(prefix)
 CONFIGURE_ARGS += --with-kerberos=$(prefix)
 CONFIGURE_ARGS += --with-imap-ssl=$(prefix)
 
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5imap = .*/lib/php/extensions/.*/imap.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_json/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_json/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_json/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = json
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5json
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5json = php5_json
+SPKG_DESC_CSWphp5json = json Extention for PHP5
+REQUIRED_PKGS_CSWphp5json = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-json=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5json = .*/lib/php/extensions/.*/json.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_ldap/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_ldap/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_ldap/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,12 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = ldap
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5ldap
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5ldap = php5_ldap
+SPKG_DESC_CSWphp5ldap = ldap Extention for PHP5
+REQUIRED_PKGS_CSWphp5ldap = CSWphp5 CSWoldaprt CSWsasl
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-ldap=shared,$(prefix)
+CONFIGURE_ARGS += --with-ldap-sasl=$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWoldaprt
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5ldap = .*/lib/php/extensions/.*/ldap.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mbstring/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mbstring/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mbstring/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,14 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = mbstring
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5mbstring
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5mbstring = php5_mbstring
+SPKG_DESC_CSWphp5mbstring = mbstring Extention for PHP5
+REQUIRED_PKGS_CSWphp5mbstring = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
+CONFIGURE_ARGS += --enable-mbstring=shared
+CONFIGURE_ARGS += --enable-mbregex=shared
 
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-TEST_SCRIPTS = testme
-
-test-testme:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php; export TEST_PHP_EXECUTABLE; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-
-include gar/category.mk
+PKGFILES_CSWphp5mbstring = .*/lib/php/extensions/.*/mbstring.*
+PKGFILES_CSWphp5mbstring += .*/include/php/ext/mbstring/.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mcrypt/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mcrypt/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mcrypt/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,50 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = mcrypt
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5mcrypt
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5mcrypt = php5_mcrypt
+SPKG_DESC_CSWphp5mcrypt = mcrypt Extention for PHP5
+REQUIRED_PKGS_CSWphp5mcrypt = CSWphp5 CSWlibmcrypt CSWlibtoolrt
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-mcrypt=shared,$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWlibmcrypt CSWlibtoolrt
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-mcrypt=$(prefix)
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5mcrypt = .*/lib/php/extensions/.*/mcrypt.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mhash/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mhash/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mhash/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,50 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = mhash
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5mhash
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5mhash = php5_mhash
+SPKG_DESC_CSWphp5mhash = mhash Extention for PHP5
+REQUIRED_PKGS_CSWphp5mhash = CSWphp5 CSWlibmhash
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-mhash=shared,$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWlibmhash
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-mhash=$(prefix)
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5mhash = .*/lib/php/extensions/.*/mhash.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mime_magic/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mime_magic/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mime_magic/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = mime_magic
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5mimemagic
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
-
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
-
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5mimemagic
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5mimemagic = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5mimemagic = $(PHP5EXT_NAME) Extention for PHP5
+CATALOGNAME_CSWphp5mimemagic = php5_mime_magic
+SPKG_DESC_CSWphp5mimemagic = mime magic Extention for PHP5
 REQUIRED_PKGS_CSWphp5mimemagic = CSWphp5
 
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
+CONFIGURE_ARGS += --with-mime-magic=shared
 
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5mimemagic = .*/lib/php/extensions/.*/mime_magic.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mssql/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mssql/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mssql/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = mssql
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5mssql
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5mssql = php5_mssql
+SPKG_DESC_CSWphp5mssql = mssql Extention for PHP5
+REQUIRED_PKGS_CSWphp5mssql = CSWphp5 CSWfreetds
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-mssql=shared,$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWfreetds
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-mssql=$(prefix)
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5mssql = .*/lib/php/extensions/.*/mssql.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mysql/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mysql/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mysql/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,12 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = mysql
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5mysql
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5mysql = php5_mysql
+SPKG_DESC_CSWphp5mysql = mysql Extention for PHP5
+REQUIRED_PKGS_CSWphp5mysql = CSWphp5 CSWmysql5rt
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-mysql=shared,$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWmysql5rt
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-mysql=$(prefix)
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5mysql = .*/lib/php/extensions/.*/mysql\.so.*
+PKGFILES_CSWphp5mysql = .*/lib/php/extensions/.*/mysql\.a.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mysqli/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mysqli/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mysqli/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,50 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = mysqli
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5mysqli
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5mysqli = php5_mysqli
+SPKG_DESC_CSWphp5mysqli = mysqli Extention for PHP5
+REQUIRED_PKGS_CSWphp5mysqli = CSWphp5 CSWmysql5rt CSWzlib
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-mysqli=shared,$(bindir)/mysql_config
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWmysql5rt CSWzlib
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-mysqli=$(bindir)/mysql_config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5mysqli = .*/lib/php/extensions/.*/mysqli.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_ncurses/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_ncurses/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_ncurses/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,50 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = ncurses
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5ncurses
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5ncurses = php5_ncurses
+SPKG_DESC_CSWphp5ncurses = ncurses Extention for PHP5
+REQUIRED_PKGS_CSWphp5ncurses = CSWphp5 CSWncurses
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-ncurses=shared,$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWncurses
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-ncurses=/opt/csw
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5ncurses = .*/lib/php/extensions/.*/ncurses.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_odbc/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_odbc/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_odbc/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,52 +1,13 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = odbc
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5odbc
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5odbc = php5_odbc
+SPKG_DESC_CSWphp5odbc = odbc Extention for PHP5
+REQUIRED_PKGS_CSWphp5odbc = CSWphp5 CSWunixodbc
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+PATCHFILES += odbc.diff
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
+CONFIGURE_ARGS += --with-unixODBC=shared,$(prefix)
 
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWunixodbc
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-unixODBC=$(prefix)
-
-PATCHFILES = odbc.diff
-
-post-patch-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5odbc = .*/lib/php/extensions/.*/odbc.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_odbc/files/odbc.diff
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_odbc/files/odbc.diff	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_odbc/files/odbc.diff	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,5 +1,5 @@
---- ./config.m4.orig	2009-02-25 12:04:48.140914150 -0600
-+++ ./config.m4	2009-02-25 12:15:55.740367734 -0600
+--- php-5.2.6/ext/odbc/config.m4.orig	2009-02-25 12:04:48.140914150 -0600
++++ php-5.2.6/ext/odbc/config.m4	2009-02-25 12:15:55.740367734 -0600
 @@ -8,402 +8,6 @@
  fi
  ])

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_openssl/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_openssl/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_openssl/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,50 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = openssl
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5openssl
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5openssl = php5_openssl
+SPKG_DESC_CSWphp5openssl = openssl Extention for PHP5
+REQUIRED_PKGS_CSWphp5openssl = CSWphp5 CSWosslrt CSWkrb5lib
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-openssl=shared,$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWosslrt
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; /bin/mv config0.m4 config.m4 )
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5openssl = .*/lib/php/extensions/.*/openssl.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pcntl/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pcntl/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pcntl/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = pcntl
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5pcntl
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5pcntl = php5_pcntl
+SPKG_DESC_CSWphp5pcntl = pcntl Extention for PHP5
+REQUIRED_PKGS_CSWphp5pcntl = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-pcntl=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5pcntl = .*/lib/php/extensions/.*/pcntl.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pdomysql/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pdomysql/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pdomysql/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,53 +1,12 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = pdomysql
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5pdomysql
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/pdo_mysql
+CATALOGNAME_CSWphp5pdomysql = php5_pdomysql
+SPKG_DESC_CSWphp5pdomysql = pdomysql Extention for PHP5
+REQUIRED_PKGS_CSWphp5pdomysql = CSWphp5 CSWmysql5rt CSWzlib
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
-
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWmysql5rt CSWzlib
-
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-pdo-mysql=$(prefix)
+CONFIGURE_ARGS += --with-pdo-mysql=shared,$(prefix)
 CONFIGURE_ARGS += --with-zlib-dir=$(prefix)
 
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5pdomysql = .*/lib/php/extensions/.*/pdo_mysql.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pdoodbc/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pdoodbc/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pdoodbc/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,50 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = pdoodbc
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5pdoodbc
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/pdo_odbc
+CATALOGNAME_CSWphp5pdoodbc = php5_pdoodbc
+SPKG_DESC_CSWphp5pdoodbc = pdoodbc Extention for PHP5
+REQUIRED_PKGS_CSWphp5pdoodbc = CSWphp5 CSWunixodbc
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-pdo-odbc=shared,unixODBC,$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWunixodbc
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-pdo-odbc=unixODBC,$(prefix)
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5pdoodbc = .*/lib/php/extensions/.*/pdo_odbc.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pdopgsql/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pdopgsql/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pdopgsql/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,52 +1,13 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = pdopgsql
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5pdopgsql
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/pdo_pgsql
+CATALOGNAME_CSWphp5pdopgsql = php5_pdopgsql
+SPKG_DESC_CSWphp5pdopgsql = pdopgsql Extention for PHP5
+REQUIRED_PKGS_CSWphp5pdopgsql = CSWphp5 CSWlibpq
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+PATCHFILES += pdopgsql.diff
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
+CONFIGURE_ARGS += --with-pdo-pgsql=shared,$(prefix)/postgresql
 
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWlibpq
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-pdo-pgsql=$(prefix)/postgresql
-
-PATCHFILES = config.diff
-
-pre-configure-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5pdopgsql = .*/lib/php/extensions/.*/pdo_pgsql.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pdosqlite/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pdosqlite/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pdosqlite/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = pdosqlite
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5pdosqlite
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/pdo_sqlite
+CATALOGNAME_CSWphp5pdosqlite = php5_pdosqlite
+SPKG_DESC_CSWphp5pdosqlite = pdosqlite Extention for PHP5
+REQUIRED_PKGS_CSWphp5pdosqlite = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-pdo-sqlite=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5pdosqlite = .*/lib/php/extensions/.*/pdo_sqlite.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pgsql/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pgsql/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pgsql/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,52 +1,13 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = pgsql
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5pgsql
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5pgsql = php5_pgsql
+SPKG_DESC_CSWphp5pgsql = pgsql Extention for PHP5
+REQUIRED_PKGS_CSWphp5pgsql = CSWphp5 CSWlibpq
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+PATCHFILES += pgsql.diff
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
+CONFIGURE_ARGS += --with-pgsql=shared,$(prefix)/postgresql
 
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWlibpq
-
-PATCHFILES = pgconfig.diff
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-pgsql=$(prefix)/postgresql
-
-post-patch-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5pgsql = .*/lib/php/extensions/.*/pgsql.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_posix/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_posix/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_posix/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = posix
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5posix
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5posix = php5_posix
+SPKG_DESC_CSWphp5posix = posix Extention for PHP5
+REQUIRED_PKGS_CSWphp5posix = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-posix=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5posix = .*/lib/php/extensions/.*/posix.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pspell/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pspell/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pspell/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,50 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = pspell
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5pspell
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5pspell = php5_pspell
+SPKG_DESC_CSWphp5pspell = pspell Extention for PHP5
+REQUIRED_PKGS_CSWphp5pspell = CSWphp5 CSWaspell
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-pspell=shared,$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWaspell
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-pspell=$(prefix)
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5pspell = .*/lib/php/extensions/.*/pspell.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_recode/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_recode/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_recode/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,50 +1 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
-PHP5EXT_NAME = recode
-
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
-
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
-
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
-
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWrecode
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-CONFIGURE_ARGS += --with-recode=$(prefix)
-
-PATCHFILES = recode.diff
-
-post-patch-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+@ ( echo "==>  Not configuring recode see README in extensions/php5_recode" )

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_recode/files/recode.diff
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_recode/files/recode.diff	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_recode/files/recode.diff	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,5 +1,5 @@
---- ./recode.c.orig	2009-02-25 11:18:18.179302185 -0600
-+++ ./recode.c	2009-02-25 11:20:18.906816126 -0600
+--- php-5.2.6/ext/recode/recode.c.orig	2009-02-25 11:18:18.179302185 -0600
++++ php-5.2.6/ext/recode/recode.c	2009-02-25 11:20:18.906816126 -0600
 @@ -221,7 +221,7 @@
  /* }}} */
  
@@ -9,8 +9,8 @@
  /*
   * Local variables:
   * tab-width: 4
---- ./config.m4.orig	2009-02-25 11:24:11.727519777 -0600
-+++ ./config.m4	2009-02-25 11:24:44.598312108 -0600
+--- php-5.2.6/ext/recode/config.m4.orig	2009-02-25 11:24:11.727519777 -0600
++++ php-5.2.6/ext/recode/config.m4	2009-02-25 11:24:44.598312108 -0600
 @@ -41,6 +41,7 @@
      LIBS="$LIBS -lrecode"
      AC_TRY_LINK(

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_session/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_session/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_session/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,12 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = session
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5session
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5session = php5_session
+SPKG_DESC_CSWphp5session = session Extention for PHP5
+REQUIRED_PKGS_CSWphp5session = CSWphp5 CSWlibmm
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-session=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5session = .*/lib/php/extensions/.*/session.*
+PKGFILES_CSWphp5session += .*/include/php/ext/session/.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_shmop/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_shmop/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_shmop/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = shmop
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5shmop
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5shmop = php5_shmop
+SPKG_DESC_CSWphp5shmop = shmop Extention for PHP5
+REQUIRED_PKGS_CSWphp5shmop = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-shmop=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5shmop = .*/lib/php/extensions/.*/shmop.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_simplexml/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_simplexml/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_simplexml/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,52 +1,12 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = simplexml
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5simplexml
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5simplexml = php5_simplexml
+SPKG_DESC_CSWphp5simplexml = simplexml Extention for PHP5
+REQUIRED_PKGS_CSWphp5simplexml = CSWphp5 CSWiconv CSWlibxml2 CSWzlib
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
-
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-PATCHFILES = simplexml.diff
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWiconv CSWlibxml2 CSWzlib
-
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
+CONFIGURE_ARGS += --enable-simplexml=shared
 CONFIGURE_ARGS += --with-libxml-dir=$(prefix)
 
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5simplexml = .*/lib/php/extensions/.*/simplexml.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_snmp/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_snmp/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_snmp/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,50 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = snmp
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5snmp
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5snmp = php5_snmp
+SPKG_DESC_CSWphp5snmp = snmp Extention for PHP5
+REQUIRED_PKGS_CSWphp5snmp = CSWphp5 CSWnetsnmp CSWosslrt CSWtcpwrap
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-snmp=shared,$(prefix)
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWnetsnmp CSWosslrt CSWtcpwrap
-
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5snmp = .*/lib/php/extensions/.*/snmp.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_soap/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_soap/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_soap/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,50 +1,12 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = soap
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5soap
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5soap = php5_soap
+SPKG_DESC_CSWphp5soap = soap Extention for PHP5
+REQUIRED_PKGS_CSWphp5soap = CSWphp5 CSWiconv CSWlibxml2 CSWzlib
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
-
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWiconv CSWlibxml2 CSWzlib
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
+CONFIGURE_ARGS += --enable-soap=shared
 CONFIGURE_ARGS += --with-libxml-dir=$(prefix)
 
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5soap = .*/lib/php/extensions/.*/soap.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_sockets/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_sockets/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_sockets/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = sockets
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5sockets
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5sockets = php5_sockets
+SPKG_DESC_CSWphp5sockets = sockets Extention for PHP5
+REQUIRED_PKGS_CSWphp5sockets = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-sockets=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5sockets = .*/lib/php/extensions/.*/sockets.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_sqlite/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_sqlite/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_sqlite/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,13 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = sqlite
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5sqlite
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5sqlite = php5_sqlite
+SPKG_DESC_CSWphp5sqlite = sqlite Extention for PHP5
+REQUIRED_PKGS_CSWphp5sqlite = CSWphp5 CSWsqlite
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --with-sqlite=shared,$(prefix)
+CONFIGURE_ARGS += --enable-sqlite-utf8
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5sqlite = .*/lib/php/extensions/.*/sqlite.*
+PKGFILES_CSWphp5sqlite += .*/include/php/ext/sqlite/.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_sysvmsg/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_sysvmsg/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_sysvmsg/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = sysvmsg
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5sysvmsg
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5sysvmsg = php5_sysvmsg
+SPKG_DESC_CSWphp5sysvmsg = sysvmsg Extention for PHP5
+REQUIRED_PKGS_CSWphp5sysvmsg = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-PHP_PREFIX = $(prefix)/php5
-PHP_BIN = $(PHP_PREFIX)/bin
+CONFIGURE_ARGS += --enable-sysvsem=shared
 
-PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
-STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
-STRIP_DIRS += $(PHP5ROOT)/bin
-
-
-PACKAGES = CSWphp5$(PHP5EXT_NAME)
-
-MASTER_SITES = http://www.php.net/releases/
-SPKG_SOURCEURL = http://www.php.net/get/
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
-
-DISTFILES = $(DISTNAME).tar.bz2
-
-CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
-SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
-
-CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
-
-post-extract-modulated:
-	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
-	$(DONADA)
-
-
-TEST_SCRIPTS = manual
-
-test-manual:
-	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
-		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
-	$(DONADA)
-
-include gar/category.mk
+PKGFILES_CSWphp5sysvmsg = .*/lib/php/extensions/.*/sysvmsg.*

Modified: csw/mgar/pkg/php5/trunk/extensions/php5_sysvsem/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_sysvsem/Makefile	2009-03-06 02:27:11 UTC (rev 3601)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_sysvsem/Makefile	2009-03-06 02:33:08 UTC (rev 3602)
@@ -1,49 +1,11 @@
-GARNAME = php
-GARVERSION = 5.2.6
-CATEGORIES = lang
 PHP5EXT_NAME = sysvsem
 
-DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
-define BLURB
-   $(PHP5EXT_NAME) Extention for PHP
-endef
+PACKAGES += CSWphp5sysvsem
 
-WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
+CATALOGNAME_CSWphp5sysvsem = php5_sysvsem
+SPKG_DESC_CSWphp5sysvsem = sysvsem Extention for PHP5
+REQUIRED_PKGS_CSWphp5sysvsem = CSWphp5
 
-INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)

@@ Diff output truncated at 100000 characters. @@

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list