Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/web
In directory vz-cvs-3.sog:/tmp/cvs-serv17912

Added Files:
        zendframework.info zendframework.patch 
Log Message:
New package

--- NEW FILE: zendframework.info ---
Package: zendframework
Version: 1.11.11
Revision: 1
###
Depends: php5 | php5-cli
Suggests: php5-curl, php5-gd, php5-imap, php5-ldap, php5-mysql, php5-pgsql, 
php5-json, php5-sqlite
###
Source: 
http://framework.zend.com/releases/ZendFramework-%v/ZendFramework-%v.tar.gz
Source-MD5: 1db5f3c64fced4b03a8eb70fd93b69eb
###
PatchFile: %n.patch
PatchFile-MD5: e72fcfcb84b1cb526df56e9b707df56e
PatchScript: <<
sed -e 's,@FINKPREFIX@,%p,g' %{PatchFile} | patch -p1

patch -p1 < fink/patches/zf-shell.patch
<<
###
DocFiles: *.txt
###
CompileScript: echo
InstallScript: <<
install -d -m0755 %i/bin
install -d -m0755 %i/share/php
install -d -m0755 %i/share/%n/bin
install -d -m0755 %i/share/man/man8

cp -R %b/library/Zend %i/share/php/Zend
cp -R %b/resources %i/share/%n/resources

install -m0755 bin/zf.sh %i/bin/zf
install -m0755 bin/zf.php %i/share/%n/bin/zf.php
install -m0644 fink/manpage/zf.8 %i/share/man/man8/zf.8

find %i/share/php/Zend -type f | xargs chmod 0644
<<
###
SplitOff: <<
  Package: %N-bin
  Depends: %N, php5-cli
  Files: <<
    bin
    share/%N/bin
    share/man
  <<
  DocFiles: *.txt
  Description: Binary scripts for zendframework
  DescDetail: <<
Extending the art & spirit of PHP, Zend Framework is based on simplicity,
object-oriented best practices, corporate friendly licensing, and a rigorously
tested agile codebase. Zend Framework is focused on building more secure,
reliable, and modern Web 2.0 applications & web services, and consuming widely
available APIs from leading vendors like Google, Amazon, Yahoo!, Flickr, as
well as API providers and cataloguers like StrikeIron and ProgrammableWeb.
  <<
<<
###
SplitOff2: <<
  Package: %N-resources
  Depends: %N, php5-cli
  Files: <<
    share/%N
  <<
  DocFiles: *.txt
  Description: Resource scripts for zendframework
  DescDetail: <<
Extending the art & spirit of PHP, Zend Framework is based on simplicity,
object-oriented best practices, corporate friendly licensing, and a rigorously
tested agile codebase. Zend Framework is focused on building more secure,
reliable, and modern Web 2.0 applications & web services, and consuming widely
available APIs from leading vendors like Google, Amazon, Yahoo!, Flickr, as
well as API providers and cataloguers like StrikeIron and ProgrammableWeb.
  <<
<<
###
Description: Powerful PHP framework
DescDetail: <<
Extending the art & spirit of PHP, Zend Framework is based on simplicity,
object-oriented best practices, corporate friendly licensing, and a rigorously
tested agile codebase. Zend Framework is focused on building more secure,
reliable, and modern Web 2.0 applications & web services, and consuming widely
available APIs from leading vendors like Google, Amazon, Yahoo!, Flickr, as
well as API providers and cataloguers like StrikeIron and ProgrammableWeb.
<<
###
License: BSD
Homepage: http://framework.zend.com
Maintainer: Justin F. Hallett <[email protected]>

