summaryrefslogtreecommitdiff
path: root/lang/php53-extensions
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-05-16 09:46:51 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-05-16 09:46:51 +0000
commit902a0675beeba6c01a038f9594a0c532079fd2f2 (patch)
treee640f9d726eb930319bafe09a6173a5b67843921 /lang/php53-extensions
parentFix plist: don't remove nonexistent directories when built WITHOUT_PYTHON (diff)
readd php 5.3.13 and all its modules as php53*
Notes
Notes: svn path=/head/; revision=296760
Diffstat (limited to 'lang/php53-extensions')
-rw-r--r--lang/php53-extensions/Makefile127
-rw-r--r--lang/php53-extensions/pkg-descr6
2 files changed, 133 insertions, 0 deletions
diff --git a/lang/php53-extensions/Makefile b/lang/php53-extensions/Makefile
new file mode 100644
index 000000000000..0d5c03ce69a1
--- /dev/null
+++ b/lang/php53-extensions/Makefile
@@ -0,0 +1,127 @@
+# New ports collection makefile for: php53-extensions
+# Date created: 12 Apr 2012
+# Whom: Florian Smeets <flo@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= php53
+PORTVERSION= 1.6
+CATEGORIES= lang
+MASTER_SITES= # none
+PKGNAMESUFFIX= -extensions
+DISTFILES= # none
+EXTRACT_ONLY= # none
+
+MAINTAINER= flo@FreeBSD.org
+COMMENT= A "meta-port" to install PHP extensions
+
+DEFAULT_PHP_VER=53
+IGNORE_WITH_PHP=5 52
+USE_PHP_BUILD= yes
+
+NO_BUILD= yes
+
+LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
+
+WITH_CTYPE= yes
+WITH_DOM= yes
+WITH_FILTER= yes
+WITH_HASH= yes
+WITH_ICONV= yes
+WITH_JSON= yes
+WITH_PDO= yes
+WITH_PDO_SQLITE=yes
+WITH_PHAR= yes
+WITH_POSIX= yes
+WITH_SESSION= yes
+WITH_SIMPLEXML= yes
+WITH_SQLITE= yes
+WITH_SQLITE3= yes
+WITH_TOKENIZER= yes
+WITH_XML= yes
+WITH_XMLREADER= yes
+WITH_XMLWRITER= yes
+
+OPTIONS= BCMATH "bc style precision math functions" off \
+ BZ2 "bzip2 library support" off \
+ CALENDAR "calendar conversion support" off \
+ CTYPE "ctype functions" on \
+ CURL "CURL support" off \
+ DBA "dba support" off \
+ DOM "DOM support" on \
+ EXIF "EXIF support" off \
+ FILEINFO "fileinfo support" off \
+ FILTER "input filter support" on \
+ FTP "FTP support" off \
+ GD "GD library support" off \
+ GETTEXT "gettext library support" off \
+ GMP "GNU MP support" off \
+ HASH "HASH Message Digest Framework" on \
+ ICONV "iconv support" on \
+ IMAP "IMAP support" off \
+ INTERBASE "Interbase 6 database support (Firebird)" off \
+ JSON "JavaScript Object Serialization support" on \
+ LDAP "OpenLDAP support" off \
+ MBSTRING "multibyte string support" off \
+ MCRYPT "Encryption support" off \
+ MSSQL "MS-SQL database support" off \
+ MYSQL "MySQL database support" off \
+ MYSQLI "MySQLi database support" off \
+ ODBC "ODBC support" off \
+ OPENSSL "OpenSSL support" off \
+ PCNTL "pcntl support (CLI only)" off \
+ PDF "PDFlib support (implies GD)" off \
+ PDO "PHP Data Objects Interface (PDO)" on \
+ PDO_SQLITE "PDO sqlite driver" on \
+ PGSQL "PostgreSQL database support" off \
+ PHAR "phar support" on \
+ POSIX "POSIX-like functions" on \
+ PSPELL "pspell support" off \
+ READLINE "readline support (CLI only)" off \
+ RECODE "recode support" off \
+ SESSION "session support" on \
+ SHMOP "shmop support" off \
+ SIMPLEXML "simplexml support" on \
+ SNMP "SNMP support" off \
+ SOAP "SOAP support" off \
+ SOCKETS "sockets support" off \
+ SQLITE "sqlite support" on \
+ SQLITE3 "sqlite3 support" on \
+ SYBASE_CT "Sybase database support" off \
+ SYSVMSG "System V message support" off \
+ SYSVSEM "System V semaphore support" off \
+ SYSVSHM "System V shared memory support" off \
+ TIDY "TIDY support" off \
+ TOKENIZER "tokenizer support" on \
+ WDDX "WDDX support (implies XML)" off \
+ XML "XML support" on \
+ XMLREADER "XMLReader support" on \
+ XMLRPC "XMLRPC-EPI support" off \
+ XMLWRITER "XMLWriter support" on \
+ XSL "XSL support (Implies DOM)" off \
+ ZIP "ZIP support" off \
+ ZLIB "ZLIB support" off
+
+ALL_OPTIONS= BCMATH BZ2 CALENDAR CTYPE CURL DBA \
+ DOM EXIF FILEINFO FILTER FTP GD GETTEXT \
+ GMP HASH ICONV IMAP INTERBASE JSON LDAP MBSTRING MCRYPT \
+ MSSQL MYSQL MYSQLI \
+ ODBC OPENSSL PCNTL PDF PDO PDO_SQLITE PGSQL PHAR POSIX \
+ PSPELL READLINE RECODE SESSION SHMOP SIMPLEXML SNMP SOAP \
+ SOCKETS SQLITE SQLITE3 SYBASE_CT SYSVMSG SYSVSEM SYSVSHM \
+ TIDY TOKENIZER WDDX XML XMLREADER XMLRPC XMLWRITER XSL \
+ ZIP ZLIB
+
+.include <bsd.port.options.mk>
+
+.for opt in ${ALL_OPTIONS}
+. if defined(WITH_${opt}) && !defined(WITHOUT_${opt})
+USE_PHP+= ${opt:L}
+. endif
+.endfor
+
+do-install: build
+ @${DO_NADA}
+
+.include <bsd.port.mk>
diff --git a/lang/php53-extensions/pkg-descr b/lang/php53-extensions/pkg-descr
new file mode 100644
index 000000000000..5418bd0942d7
--- /dev/null
+++ b/lang/php53-extensions/pkg-descr
@@ -0,0 +1,6 @@
+This is a "meta-port" to install the extensions for PHP 5.
+
+Defaults to:
+ctype, dom, iconv, pcre, posix, session, simplexml, sqlite, tokenizer and xml.
+
+WWW: http://www.php.net/