[134718] trunk/dports/www
snc at macports.org
snc at macports.org
Sat Apr 4 13:55:28 PDT 2015
Revision: 134718
https://trac.macports.org/changeset/134718
Author: snc at macports.org
Date: 2015-04-04 13:55:28 -0700 (Sat, 04 Apr 2015)
Log Message:
-----------
ZendFramework: remove stub port, update ZendFramework2
Modified Paths:
--------------
trunk/dports/www/ZendFramework2/Portfile
Added Paths:
-----------
trunk/dports/www/ZendFramework2/
Modified: trunk/dports/www/ZendFramework2/Portfile
===================================================================
--- trunk/dports/www/ZendFramework/Portfile 2015-04-04 12:18:32 UTC (rev 134716)
+++ trunk/dports/www/ZendFramework2/Portfile 2015-04-04 20:55:28 UTC (rev 134718)
@@ -3,8 +3,8 @@
PortSystem 1.0
-name ZendFramework
-version 2.3.5
+name ZendFramework2
+version 2.4.0
categories www lang
license BSD
maintainers snc openmaintainer
@@ -17,98 +17,78 @@
homepage http://framework.zend.com/
platforms darwin freebsd
-master_sites
-dist_subdir ZendFramework
-if {$subport eq $name || $subport eq ""} {
- fetch {}
- checksum {}
- extract {}
- use_configure no
- supported_archs noarch
- depends_lib port:ZendFramework2
- patch {}
- build {}
- destroot {
- xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/
- system "echo $name is a stub port > ${destroot}${prefix}/share/doc/${name}/README"
- }
+if {$subport ne $name} {
+ conflicts ZendFramework1
+ distname ZendFramework-${version}
+ master_sites https://packages.zendframework.com/releases/ZendFramework-${version}/
+ extract.suffix .tgz
+
+ checksums rmd160 f352097c56025a3051570d40495cf4f7af713878 \
+ sha256 6156f1d67c79e7a7d167c6576b994f0cc6fe2341360016e446c1d3f6a43f99df
+
+ livecheck.regex {Zend Framework (2\.\d+\.\d+) Full}
}
subport ZendFramework1 {
conflicts ZendFramework2
+
version 1.12.11
revision 0
- master_sites http://packages.zendframework.com/releases/${name}-${version}/
+ distname ZendFramework-${version}
+ master_sites https://packages.zendframework.com/releases/ZendFramework-${version}/
checksums rmd160 e2874ec54ab73bc43da8a08d0e400f24da1927fe \
sha256 56d735d7d31d7751a95103652dcce10d0c53594c4c21e8da8be5e219675317da
livecheck.regex {Zend Framework (1\.\d+\.\d+) Full}
}
-subport ZendFramework2 {
- conflicts ZendFramework1
- version 2.3.7
- revision 0
- master_sites https://packages.zendframework.com/releases/${name}-${version}/
- extract.suffix .tgz
+foreach php {php53 php54 php55 php56} {
+ eval [subst {
+ variant ${php} conflicts manual_extensions description "Use ${php}" {
+ depends_run port:${php}-calendar port:${php}-curl port:${php}-dba port:${php}-exif port:${php}-ftp port:${php}-gd port:${php}-gettext port:${php}-gmp port:${php}-iconv port:${php}-imap port:${php}-mbstring port:${php}-mcrypt port:${php}-memcache port:${php}-mssql port:${php}-mysql port:${php}-odbc port:${php}-openssl port:${php}-pcntl port:${php}-posix port:${php}-postgresql port:${php}-soap port:${php}-sockets port:${php}-SPL_Types port:${php}-sqlite port:${php}-tidy port:${php}-wddx port:${php}-xmlrpc port:${php}-xsl port:${php}-zip
+ }
+ }]
+}
- checksums rmd160 a0f98b037e0e90b39158463e7f418a9fef6a9143 \
- sha256 925c80cd84f7971dcc03d49191a685f55ca15e36e8ae32aa1005b37323fc2478
+if {![variant_isset php53] && ![variant_isset php54] && ![variant_isset php55] && ![variant_isset php56] && ![variant_isset manual_extensions]} {
+ default_variants +php56
+}
- livecheck.regex {Zend Framework (2\.\d+\.\d+) Full}
+variant manual_extensions conflicts php53 php54 php55 php56 description {Let me pick my own php extensions} {
+ depends_run path:bin/php:php56
}
-if {${name} ne ${subport}} {
- foreach php {php53 php54 php55 php56} {
- eval [subst {
- variant ${php} conflicts manual_extensions description "Use ${php}" {
- depends_run port:${php}-calendar port:${php}-curl port:${php}-dba port:${php}-exif port:${php}-ftp port:${php}-gd port:${php}-gettext port:${php}-gmp port:${php}-iconv port:${php}-imap port:${php}-mbstring port:${php}-mcrypt port:${php}-memcache port:${php}-mssql port:${php}-mysql port:${php}-odbc port:${php}-openssl port:${php}-pcntl port:${php}-posix port:${php}-postgresql port:${php}-soap port:${php}-sockets port:${php}-SPL_Types port:${php}-sqlite port:${php}-tidy port:${php}-wddx port:${php}-xmlrpc port:${php}-xsl port:${php}-zip
- }
- }]
- }
+set zf_main_dir ${prefix}/www/${subport}
+set zf_doc_dir ${prefix}/share/doc/${subport}
- if {![variant_isset php53] && ![variant_isset php54] && ![variant_isset php55] && ![variant_isset php56] && ![variant_isset manual_extensions]} {
- default_variants +php56
- }
+use_configure no
- variant manual_extensions conflicts php53 php54 php55 php56 description {Let me pick my own php extensions} {
- depends_run path:bin/php:php56
- }
+build {}
- set zf_main_dir ${prefix}/www/${name}
- set zf_doc_dir ${prefix}/share/doc/${name}
+destroot {
+ # Copy everything to www.
+ copy ${worksrcpath} ${destroot}${zf_main_dir}
- use_configure no
+ # 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
- build {}
-
- destroot {
- # Copy everything to www.
- copy ${worksrcpath} ${destroot}${zf_main_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}
- }
+ # 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_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\")."
+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\")."
- livecheck.type regex
- livecheck.url http://framework.zend.com/downloads/latest
-} else {
- livecheck.type none
-}
+livecheck.type regex
+livecheck.url http://framework.zend.com/downloads/latest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150404/0c8de1d0/attachment.html>
More information about the macports-changes
mailing list