| 1 | # $Id: $ |
|---|
| 2 | PortSystem 1.0 |
|---|
| 3 | name ZendFramework |
|---|
| 4 | version 1.0.0-RC1 |
|---|
| 5 | categories www lang |
|---|
| 6 | maintainers alpha@rrs.at |
|---|
| 7 | description A framework for developing PHP web applications |
|---|
| 8 | long_description This is a port of the Zend Framework. The Zend Framework aims to \ |
|---|
| 9 | provide an architecture for developing entire applications with no \ |
|---|
| 10 | other library dependencies. This code will always be actively developed, \ |
|---|
| 11 | tested, and supported by Zend and the PHP Collaboration Project. |
|---|
| 12 | homepage http://framework.zend.com/ |
|---|
| 13 | master_sites http://framework.zend.com/releases/ |
|---|
| 14 | checksums md5 3876e70dc74e4960681f67946cc37f2a |
|---|
| 15 | set zf_doc_dir ${prefix}/share/doc/${name} |
|---|
| 16 | set zf_lib_dir ${prefix}/lib/${name} |
|---|
| 17 | use_configure no |
|---|
| 18 | build {} |
|---|
| 19 | destroot { |
|---|
| 20 | # create paths |
|---|
| 21 | xinstall -d -m 755 ${destroot}${zf_lib_dir} |
|---|
| 22 | xinstall -d -m 755 ${destroot}${zf_doc_dir} |
|---|
| 23 | |
|---|
| 24 | # most files stay in doc - so this is our first target |
|---|
| 25 | eval file copy [glob ${worksrcpath}/*] ${destroot}${zf_doc_dir} |
|---|
| 26 | |
|---|
| 27 | # now move real lib paths to lib |
|---|
| 28 | file rename ${destroot}${zf_doc_dir}/library ${destroot}${zf_lib_dir} |
|---|
| 29 | file rename ${destroot}${zf_doc_dir}/incubator ${destroot}${zf_lib_dir} |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | post-install { |
|---|
| 33 | ui_msg "\nIf this is your first install, you might want to add" |
|---|
| 34 | ui_msg "'${zf_lib_dir}/library' to include_path in your php.ini." |
|---|
| 35 | ui_msg "i.e.: include_path = \".:${zf_lib_dir}/library\"" |
|---|
| 36 | ui_msg "\nIf you also want to use incubator components you'd have to" |
|---|
| 37 | ui_msg "add '${zf_lib_dir}/incubator' too." |
|---|
| 38 | } |
|---|