- Update to 1.8.0
- Install Zend_Tool wrapper script and include details in pkg-message - Removed unnecessary OPTION - Install more documentation
This commit is contained in:
parent
6658718e67
commit
96d35ec3c8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233339
4 changed files with 1005 additions and 317 deletions
|
@ -6,9 +6,10 @@
|
|||
#
|
||||
|
||||
PORTNAME= ZendFramework
|
||||
PORTVERSION= 1.7.8
|
||||
PORTVERSION= 1.8.0
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://framework.zend.com/releases/${DISTNAME}/ GENTOO/distfiles
|
||||
MASTER_SITES= http://framework.zend.com/releases/${DISTNAME}/ \
|
||||
GENTOO/distfiles
|
||||
|
||||
MAINTAINER= glarkin@FreeBSD.org
|
||||
COMMENT= A framework for developing PHP web applications
|
||||
|
@ -23,7 +24,6 @@ SUB_FILES= pkg-message
|
|||
OPTIONS= \
|
||||
EDOJO "Install embedded Dojo" On \
|
||||
PDOJO "Install Dojo from ports" Off \
|
||||
INCUBATOR "Install incubator classes" Off \
|
||||
MYSQL "Install MySQL PDO support" Off \
|
||||
MYSQLI "Install MySQLi support" Off \
|
||||
DBLIB "Install DBLIB PDO support" Off \
|
||||
|
@ -34,10 +34,6 @@ OPTIONS= \
|
|||
REQPHP "Install required PHP dependencies" On \
|
||||
OPTPHP "Install optional PHP dependencies" Off
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= INSTALL.txt README.txt
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
IGNORE_WITH_PHP=4
|
||||
|
@ -47,7 +43,7 @@ IGNORE_WITH_PHP=4
|
|||
IGNORE= please select only one type of Dojo installation
|
||||
.endif
|
||||
|
||||
INSTALL_DIRS= library
|
||||
INSTALL_DIRS= library extras/library
|
||||
|
||||
.if defined(WITH_EDOJO)
|
||||
DOJO= ""
|
||||
|
@ -58,14 +54,6 @@ DOJO= "@comment "
|
|||
.endif
|
||||
PLIST_SUB+= DOJO=${DOJO}
|
||||
|
||||
.if defined(WITH_INCUBATOR)
|
||||
INCUBATOR= ""
|
||||
INSTALL_DIRS+= incubator
|
||||
.else
|
||||
INCUBATOR= "@comment "
|
||||
.endif
|
||||
PLIST_SUB+= INCUBATOR=${INCUBATOR}
|
||||
|
||||
.if defined(WITH_PDOJO)
|
||||
RUN_DEPENDS+= dojo>=0:${PORTSDIR}/www/dojo
|
||||
.endif
|
||||
|
@ -73,12 +61,13 @@ RUN_DEPENDS+= dojo>=0:${PORTSDIR}/www/dojo
|
|||
# Add all of the required and/or optional PHP extension dependencies,
|
||||
# if chosen by the user.
|
||||
#
|
||||
# See http://framework.zend.com/manual/en/requirements.extensions.html for
|
||||
# See http://framework.zend.com/manual/en/requirements.html for
|
||||
# a table of what PHP extensions are required for what ZF classes.
|
||||
|
||||
.if defined(WITH_REQPHP)
|
||||
USE_PHP+= apc ctype curl dom gd hash iconv mbstring \
|
||||
memcache pdo session simplexml soap xml zlib
|
||||
USE_PHP+= apc ctype curl dom gd hash iconv mbstring ldap mcrypt \
|
||||
memcache pcre pdo session simplexml soap spl \
|
||||
sqlite xml zlib
|
||||
.endif
|
||||
.if defined(WITH_OPTPHP)
|
||||
USE_PHP+= bcmath bitset json posix
|
||||
|
@ -123,6 +112,8 @@ do-install:
|
|||
@${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 !defined(NOPORTEXAMPLES)
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} "demos tests" ${EXAMPLESDIR}
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${EXAMPLESDIR}
|
||||
|
@ -139,9 +130,8 @@ do-install:
|
|||
# Maintainer-mode target to speed up fixup of output from genplist
|
||||
fix-new-plist:
|
||||
@if [ -f pkg-plist.new ]; then \
|
||||
${PERL} -ni.bak -e 'next if /PORTDOCS/; \
|
||||
s#^(.*%%DATADIR%%/externals)#%%DOJO%%$$1#g; \
|
||||
s#^(.*%%DATADIR%%/incubator)#%%INCUBATOR%%$$1#g; \
|
||||
${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; \
|
||||
|
@ -150,7 +140,13 @@ fix-new-plist:
|
|||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${INSTALL} -d ${DOCSDIR}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${DOCSDIR}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} "INSTALL.txt README.txt" ${DOCSDIR}
|
||||
@${INSTALL} -d ${DOCSDIR}/extras/api
|
||||
@cd ${WRKSRC}/extras/documentation/api/extras && \
|
||||
${COPYTREE_SHARE} . ${DOCSDIR}/extras/api
|
||||
@${INSTALL} -d ${DOCSDIR}/extras/manual
|
||||
@cd ${WRKSRC}/extras/documentation/manual/extras/en && \
|
||||
${COPYTREE_SHARE} . ${DOCSDIR}/extras/manual
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (ZendFramework-1.7.8.tar.gz) = f54f5597b5133677cee66eaf781c01ff
|
||||
SHA256 (ZendFramework-1.7.8.tar.gz) = 255e36c8fa65aa39f04adba54569c59c80c928b9ec574d979efe66da46b217e5
|
||||
SIZE (ZendFramework-1.7.8.tar.gz) = 21271510
|
||||
MD5 (ZendFramework-1.8.0.tar.gz) = 2f2acffa24644a1cd975ba90b6bf1077
|
||||
SHA256 (ZendFramework-1.8.0.tar.gz) = a56eb271eb14eae6963bccf15438139fe411be153079c84d63ae07b8b88f4790
|
||||
SIZE (ZendFramework-1.8.0.tar.gz) = 21724265
|
||||
|
|
|
@ -8,6 +8,21 @@ For example, insert:
|
|||
|
||||
into `%%LOCALBASE%%/etc/php.ini'.
|
||||
|
||||
For more information about the Zend Framework, please visit:
|
||||
http://framework.zend.com/
|
||||
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/en/zend.tool.framework.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
Loading…
Reference in a new issue