source: trunk/dports/www/ZendFramework/Portfile @ 55747

Last change on this file since 55747 was 55747, checked in by ryandesign@…, 8 years ago

ZendFramework: revert inadvertent change from r55746

  • Property snv:keywords set to Id
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 55747 2009-08-18 08:00:32Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ZendFramework
7version             1.9.1
8categories          www lang
9#license             BSD
10maintainers         snc openmaintainer
11description         A framework for developing PHP web applications
12long_description    This is a port of the Zend Framework. The Zend Framework \
13                    aims to provide an architecture for developing entire \
14                    applications with no other library dependencies. This code \
15                    will always be actively developed, tested, and supported \
16                    by Zend and the PHP Collaboration Project.
17                 
18homepage            http://framework.zend.com/
19
20platforms           darwin freebsd
21depends_run         path:bin/php:php5
22
23master_sites        http://framework.zend.com/releases/${name}-${version}/
24
25checksums           md5     e82a2a2b12edd2bb91e00348d213d16a \
26                    sha1    1ec184e9edeab492c9e0d3d76558467ea18a2267 \
27                    rmd160  e424b6f385dc68831ba8beb5745876eec9d7ca95
28
29set zf_doc_dir      ${prefix}/share/doc/${name}
30set zf_lib_dir      ${prefix}/lib/${name}
31
32use_configure       no
33
34build               {}
35
36destroot {
37    # create paths
38    xinstall -d -m 755 ${destroot}${zf_lib_dir}
39    xinstall -d -m 755 ${destroot}${zf_doc_dir}
40
41    # most files stay in doc -- this is our first target
42    eval file copy [glob ${worksrcpath}/*] ${destroot}${zf_doc_dir}
43       
44    # now move real lib paths to lib
45    file rename ${destroot}${zf_doc_dir}/library ${destroot}${zf_lib_dir}
46    file rename ${destroot}${zf_doc_dir}/extras ${destroot}${zf_lib_dir}
47}
48
49post-install {
50    ui_msg "\nIf this is your first install, you might want to add"
51    ui_msg "'${zf_lib_dir}/library' to include_path in your php.ini."
52    ui_msg "i.e.: include_path = \".:${zf_lib_dir}/library\""
53    ui_msg "\nIf you want to use extra components you'd have to"
54    ui_msg "add '${zf_lib_dir}/extras', too."
55    ui_msg "\nFinally, if you wish to use Zend_Tool, add"
56    ui_msg "'${zf_doc_dir}/bin' to your \$PATH variable."
57}
58
59livecheck.check     regex
60livecheck.url       http://framework.zend.com/download/current/
61livecheck.regex     {releases/ZendFramework-(\d+\.\d+\.\d+[^ab\/]*)\/}
Note: See TracBrowser for help on using the repository browser.