[63190] trunk/dports/www/ZendFramework/Portfile
snc at macports.org
snc at macports.org
Thu Jan 28 17:51:00 PST 2010
Revision: 63190
http://trac.macports.org/changeset/63190
Author: snc at macports.org
Date: 2010-01-28 17:51:00 -0800 (Thu, 28 Jan 2010)
Log Message:
-----------
updated version #23451, change directory layout #23454
Modified Paths:
--------------
trunk/dports/www/ZendFramework/Portfile
Modified: trunk/dports/www/ZendFramework/Portfile
===================================================================
--- trunk/dports/www/ZendFramework/Portfile 2010-01-28 22:41:21 UTC (rev 63189)
+++ trunk/dports/www/ZendFramework/Portfile 2010-01-29 01:51:00 UTC (rev 63190)
@@ -4,7 +4,7 @@
PortSystem 1.0
name ZendFramework
-version 1.9.7
+version 1.10.0
categories www lang
license BSD
maintainers snc openmaintainer
@@ -22,43 +22,40 @@
master_sites http://framework.zend.com/releases/${name}-${version}/
-checksums md5 ee066286942723187216fd236739e3dd \
- sha1 65558a2af5130cd5ea98c4abb446be27ce7ee2bd \
- rmd160 eb3ed29b1232f15b9e6fd212b08925ae941d6ca2
+checksums md5 326156a309383648c17fb02df5b10e6c \
+ sha1 7b308893d58e83441a16e9883d26a53abff7d0b7 \
+ rmd160 dca3f39a1164a6bf8d784d5371b1d82539a117b4
+set zf_main_dir ${prefix}/www/${name}
set zf_doc_dir ${prefix}/share/doc/${name}
-set zf_lib_dir ${prefix}/lib/${name}
use_configure no
build {}
destroot {
- # create paths
- xinstall -d -m 755 ${destroot}${zf_lib_dir}
- xinstall -d -m 755 ${destroot}${zf_doc_dir}
+ # Copy everything to www.
+ copy ${worksrcpath} ${destroot}${zf_main_dir}
- # most files stay in doc -- this is our first target
- eval file copy [glob ${worksrcpath}/*] ${destroot}${zf_doc_dir}
-
- # now move real lib paths to lib
- file rename ${destroot}${zf_doc_dir}/library ${destroot}${zf_lib_dir}
- file rename ${destroot}${zf_doc_dir}/extras ${destroot}${zf_lib_dir}
+ # Link the CLI Zend Tool into bin.
+ ln -s ${zf_main_dir}/bin/zf.sh ${destroot}${prefix}/bin
+ ln -s ${zf_main_dir}/bin/zf.sh ${destroot}${prefix}/bin/zf
+
+ # Link the documentation into share/doc.
+ xinstall -d ${destroot}${zf_doc_dir}
+ foreach f [glob ${worksrcpath}/*.txt] {
+ ln -s ${zf_main_dir}/[file tail ${f}] ${destroot}${zf_doc_dir}
+ }
}
-notes \
-"If this is your first install, you might want to add
-'${zf_lib_dir}/library'
- to include_path in your php.ini.
-(e.g. include_path = \".:${zf_lib_dir}/library\")
+notes If this is your first install, you might want to add \
+ ${zf_main_dir}/library to the include_path in your php.ini \
+ (e.g. include_path = \".:${zf_main_dir}/library\"). \
+ \n\nIf you want to use the extra ZendX components \
+ you might want to add ${zf_main_dir}/extras/library too \
+ (e.g. include_path = \".:${zf_main_dir}/library:${zf_main_dir}/extra/library\").
-If you want to use extra components you'd have to
-add '${zf_lib_dir}/extras', too.
-
-Finally, if you wish to use Zend_Tool, add
-'${zf_doc_dir}/bin'
- to your \$PATH variable."
-
livecheck.type regex
livecheck.url http://framework.zend.com/download/latest
livecheck.regex {releases/ZendFramework-(\d+\.\d+\.\d+[^ab\/]*)\/}
+livecheck.regex {Zend Framework (\d+\.\d+\.\d+) Full}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100128/734c9203/attachment.html>
More information about the macports-changes
mailing list