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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name ZendFramework |
---|
7 | version 1.7.4 |
---|
8 | categories www lang |
---|
9 | maintainers nomaintainer |
---|
10 | platforms darwin freebsd |
---|
11 | description A framework for developing PHP web applications |
---|
12 | long_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 | |
---|
18 | homepage http://framework.zend.com/ |
---|
19 | master_sites http://framework.zend.com/releases/${name}-${version}/ |
---|
20 | checksums md5 5240444dc2b0af50086ba6b3b9ee285e \ |
---|
21 | sha1 33872a606a2a92b607f96baa65640931b9acc13e \ |
---|
22 | rmd160 9f9764ac2a85e49062da4f2d6dc538deab3ec32b |
---|
23 | |
---|
24 | set zf_doc_dir ${prefix}/share/doc/${name} |
---|
25 | set zf_lib_dir ${prefix}/lib/${name} |
---|
26 | use_configure no |
---|
27 | build {} |
---|
28 | destroot { |
---|
29 | # create paths |
---|
30 | xinstall -d -m 755 ${destroot}${zf_lib_dir} |
---|
31 | xinstall -d -m 755 ${destroot}${zf_doc_dir} |
---|
32 | |
---|
33 | # most files stay in doc - so this is our first target |
---|
34 | eval file copy [glob ${worksrcpath}/*] ${destroot}${zf_doc_dir} |
---|
35 | |
---|
36 | # now move real lib paths to lib |
---|
37 | file rename ${destroot}${zf_doc_dir}/library ${destroot}${zf_lib_dir} |
---|
38 | file rename ${destroot}${zf_doc_dir}/incubator ${destroot}${zf_lib_dir} |
---|
39 | } |
---|
40 | |
---|
41 | post-install { |
---|
42 | ui_msg "\nIf this is your first install, you might want to add" |
---|
43 | ui_msg "'${zf_lib_dir}/library' to include_path in your php.ini." |
---|
44 | ui_msg "i.e.: include_path = \".:${zf_lib_dir}/library\"" |
---|
45 | ui_msg "\nIf you also want to use incubator components you'd have to" |
---|
46 | ui_msg "add '${zf_lib_dir}/incubator' too." |
---|
47 | } |
---|
48 | |
---|