pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc new PHP extension module framework, which makes it pos...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9dd0d7e1029
branches:  trunk
changeset: 482654:d9dd0d7e1029
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sun Oct 31 19:30:29 2004 +0000

description:
new PHP extension module framework, which makes it possible to build
individual PHP extension packages with either PHP 4.x or PHP 5.x

convert existing php4-* packages to this framework and import as php-*

diffstat:

 archivers/php-bz2/DESCR        |   2 +
 archivers/php-bz2/Makefile     |  14 ++++++++
 archivers/php-zlib/DESCR       |   2 +
 archivers/php-zlib/Makefile    |  17 ++++++++++
 converters/php-iconv/DESCR     |   3 +
 converters/php-iconv/Makefile  |  27 +++++++++++++++
 databases/php-dba/DESCR        |   2 +
 databases/php-dba/Makefile     |  27 +++++++++++++++
 databases/php-dbase/DESCR      |   2 +
 databases/php-dbase/Makefile   |  13 +++++++
 databases/php-filepro/DESCR    |   2 +
 databases/php-filepro/Makefile |  13 +++++++
 databases/php-ldap/DESCR       |   2 +
 databases/php-ldap/Makefile    |  14 ++++++++
 databases/php-mssql/DESCR      |   2 +
 databases/php-mssql/Makefile   |  13 +++++++
 databases/php-mysql/DESCR      |   2 +
 databases/php-mysql/Makefile   |  19 +++++++++++
 databases/php-odbc/DESCR       |   2 +
 databases/php-odbc/Makefile    |  14 ++++++++
 databases/php-pgsql/DESCR      |   2 +
 databases/php-pgsql/Makefile   |  14 ++++++++
 devel/php-gettext/DESCR        |   2 +
 devel/php-gettext/Makefile     |  14 ++++++++
 devel/php-gmp/DESCR            |   2 +
 devel/php-gmp/Makefile         |  14 ++++++++
 devel/php-posix/DESCR          |   2 +
 devel/php-posix/Makefile       |  13 +++++++
 devel/php-shmop/DESCR          |  14 ++++++++
 devel/php-shmop/Makefile       |  13 +++++++
 devel/php-sysvsem/DESCR        |   2 +
 devel/php-sysvsem/Makefile     |  13 +++++++
 devel/php-sysvshm/DESCR        |   2 +
 devel/php-sysvshm/Makefile     |  13 +++++++
 graphics/php-exif/DESCR        |   4 ++
 graphics/php-exif/Makefile     |  13 +++++++
 graphics/php-gd/DESCR          |   2 +
 graphics/php-gd/Makefile       |  28 ++++++++++++++++
 lang/php/ext.mk                |  13 +++++++
 lang/php/phpversion.mk         |  71 ++++++++++++++++++++++++++++++++++++++++++
 mail/php-imap/DESCR            |   3 +
 mail/php-imap/Makefile         |  21 ++++++++++++
 math/php-bcmath/DESCR          |   2 +
 math/php-bcmath/Makefile       |  13 +++++++
 misc/php-calendar/DESCR        |   2 +
 misc/php-calendar/Makefile     |  13 +++++++
 misc/php-mbstring/DESCR        |   2 +
 misc/php-mbstring/Makefile     |  13 +++++++
 net/php-ftp/DESCR              |   2 +
 net/php-ftp/Makefile           |  18 ++++++++++
 net/php-snmp/DESCR             |   2 +
 net/php-snmp/Makefile          |  14 ++++++++
 net/php-sockets/DESCR          |   2 +
 net/php-sockets/Makefile       |  13 +++++++
 net/php-yp/DESCR               |   2 +
 net/php-yp/Makefile            |  13 +++++++
 security/php-mcrypt/DESCR      |   2 +
 security/php-mcrypt/Makefile   |  14 ++++++++
 security/php-mhash/DESCR       |   2 +
 security/php-mhash/Makefile    |  14 ++++++++
 security/php-openssl/DESCR     |   2 +
 security/php-openssl/Makefile  |  21 ++++++++++++
 textproc/php-wddx/DESCR        |   2 +
 textproc/php-wddx/Makefile     |  14 ++++++++
 www/php-curl/DESCR             |   2 +
 www/php-curl/Makefile          |  14 ++++++++
 66 files changed, 665 insertions(+), 0 deletions(-)