--- NEW FILE: zendframework.patch ---
diff -ruN ZendFramework-1.11.11.orig/fink/manpage/zf.8 
ZendFramework-1.11.11/fink/manpage/zf.8
--- ZendFramework-1.11.11.orig/fink/manpage/zf.8        1969-12-31 
17:00:00.000000000 -0700
+++ ZendFramework-1.11.11/fink/manpage/zf.8     2012-07-04 13:18:19.000000000 
-0600
@@ -0,0 +1,46 @@
+.TH ZF 8 "2010-02-12" "1.10.1" "zendframework tool"
+
+.SH NAME
+zf \- command line tool for zendframework
+
+.SH SYNOPSIS
+\fBzf\fR [--global-opts] \fBaction-name\fR [--action-opts] \fBprovider-name\fR 
[--provider-opts] [provider parameters ...]
+
+.SH DESCRIPTION
+zf is a command line tool to create and manage zendframework projects.
+.PP
+The CLI, or command line tool (internally known as the console tool), is 
currently the primary interface for dispatching Zend_Tool  requests. With the 
CLI tool, developers can issue tooling requests inside the "command line 
window", also commonly known as a "terminal" window.
+
+.SH OPTIONS
+.IP "zf show version mode[=mini] name-included[=1]" 4
+This will show the current version number of the copy of Zend Framework the 
zf.php tool is using.
+.IP "zf show manifest" 4
+This will show what information is in the tooling systems manifest. This is 
more important for provider developers than casual users of the tooling system.
+.IP "zf create project MyProjectName" 4
+The project provider is the first command you might want to run. This will 
setup the basic structure of your application. This is required before any of 
the other providers can be executed.
+.IP "zf create module Blog" 4
+This will create a module named Blog at application/modules/Blog, and all of 
the artifacts that a module will need.
+.IP "zf create controller Auth" 4
+This will create a controller named Auth, specifically it will create a file 
at application/controllers/AuthController.php with the AuthController inside.
+.IP "zf create action login Auth" 4
+This will create an action in an existing controller.
+.IP "zf create view Auth my-script-name" 4
+This will create a view script in the controller folder of Auth.
+.IP "zf create model User" 4
+This will create a model User.
+.IP "zf create form Auth" 4
+This will create a form Auth.
+.IP "zf configure dbadapter 
adapter=Pdo_Mysql&username=test&password=test&dbname=test" 4
+This will configure your database connection and is saved in your 
application.ini.
+.IP "zf create dbtable User user" 4
+This creates a Zend_Db_Table model/data file.
+.IP "zf enable layout" 4
+This enable layout in your application and creates necessary files and store 
this to your application.ini.
+
+.SH HOMEPAGE
+More information about zendframework project can be found at 
<\fIhttp://framework.zend.com/\fR>.
+
+.SH AUTHOR
+The development is currently coordinated by Zend Technologies Ltd. 
<\fIhttp://framework.zend.com\fR>.
+.PP
+This manual page was written by Frank Habermann 
<\[email protected]\fR>, for the Debian project (but may be used by 
others).
diff -ruN ZendFramework-1.11.11.orig/fink/patches/zf-shell.patch 
ZendFramework-1.11.11/fink/patches/zf-shell.patch
--- ZendFramework-1.11.11.orig/fink/patches/zf-shell.patch      1969-12-31 
17:00:00.000000000 -0700
+++ ZendFramework-1.11.11/fink/patches/zf-shell.patch   2012-07-04 
13:19:30.000000000 -0600
@@ -0,0 +1,21 @@
+Author: Frank Habermann <[email protected]>
+Description: add shebang and set absolut path to php file
+
+diff -Naurp zendframework-1.9.6.orig/bin/zf.php zendframework-1.9.6/bin/zf.php
+--- zendframework-1.9.6.orig/bin/zf.php        2009-09-07 21:48:34.000000000 
+0000
++++ zendframework-1.9.6/bin/zf.php     2009-12-06 19:40:47.000000000 +0000
+@@ -1,3 +1,4 @@
++#!@FINKPREFIX@/bin/php5
+ <?php
+ /**
+  * Zend Framework
+diff -Naurp zendframework-1.9.6.orig/bin/zf.sh zendframework-1.9.6/bin/zf.sh
+--- zendframework-1.9.6.orig/bin/zf.sh 2009-07-16 13:01:27.000000000 +0000
++++ zendframework-1.9.6/bin/zf.sh      2009-12-06 19:41:26.000000000 +0000
+@@ -41,5 +41,5 @@ else
+     PHP_DIR="$(dirname "$SELF_LINK")"
+ fi
+ 
+-"$PHP_BIN" -d safe_mode=Off -f "$PHP_DIR/zf.php" -- "$@"
++"$PHP_BIN" -d safe_mode=Off -f "@FINKPREFIX@/share/zendframework/bin/zf.php" 
-- "$@"
+ 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to