aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-07-19 17:32:08 +0800
committerale <ale@FreeBSD.org>2004-07-19 17:32:08 +0800
commitdddda6c816c0f9f9f662f1e027e78d7f9001dca1 (patch)
treecdba7be3a9e432c161947bf395dd9f14785274a4
parent1093f30d181bbb8d49c68a888864136d296a30f1 (diff)
downloadfreebsd-ports-gnome-dddda6c816c0f9f9f662f1e027e78d7f9001dca1.tar.gz
freebsd-ports-gnome-dddda6c816c0f9f9f662f1e027e78d7f9001dca1.tar.zst
freebsd-ports-gnome-dddda6c816c0f9f9f662f1e027e78d7f9001dca1.zip
Add php4-extensions 1.0, a "meta-port" to install PHP extensions.
-rw-r--r--lang/Makefile1
-rw-r--r--lang/php4-extensions/Makefile116
-rw-r--r--lang/php4-extensions/pkg-descr9
3 files changed, 126 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 28eb62903f5d..a25462230950 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -170,6 +170,7 @@
SUBDIR += php4
SUBDIR += php4-cli
SUBDIR += php4-dtc
+ SUBDIR += php4-extensions
SUBDIR += php4-horde
SUBDIR += php4-nms
SUBDIR += php4-overload
diff --git a/lang/php4-extensions/Makefile b/lang/php4-extensions/Makefile
new file mode 100644
index 000000000000..876899751e1f
--- /dev/null
+++ b/lang/php4-extensions/Makefile
@@ -0,0 +1,116 @@
+# New ports collection makefile for: php4-extensions
+# Date created: 7 Jul 2004
+# Whom: Alex Dupre <ale@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= php4
+PORTVERSION= 1.0
+CATEGORIES= lang
+MASTER_SITES= # none
+PKGNAMESUFFIX= -extensions
+DISTFILES= # none
+EXTRACT_ONLY= # none
+
+MAINTAINER= ale@FreeBSD.org
+COMMENT= A "meta-port" to install PHP extensions
+
+NO_BUILD= # none
+
+OPTIONS= BCMATH "bc style precision math functions" off \
+ BZ2 "bzip2 library support" off \
+ CALENDAR "calendar conversion support" off \
+ CRACK "crack support" off \
+ CTYPE "ctype functions" on \
+ CURL "CURL support" off \
+ DBA "dba support" off \
+ DBASE "dBase library support" off \
+ DBX "dbx support" off \
+ DIO "Direct I/O support" off \
+ DOMXML "DOM support" off \
+ EXIF "EXIF support" off \
+ FILEPRO "filePro support" off \
+ FRIBIDI "FriBidi support" off \
+ FTP "FTP support" off \
+ GD "GD library support" off \
+ GETTEXT "gettext library support" off \
+ GMP "GNU MP support" off \
+ ICONV "iconv support" off \
+ IMAP "IMAP support" off \
+ INTERBASE "Interbase 6 database support (Firebird)" off \
+ LDAP "OpenLDAP support" off \
+ MBSTRING "multibyte string support" off \
+ MCAL "Modular Calendar Access Library support" off \
+ MCRYPT "Encryption support" off \
+ MCVE "MCVE support" off \
+ MHASH "Crypto-hashing support" off \
+ MING "ming shockwave flash support" off \
+ MNOGOSEARCH "mnoGoSearch support" off \
+ MSSQL "MS-SQL database support" off \
+ MYSQL "MySQL database support" on \
+ NCURSES "ncurses support (CLI only)" off \
+ ODBC "unixODBC support" off \
+ OPENSSL "OpenSSL support" off \
+ ORACLE "Oracle support" off \
+ OVERLOAD "user-space object overloading support" on \
+ PANDA "panda support" off \
+ PCNTL "pcntl support (CLI only)" off \
+ PCRE "Perl Compatible Regular Expression support" on \
+ PDF "PDFlib support (implies GD)" off \
+ PGSQL "PostgreSQL database support" off \
+ 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 \
+ SNMP "SNMP support" off \
+ SOCKETS "sockets support" off \
+ SYBASE "Sybase database support (DB-lib)" off \
+ SYBASE_CT "Sybase database support (CT-lib)" off \
+ SYSVMSG "System V message support" off \
+ SYSVSEM "System V semaphore support" off \
+ SYSVSHM "System V shared memory support" off \
+ TOKENIZER "tokenizer support" on \
+ WDDX "WDDX support (implies XML)" off \
+ XML "XML support" on \
+ XMLRPC "XMLRPC-EPI support" off \
+ XSLT "XSLT Sablotron support" off \
+ YAZ "YAZ support (ANSI/NISO Z39.50)" off \
+ YP "YP/NIS support" off \
+ ZIP "ZIP support" off \
+ ZLIB "ZLIB support" on
+
+PORT_DBDIR?= /var/db/ports
+LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
+OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
+
+.if exists(${OPTIONSFILE})
+.include "${OPTIONSFILE}"
+.endif
+
+ALL_OPTIONS= BCMATH BZ2 CALENDAR CRACK CTYPE CURL DBA DBASE DBX DIO \
+ DOMXML EXIF FILEPRO FRIBIDI FTP GD GETTEXT \
+ GMP HYPERWAVE ICONV IMAP INTERBASE LDAP MBSTRING MCAL MCRYPT \
+ MCVE MHASH MIME_MAGIC MING MNOGOSEARCH MSSQL MYSQL NCURSES \
+ ODBC OPENSSL ORACLE OVERLOAD PANDA PCNTL PCRE PDF PGSQL POSIX \
+ PSPELL READLINE RECODE SESSION SHMOP SNMP SOCKETS \
+ SYBASE SYBASE_CT SYSVMSG SYSVSEM SYSVSHM TOKENIZER \
+ WDDX XML XMLRPC XSLT YAZ YP ZIP ZLIB
+
+SEL_OPTIONS= yes
+.for opt in ${ALL_OPTIONS}
+. if defined(WITH_${opt})
+SEL_OPTIONS+= ${opt:L}
+. endif
+.endfor
+USE_PHP+= ${SEL_OPTIONS}
+
+do-build:
+ @${DO_NADA}
+
+do-install:
+ @${DO_NADA}
+
+.include <bsd.port.mk>
diff --git a/lang/php4-extensions/pkg-descr b/lang/php4-extensions/pkg-descr
new file mode 100644
index 000000000000..dcb80699edc0
--- /dev/null
+++ b/lang/php4-extensions/pkg-descr
@@ -0,0 +1,9 @@
+This is a "meta-port" to install the extensions for PHP 4.
+
+Defaults to:
+ctype, mysql, overload, pcre, posix, session, tokenizer, xml and zlib.
+
+WWW: http://www.php.net/
+
+- Alex Dupre
+ale@FreeBSD.org