Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2022 12:17:42 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 09cc587ea809 - main - www/zend-framework: Remove CONFLICTS
Message-ID:  <202201251217.20PCHgKi099848@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=09cc587ea809299e199466740a4c4a8a70c5a6b6

commit 09cc587ea809299e199466740a4c4a8a70c5a6b6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-01-25 12:16:11 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-01-25 12:16:11 +0000

    www/zend-framework: Remove CONFLICTS
    
    - Conflicting www/zend-framework1 has been removed from tree
    - OPTIONize port
    
    Approved by:    portmgr (infrastructure sweep)
---
 www/zend-framework/Makefile | 77 +++++++++++++--------------------------------
 1 file changed, 21 insertions(+), 56 deletions(-)

diff --git a/www/zend-framework/Makefile b/www/zend-framework/Makefile
index 04104810343b..c8ca8193043b 100644
--- a/www/zend-framework/Makefile
+++ b/www/zend-framework/Makefile
@@ -13,77 +13,42 @@ COMMENT=	Framework for developing PHP web applications
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-CONFLICTS=	ZendFramework-1.*
+USES=		gettext php:web,flavors tar:tgz
+USE_PHP=	spl
 
 NO_ARCH=	yes
 NO_BUILD=	yes
-USE_PHP=	spl
-USES=		gettext php:web,flavors tar:tgz
-
 SUB_FILES=	pkg-message
 
-OPTIONS_DEFINE=	DOCS MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP MEMCACHE
-OPTIONS_DEFAULT=REQPHP
+PORTDOCS=	CHANGELOG.md CONTRIBUTING.md INSTALL.md README-GIT.md README.md
+
+OPTIONS_DEFINE=		DBLIB DOCS MEMCACHE MYSQL MYSQLI ODBC OPTPHP PGSQL \
+			REQPHP SQLITE
+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
+MYSQLI_DESC=	Enable MySQLi support
+OPTPHP_DESC=	Install optional PHP dependencies
+REQPHP_DESC=	Install required PHP dependencies
 
-PORTDOCS=	CHANGELOG.md INSTALL.md README-GIT.md CONTRIBUTING.md README.md
-
-.include <bsd.port.pre.mk>
-
+DBLIB_USE=	PHP=pdo_dblib
+MEMCACHE_USE=	PHP=memcache,memcached
+MYSQLI_USE=	PHP=mysqli
+MYSQL_USE=	PHP=pdo_mysql
+ODBC_USE=	PHP=pdo_odbc
+OPTPHP_USE=	PHP=bcmath,bitset,json,posix
+PGSQL_USE=	PHP=pdo_pgsql
 # 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 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
+REQPHP_USE=	PHP=ctype,curl,dom,gd,hash,iconv,ldap,mbstring,mcrypt,opcache,pcre,pdo,session,simplexml,soap,sqlite3,xml,zlib
+SQLITE_USE=	PHP=pdo_sqlite
 
 do-install:
 	cd ${WRKSRC} && ${COPYTREE_SHARE} "library bin resources" ${STAGEDIR}${DATADIR}
 
-.if ${PORT_OPTIONS:MDOCS}
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
-.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201251217.20PCHgKi099848>