mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
www/zend-framework: update to 2.2.1
- Update to 2.2.1 - Copy old version to www/zend-framework1 - Chase mail/squirrelmail-postfixadmin-plugin dependency - Take maintainership If you wish to stay with the older version run: # portmaster -o www/zend-framework1 www/zend-framework or # portupgrade -fo www/zend-framework1 www/zend-framework or # pkg set -o www/zend-framework:www/zend-framework1 PR: ports/179689 Submitted by: wg (myself) Approved by: maintainer
This commit is contained in:
parent
3bef0b912a
commit
2e4da07308
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323238
13
UPDATING
13
UPDATING
@ -5,6 +5,19 @@ they are unavoidable.
|
||||
You should get into the habit of checking this file for changes each time
|
||||
you update your ports collection, before attempting any port upgrades.
|
||||
|
||||
20130718:
|
||||
AFFECTS: users of www/zend-framework
|
||||
AUTHOR: wg@FreeBSD.org
|
||||
|
||||
zend-framework has been updated to 2.2.1 and old 1.12.0 has been copied
|
||||
to www/zend-framework1. If you wish to stay with the older version run:
|
||||
|
||||
# portmaster -o www/zend-framework1 www/zend-framework
|
||||
or
|
||||
# portupgrade -fo www/zend-framework1 www/zend-framework
|
||||
or
|
||||
# pkg set -o www/zend-framework:www/zend-framework1
|
||||
|
||||
20130714:
|
||||
AFFECTS: users of net/avahi-gtk
|
||||
AUTHOR: kwm@FreeBSD.org
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= postfixadmin
|
||||
PORTVERSION= 2.3.0
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= http://a.aranea.brtsvcs.net/sm-pfa-plugin/ \
|
||||
http://b.aranea.brtsvcs.net/sm-pfa-plugin/
|
||||
@ -14,7 +14,7 @@ DIST_SUBDIR= squirrelmail
|
||||
MAINTAINER= ports.maintainer@evilphi.com
|
||||
COMMENT= Lets users change password, vacation, and forwarding
|
||||
|
||||
RUN_DEPENDS= ZendFramework>=1.9.0:${PORTSDIR}/www/zend-framework
|
||||
RUN_DEPENDS= ZendFramework>=1.9.0:${PORTSDIR}/www/zend-framework1
|
||||
|
||||
USE_BZIP2= yes
|
||||
DEFAULT_PHP_VER= 53
|
||||
|
@ -1,29 +1,27 @@
|
||||
# New ports collection makefile for: zend-framework
|
||||
# Date created: 31 October 2006
|
||||
# Whom: Greg Larkin <glarkin@FreeBSD.org>
|
||||
#
|
||||
# Created by: Greg Larkin <glarkin@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ZendFramework
|
||||
PORTVERSION= 1.12.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.2.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://packages.zendframework.com/releases/${DISTNAME}/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= glarkin@FreeBSD.org
|
||||
COMMENT= A framework for developing PHP web applications
|
||||
MAINTAINER= wg@FreeBSD.org
|
||||
COMMENT= Framework for developing PHP web applications
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
CONFLICTS= ZendFramework-1.*
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_PHP= spl
|
||||
WANT_PHP_WEB= yes
|
||||
USES= gettext
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP
|
||||
OPTIONS_DEFINE= DOCS MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP
|
||||
OPTIONS_DEFAULT=REQPHP
|
||||
|
||||
MYSQL_DESC= Enable MySQL PDO support
|
||||
@ -35,27 +33,15 @@ SQLITE_DESC= Enable SQLite v3 PDO support
|
||||
REQPHP_DESC= Install required PHP dependencies
|
||||
OPTPHP_DESC= Install optional PHP dependencies
|
||||
|
||||
PORTDOCS= CHANGELOG.md INSTALL.md README-GIT.md CONTRIBUTING.md README.md
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
|
||||
${PORTNAME}-${PORTVERSION}-manual-en${EXTRACT_SUFX}
|
||||
.endif
|
||||
|
||||
INSTALL_DIRS= library extras/library externals/dojo/dijit \
|
||||
externals/dojo/dojo externals/dojo/dojox \
|
||||
externals/dojo/util
|
||||
|
||||
# Add all of the required and/or optional PHP extension dependencies,
|
||||
# if chosen by the user.
|
||||
#
|
||||
# See http://framework.zend.com/manual/1.12/en/requirements.introduction.html
|
||||
# for a table of what PHP extensions are required for what ZF classes.
|
||||
|
||||
.if ${PORT_OPTIONS:MREQPHP}
|
||||
USE_PHP+= apc ctype curl dom gd hash iconv mbstring ldap mcrypt \
|
||||
pcre pdo session simplexml soap \
|
||||
wddx xml zlib
|
||||
pcre pdo session simplexml soap wddx xml zlib
|
||||
.if ${PHP_VER} == 52
|
||||
USE_PHP+= sqlite
|
||||
.else
|
||||
@ -93,48 +79,12 @@ USE_PHP+= pdo_sqlite
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} "${INSTALL_DIRS}" ${DATADIR}
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DATADIR}
|
||||
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
|
||||
${DATADIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
|
||||
@${FIND} ${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
|
||||
@${ECHO_CMD} '@exec ${FIND} ${DATADIR} -type f -print0 | \
|
||||
${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST}
|
||||
@${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
@${ECHO_CMD} '@exec ${FIND} ${DATADIR} -type d -print0 | \
|
||||
${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST}
|
||||
@cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} zf.sh ${PREFIX}/bin/zf
|
||||
@cd ${WRKSRC}/bin && ${INSTALL_DATA} zf.php ${PREFIX}/bin/zf.php
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} "demos tests" ${EXAMPLESDIR}
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${EXAMPLESDIR}
|
||||
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
|
||||
${EXAMPLESDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
|
||||
@${FIND} ${EXAMPLESDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
|
||||
@${ECHO_CMD} '@exec ${FIND} ${EXAMPLESDIR} -type f -print0 | \
|
||||
${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST}
|
||||
@${FIND} ${EXAMPLESDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
@${ECHO_CMD} '@exec ${FIND} ${EXAMPLESDIR} -type d -print0 | \
|
||||
${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST}
|
||||
.endif
|
||||
|
||||
# Maintainer-mode target to speed up fixup of output from genplist
|
||||
fix-new-plist:
|
||||
@if [ -f pkg-plist.new ]; then \
|
||||
${PERL} -ni.bak -e \
|
||||
's#^(.*%%DATADIR%%/externals)#%%DOJO%%$$1#g; \
|
||||
print;' pkg-plist.new; \
|
||||
else \
|
||||
${ECHO_CMD} Please run genplist to create pkg-plist.new; \
|
||||
fi
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} "library bin resources" ${DATADIR}
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${INSTALL} -d ${DOCSDIR}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} "INSTALL.txt README.txt" ${DOCSDIR}
|
||||
@${INSTALL} -d ${DOCSDIR}/manual
|
||||
@cd ${WRKSRC}/documentation/manual/core/en && \
|
||||
${COPYTREE_SHARE} . ${DOCSDIR}/manual
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
SHA256 (ZendFramework-1.12.0.tar.gz) = 99876e3b00fdac4b6a1407119c1691043becaba090dc01d37a49bf6e208f92e0
|
||||
SIZE (ZendFramework-1.12.0.tar.gz) = 25258326
|
||||
SHA256 (ZendFramework-1.12.0-manual-en.tar.gz) = 495a4ce01bc255e14c7c50e66d4ad2c48229793797d9b0ca5efb493ba5de3c06
|
||||
SIZE (ZendFramework-1.12.0-manual-en.tar.gz) = 3488381
|
||||
SHA256 (ZendFramework-2.2.1.tgz) = aa11363ac4627e6577f9946acf643734b2423270af588bcb0d6cb596477d680e
|
||||
SIZE (ZendFramework-2.2.1.tgz) = 1511466
|
||||
SHA256 (ZendFramework-2.2.1-manual-en.tgz) = 0f6ff595065bf285e12c9ed89566043fe1508a049714dc85a570ce4b9316a07c
|
||||
SIZE (ZendFramework-2.2.1-manual-en.tgz) = 5514983
|
||||
|
@ -8,21 +8,6 @@ For example, insert:
|
||||
|
||||
into `%%LOCALBASE%%/etc/php.ini'.
|
||||
|
||||
Zend Framework includes the Zend_Tool class and wrapper script
|
||||
for automating many common framework-related tasks. To use the
|
||||
zf wrapper script, set the following environment variable:
|
||||
|
||||
Bourne shell:
|
||||
export ZEND_TOOL_INCLUDE_PATH_PREPEND= \
|
||||
%%DATADIR%%/library
|
||||
|
||||
C-shell:
|
||||
setenv ZEND_TOOL_INCLUDE_PATH_PREPEND \
|
||||
%%DATADIR%%/library
|
||||
|
||||
Documentation for the Zend_Tool class is found at:
|
||||
http://framework.zend.com/manual/1.12/en/zend.tool.framework.introduction.html
|
||||
|
||||
For more general information about the Zend Framework, please
|
||||
visit: http://framework.zend.com/
|
||||
***************************************************************
|
||||
|
File diff suppressed because it is too large
Load Diff
143
www/zend-framework1/Makefile
Normal file
143
www/zend-framework1/Makefile
Normal file
@ -0,0 +1,143 @@
|
||||
# New ports collection makefile for: zend-framework
|
||||
# Date created: 31 October 2006
|
||||
# Whom: Greg Larkin <glarkin@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ZendFramework
|
||||
PORTVERSION= 1.12.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://packages.zendframework.com/releases/${DISTNAME}/
|
||||
|
||||
MAINTAINER= wg@FreeBSD.org
|
||||
COMMENT= A framework for developing PHP web applications
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_PHP= spl
|
||||
WANT_PHP_WEB= yes
|
||||
USES= gettext
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
CONFLICTS= ZendFramework-2.*
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP
|
||||
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
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
|
||||
${PORTNAME}-${PORTVERSION}-manual-en${EXTRACT_SUFX}
|
||||
.endif
|
||||
|
||||
INSTALL_DIRS= library extras/library externals/dojo/dijit \
|
||||
externals/dojo/dojo externals/dojo/dojox \
|
||||
externals/dojo/util
|
||||
|
||||
# Add all of the required and/or optional PHP extension dependencies,
|
||||
# if chosen by the user.
|
||||
#
|
||||
# See http://framework.zend.com/manual/1.12/en/requirements.introduction.html
|
||||
# for a table of what PHP extensions are required for what ZF classes.
|
||||
|
||||
.if ${PORT_OPTIONS:MREQPHP}
|
||||
USE_PHP+= apc ctype curl dom gd hash iconv mbstring ldap mcrypt \
|
||||
pcre pdo session simplexml soap \
|
||||
wddx xml zlib
|
||||
.if ${PHP_VER} == 52
|
||||
USE_PHP+= sqlite
|
||||
.else
|
||||
USE_PHP+= sqlite3
|
||||
.endif
|
||||
RUN_DEPENDS+= pecl-memcache>=0:${PORTSDIR}/databases/pecl-memcache \
|
||||
pecl-memcached>=0:${PORTSDIR}/databases/pecl-memcached
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MOPTPHP}
|
||||
USE_PHP+= bcmath bitset json posix
|
||||
.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} "${INSTALL_DIRS}" ${DATADIR}
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DATADIR}
|
||||
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
|
||||
${DATADIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
|
||||
@${FIND} ${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
|
||||
@${ECHO_CMD} '@exec ${FIND} ${DATADIR} -type f -print0 | \
|
||||
${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST}
|
||||
@${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
@${ECHO_CMD} '@exec ${FIND} ${DATADIR} -type d -print0 | \
|
||||
${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST}
|
||||
@cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} zf.sh ${PREFIX}/bin/zf
|
||||
@cd ${WRKSRC}/bin && ${INSTALL_DATA} zf.php ${PREFIX}/bin/zf.php
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} "demos tests" ${EXAMPLESDIR}
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${EXAMPLESDIR}
|
||||
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
|
||||
${EXAMPLESDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
|
||||
@${FIND} ${EXAMPLESDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
|
||||
@${ECHO_CMD} '@exec ${FIND} ${EXAMPLESDIR} -type f -print0 | \
|
||||
${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST}
|
||||
@${FIND} ${EXAMPLESDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
@${ECHO_CMD} '@exec ${FIND} ${EXAMPLESDIR} -type d -print0 | \
|
||||
${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST}
|
||||
.endif
|
||||
|
||||
# Maintainer-mode target to speed up fixup of output from genplist
|
||||
fix-new-plist:
|
||||
@if [ -f pkg-plist.new ]; then \
|
||||
${PERL} -ni.bak -e \
|
||||
's#^(.*%%DATADIR%%/externals)#%%DOJO%%$$1#g; \
|
||||
print;' pkg-plist.new; \
|
||||
else \
|
||||
${ECHO_CMD} Please run genplist to create pkg-plist.new; \
|
||||
fi
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${INSTALL} -d ${DOCSDIR}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} "INSTALL.txt README.txt" ${DOCSDIR}
|
||||
@${INSTALL} -d ${DOCSDIR}/manual
|
||||
@cd ${WRKSRC}/documentation/manual/core/en && \
|
||||
${COPYTREE_SHARE} . ${DOCSDIR}/manual
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
4
www/zend-framework1/distinfo
Normal file
4
www/zend-framework1/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
SHA256 (ZendFramework-1.12.0.tar.gz) = 99876e3b00fdac4b6a1407119c1691043becaba090dc01d37a49bf6e208f92e0
|
||||
SIZE (ZendFramework-1.12.0.tar.gz) = 25258326
|
||||
SHA256 (ZendFramework-1.12.0-manual-en.tar.gz) = 495a4ce01bc255e14c7c50e66d4ad2c48229793797d9b0ca5efb493ba5de3c06
|
||||
SIZE (ZendFramework-1.12.0-manual-en.tar.gz) = 3488381
|
28
www/zend-framework1/files/pkg-message.in
Normal file
28
www/zend-framework1/files/pkg-message.in
Normal file
@ -0,0 +1,28 @@
|
||||
|
||||
***************************************************************
|
||||
Now you need to adjust PHP's include_path to contain
|
||||
`%%DATADIR%%/library'
|
||||
|
||||
For example, insert:
|
||||
include_path = ".:%%DATADIR%%/library"
|
||||
|
||||
into `%%LOCALBASE%%/etc/php.ini'.
|
||||
|
||||
Zend Framework includes the Zend_Tool class and wrapper script
|
||||
for automating many common framework-related tasks. To use the
|
||||
zf wrapper script, set the following environment variable:
|
||||
|
||||
Bourne shell:
|
||||
export ZEND_TOOL_INCLUDE_PATH_PREPEND= \
|
||||
%%DATADIR%%/library
|
||||
|
||||
C-shell:
|
||||
setenv ZEND_TOOL_INCLUDE_PATH_PREPEND \
|
||||
%%DATADIR%%/library
|
||||
|
||||
Documentation for the Zend_Tool class is found at:
|
||||
http://framework.zend.com/manual/1.12/en/zend.tool.framework.introduction.html
|
||||
|
||||
For more general information about the Zend Framework, please
|
||||
visit: http://framework.zend.com/
|
||||
***************************************************************
|
6
www/zend-framework1/pkg-descr
Normal file
6
www/zend-framework1/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
This is a port of the Zend Framework. The Zend Framework aims to
|
||||
provide an architecture for developing entire applications with no
|
||||
other library dependencies. This code will always be actively developed,
|
||||
tested, and supported by Zend and the PHP Collaboration Project.
|
||||
|
||||
WWW: http://framework.zend.com/
|
12393
www/zend-framework1/pkg-plist
Normal file
12393
www/zend-framework1/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user