diffs (truncated from 929 to 300 lines):

diff -r 2d235c5aa593 -r d9dd0d7e1029 archivers/php-bz2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/php-bz2/DESCR   Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides bzip2 compression support.
diff -r 2d235c5aa593 -r d9dd0d7e1029 archivers/php-bz2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/php-bz2/Makefile        Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME=               bz2
+CATEGORIES+=           archivers
+PKGREVISION=           # empty
+COMMENT=               PHP extension for bzip2 compression
+
+USE_BUILDLINK3=                YES
+
+CONFIGURE_ARGS+=       --with-${MODNAME}=shared,${BUILDLINK_PREFIX.bzip2}
+
+.include "../../lang/php/ext.mk"
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2d235c5aa593 -r d9dd0d7e1029 archivers/php-zlib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/php-zlib/DESCR  Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides zlib compression support.
diff -r 2d235c5aa593 -r d9dd0d7e1029 archivers/php-zlib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/php-zlib/Makefile       Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:29 jdolecek Exp $
+
+MODNAME=               zlib
+CATEGORIES+=           archivers
+PKGREVISION=           # empty
+COMMENT=               PHP extension for zlib compression
+
+USE_BUILDLINK3=                YES
+
+CONFIGURE_ARGS+=       --with-${MODNAME}-dir=${BUILDLINK_DIR}
+
+post-extract:
+       cd ${WRKSRC}; ${RM} -f config.m4; ${LN} -sf config0.m4 config.m4
+
+.include "../../lang/php/ext.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2d235c5aa593 -r d9dd0d7e1029 converters/php-iconv/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/php-iconv/DESCR        Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,3 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides character set conversion facility, using iconv()
+programming interface.
diff -r 2d235c5aa593 -r d9dd0d7e1029 converters/php-iconv/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/php-iconv/Makefile     Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME=               iconv
+CATEGORIES+=           converters
+PKGREVISION=           # empty
+COMMENT=               PHP extension for character set conversion
+
+USE_BUILDLINK3=                YES
+
+# this is necessary so that PHP would find either the libc iconv
+# or use the packaged iconv, as appropriate; using
+# --with-iconv=shared,${BUILDLINK_PREFIX.iconv} assumes libiconv exists
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../mk/bsd.prefs.mk"
+.include "../../mk/buildlink3/bsd.builtin.mk"
+
+.if !empty(USE_BUILTIN.iconv:M[nN][oO])
+# use libiconv
+CONFIGURE_ARGS+=       --with-iconv=shared,${BUILDLINK_PREFIX.iconv}
+.else
+# use libc-provided iconv
+CONFIGURE_ARGS+=       --with-iconv
+.endif
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-dba/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-dba/DESCR   Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides support for DBM database access.
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-dba/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-dba/Makefile        Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME=               dba
+CATEGORIES+=           databases
+PKGREVISION=           # empty
+COMMENT=               PHP extension for DBM database access
+
+USE_BUILDLINK3=                YES
+
+CONFIGURE_ARGS+=       --enable-${MODNAME}=shared
+
+CONFIGURE_ARGS+=       --without-cdb
+CONFIGURE_ARGS+=       --without-db2
+CONFIGURE_ARGS+=       --without-db3
+CONFIGURE_ARGS+=       --without-dbm
+
+.if exists(/usr/include/ndbm.h)
+CONFIGURE_ARGS+=       --without-gdbm
+CONFIGURE_ARGS+=       --with-ndbm=/usr
+.else
+CONFIGURE_ARGS+=       --with-gdbm=shared,${BUILDLINK_PREFIX.gdbm}
+CONFIGURE_ARGS+=       --without-ndbm
+.include "../../databases/gdbm/buildlink3.mk"
+.endif
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-dbase/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-dbase/DESCR Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides support for dBase database access.
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-dbase/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-dbase/Makefile      Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME=               dbase
+CATEGORIES+=           databases
+PKGREVISION=           # empty
+COMMENT=               PHP extension for dBase database access
+
+USE_BUILDLINK3=                YES
+
+CONFIGURE_ARGS+=       --with-${MODNAME}=shared
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-filepro/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-filepro/DESCR       Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides support for read-only filePro database access.
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-filepro/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-filepro/Makefile    Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME=               filepro
+CATEGORIES+=           databases
+PKGREVISION=           # empty
+COMMENT=               PHP extension for read-only filePro database access
+
+USE_BUILDLINK3=                YES
+
+CONFIGURE_ARGS+=       --with-${MODNAME}=shared
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-ldap/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-ldap/DESCR  Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to LDAP databases.
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-ldap/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-ldap/Makefile       Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME=               ldap
+PKGREVISION=           # empty
+CATEGORIES+=           databases
+COMMENT=               PHP extension for LDAP database access
+
+USE_BUILDLINK3=                YES
+
+CONFIGURE_ARGS+=       --with-${MODNAME}=shared,${BUILDLINK_PREFIX.openldap}
+
+.include "../../lang/php/ext.mk"
+.include "../../databases/openldap/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-mssql/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-mssql/DESCR Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to MS SQL databases, using FreeTDS.
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-mssql/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-mssql/Makefile      Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME=               mssql
+CATEGORIES+=           databases
+COMMENT=               PHP extension for MS SQL databases
+
+USE_BUILDLINK3=                yes
+
+CONFIGURE_ARGS+=       --with-${MODNAME}=shared,${BUILDLINK_DIR}/freetds
+
+.include "../../lang/php/ext.mk"
+.include "../../databases/freetds/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-mysql/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-mysql/DESCR Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides standard access to MySQL databases.
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-mysql/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-mysql/Makefile      Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME=               mysql
+CATEGORIES+=           databases
+PKGREVISION=           # empty
+COMMENT=               PHP extension for MySQL databases
+
+MAINTAINER=            tech-pkg%NetBSD.org@localhost
+
+USE_BUILDLINK3=                yes
+USE_PHP_EXT_PATCHES=   yes
+
+EVAL_PREFIX+=          MYSQLDIR=mysql-client
+CONFIGURE_ARGS+=       --with-${MODNAME}=shared,${MYSQLDIR}
+LDFLAGS+=              ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib/mysql
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-odbc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-odbc/DESCR  Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to ODBC data sources.
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-odbc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-odbc/Makefile       Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME=               odbc
+CATEGORIES+=           databases
+PKGREVISION=           # empty
+COMMENT=               PHP extension for ODBC access
+
+USE_BUILDLINK3=                YES
+
+CONFIGURE_ARGS+=       --with-unixODBC=shared,${BUILDLINK_PREFIX.unixodbc}
+
+.include "../../lang/php/ext.mk"
+.include "../../databases/unixodbc/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-pgsql/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pgsql/DESCR Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to PostgreSQL databases.
diff -r 2d235c5aa593 -r d9dd0d7e1029 databases/php-pgsql/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pgsql/Makefile      Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME=               pgsql
+PKGREVISION=           # empty
+CATEGORIES+=           databases
+COMMENT=               PHP extension for PostgreSQL databases
+
+USE_BUILDLINK3=                YES
+
+CONFIGURE_ARGS+=       --with-${MODNAME}=shared,${PGSQL_PREFIX}
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2d235c5aa593 -r d9dd0d7e1029 devel/php-gettext/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-gettext/DESCR   Sun Oct 31 19:30:29 2004 +0000
@@ -0,0 +1,2 @@



Home | Main Index | Thread Index | Old Index