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} |
| 38 | # Copy everything to www. |
| 39 | copy ${worksrcpath} ${destroot}${zf_main_dir} |
| 40 | |
| 41 | # Link the CLI Zend Tool into bin. |
| 42 | ln -s ${zf_main_dir}/bin/zf.sh ${destroot}${prefix}/bin |
| 43 | ln -s ${zf_main_dir}/bin/zf.sh ${destroot}${prefix}/bin/zf |
| 44 | |
| 45 | # Link the documentation into share/doc. |
| 46 | xinstall -d ${destroot}${zf_doc_dir} |
| 47 | foreach f [glob ${worksrcpath}/*.txt] { |
| 48 | ln -s ${zf_main_dir}/[file tail ${f}] ${destroot}${zf_doc_dir} |
| 49 | } |
49 | | notes \ |
50 | | "If this is your first install, you might want to add |
51 | | '${zf_lib_dir}/library' |
52 | | to include_path in your php.ini. |
53 | | (e.g. include_path = \".:${zf_lib_dir}/library\") |
54 | | |
55 | | If you want to use extra components you'd have to |
56 | | add '${zf_lib_dir}/extras', too. |
57 | | |
58 | | Finally, if you wish to use Zend_Tool, add |
59 | | '${zf_doc_dir}/bin' |
60 | | to your \$PATH variable." |
| 52 | notes If this is your first install, you might want to add \ |
| 53 | ${zf_main_dir}/library to the include_path in your php.ini \ |
| 54 | (e.g. include_path = \".:${zf_main_dir}/library\"). \ |
| 55 | \n\nIf you want to use the extra ZendX components \ |
| 56 | you might want to add ${zf_main_dir}/extras/library too \ |
| 57 | (e.g. include_path = \".:${zf_main_dir}/library:${zf_main_dir}/extra/library\"). |