freebsd-ports/www/zend-framework/Makefile
Torsten Zuehlsdorff cb617f8a71 In order to switch to PHP 7.4 as new default, we need to ignore some ports.
These are relying on the wddx module of PHP, which was removed in 7.4.

Therefore the following ports are marked as IGNORE_WITH_PHP= 74
* www/glpi
* www/zend-framework
* www/zend-framework1

PR:		248074
Sponsored by:	Bounce Experts
2020-07-28 07:51:52 +00:00

92 lines
2.0 KiB
Makefile

# Created by: Greg Larkin <glarkin@FreeBSD.org>
# $FreeBSD$
PORTNAME= ZendFramework
PORTVERSION= 2.3.3
PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= https://packages.zendframework.com/releases/${DISTNAME}/
MAINTAINER= wg@FreeBSD.org
COMMENT= Framework for developing PHP web applications
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
IGNORE_WITH_PHP= 74
CONFLICTS= ZendFramework-1.*
NO_ARCH= yes
NO_BUILD= yes
USE_PHP= spl
USES= gettext php:web tar:tgz
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP MEMCACHE
OPTIONS_DEFAULT=REQPHP
MYSQL_DESC= Enable MySQL PDO support
MYSQLI_DESC= Enable MySQLi support
DBLIB_DESC= Enable DBLIB PDO support
PGSQL_DESC= Enable PostgreSQL PDO support
ODBC_DESC= Enable ODBC PDO support
SQLITE_DESC= Enable SQLite v3 PDO support
REQPHP_DESC= Install required PHP dependencies
OPTPHP_DESC= Install optional PHP dependencies
MEMCACHE_DESC= Enable memcache support
PORTDOCS= CHANGELOG.md INSTALL.md README-GIT.md CONTRIBUTING.md README.md
.include <bsd.port.pre.mk>
# Add all of the required and/or optional PHP extension dependencies,
# if chosen by the user.
.if ${PORT_OPTIONS:MREQPHP}
USE_PHP+= ctype curl dom gd hash iconv mbstring ldap mcrypt \
opcache pcre pdo session simplexml soap sqlite3 wddx xml zlib
.endif
.if ${PORT_OPTIONS:MOPTPHP}
USE_PHP+= bcmath bitset json posix
.endif
.if ${PORT_OPTIONS:MMEMCACHE}
USE_PHP+= memcache memcached
.endif
.if ${PORT_OPTIONS:MMYSQL}
USE_PHP+= pdo_mysql
.endif
.if ${PORT_OPTIONS:MMYSQLI}
USE_PHP+= mysqli
.endif
.if ${PORT_OPTIONS:MDBLIB}
USE_PHP+= pdo_dblib
.endif
.if ${PORT_OPTIONS:MPGSQL}
USE_PHP+= pdo_pgsql
.endif
.if ${PORT_OPTIONS:MODBC}
USE_PHP+= pdo_odbc
.endif
.if ${PORT_OPTIONS:MSQLITE}
USE_PHP+= pdo_sqlite
.endif
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} "library bin resources" ${STAGEDIR}${DATADIR}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.post.mk>