aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php5-extensions/Makefile
blob: 9730c365ba7b55b2fa4c19e6cbba9319b257a5e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# New ports collection makefile for:    php5-extensions
# Date created:         7 Jul 2004
# Whom:             Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   php5
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 \
        DOM             "DOM support" on \
        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" on \
        IMAP            "IMAP support" off \
        INTERBASE       "Interbase 6 database support (Firebird)" off \
        LDAP            "OpenLDAP support" off \
        MBSTRING        "multibyte string 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" off \
        MYSQLI          "MySQLi database support" off \
        NCURSES         "ncurses support (CLI only)" off \
        ODBC            "unixODBC support" off \
        OPENSSL         "OpenSSL support" off \
        ORACLE          "Oracle support" off \
        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 \
        SIMPLEXML       "simplexml support" on \
        SNMP            "SNMP support" off \
        SOAP            "SOAP support" off \
        SOCKETS         "sockets support" off \
        SQLITE          "sqlite support" on \
        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 \
        TIDY            "TIDY support" off \
        TOKENIZER       "tokenizer support" on \
        WDDX            "WDDX support (implies XML)" off \
        XML             "XML support" on \
        XMLRPC          "XMLRPC-EPI support" off \
        XSL             "XSL support (Implies DOM)" off \
        YAZ             "YAZ support (ANSI/NISO Z39.50)" off \
        YP              "YP/NIS support" off \
        ZIP             "ZIP support" off \
        ZLIB            "ZLIB support" off

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 \
        DOM EXIF FILEPRO FRIBIDI FTP GD GETTEXT \
        GMP HYPERWAVE ICONV IMAP INTERBASE LDAP MBSTRING MCRYPT \
        MCVE MHASH MIME_MAGIC MING MNOGOSEARCH MSSQL MYSQL MYSQLI \
        NCURSES ODBC OPENSSL ORACLE PANDA PCNTL PCRE PDF PGSQL POSIX \
        PSPELL READLINE RECODE SESSION SHMOP SIMPLEXML SNMP SOAP \
        SOCKETS SQLITE SYBASE SYBASE_CT SYSVMSG SYSVSEM SYSVSHM \
        TIDY TOKENIZER WDDX XML XMLRPC XSL 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>