Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-php5/ZendFramework: ChangeLog ZendFramework-1.10.0.ebuild
Date: Wed, 03 Feb 2010 01:41:33
Message-Id: E1NcUFE-0008Vi-NY@stork.gentoo.org
1 yngwin 10/02/03 01:41:28
2
3 Modified: ChangeLog
4 Added: ZendFramework-1.10.0.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.62 dev-php5/ZendFramework/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendFramework/ChangeLog?rev=1.62&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendFramework/ChangeLog?rev=1.62&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendFramework/ChangeLog?r1=1.61&r2=1.62
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ChangeLog,v
19 retrieving revision 1.61
20 retrieving revision 1.62
21 diff -u -r1.61 -r1.62
22 --- ChangeLog 20 Jan 2010 01:24:42 -0000 1.61
23 +++ ChangeLog 3 Feb 2010 01:41:28 -0000 1.62
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-php5/ZendFramework
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ChangeLog,v 1.61 2010/01/20 01:24:42 yngwin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ChangeLog,v 1.62 2010/02/03 01:41:28 yngwin Exp $
29 +
30 +*ZendFramework-1.10.0 (03 Feb 2010)
31 +
32 + 03 Feb 2010; Ben de Groot <yngwin@g.o>
33 + +ZendFramework-1.10.0.ebuild:
34 + Version bump
35
36 *ZendFramework-1.9.7 (20 Jan 2010)
37
38
39
40
41 1.1 dev-php5/ZendFramework/ZendFramework-1.10.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendFramework/ZendFramework-1.10.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendFramework/ZendFramework-1.10.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ZendFramework-1.10.0.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ZendFramework-1.10.0.ebuild,v 1.1 2010/02/03 01:41:28 yngwin Exp $
51
52 EAPI="2"
53
54 PHP_LIB_NAME="Zend"
55
56 inherit php-lib-r1
57
58 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
59
60 DESCRIPTION="Zend Framework is a high quality and open source framework for developing Web Applications."
61 HOMEPAGE="http://framework.zend.com/"
62 SRC_URI="!minimal? ( http://framework.zend.com/releases/${P}/${P}.tar.gz )
63 minimal? ( http://framework.zend.com/releases/${P}/${P}-minimal.tar.gz )
64 doc? (
65 http://framework.zend.com/releases/${P}/${P}-apidoc.tar.gz
66 http://framework.zend.com/releases/${P}/${P}-manual-en.tar.gz )"
67 LICENSE="BSD"
68 SLOT="0"
69 IUSE="doc examples minimal cli"
70
71 DEPEND="cli? ( dev-lang/php[simplexml,tokenizer] )"
72 RDEPEND="${DEPEND}"
73 need_php_by_category
74
75 src_prepare() {
76 if use minimal ; then
77 S="${WORKDIR}/${P}-minimal"
78 if use doc ; then
79 mv "${WORKDIR}/${P}/documentation" "${S}"
80 fi
81 fi
82 }
83
84 src_install() {
85 if use cli ; then
86 insinto /usr/bin
87 doins bin/zf.php
88 dobin bin/zf.sh
89 dosym /usr/bin/zf.sh /usr/bin/zf
90 fi
91 php-lib-r1_src_install library/Zend $(cd library/Zend ; find . -type f -print)
92
93 if ! use minimal ; then
94 insinto /usr/share/php5
95 doins -r externals/dojo
96 fi
97
98 if use examples ; then
99 insinto /usr/share/doc/${PF}
100
101 if ! use minimal ; then
102 doins -r demos
103 fi
104 fi
105
106 dodoc README.txt
107 if use doc ; then
108 dohtml -r documentation/*
109 fi
110 }
111
112 pkg_postinst() {
113 elog "For more info, please take a look at the manual at:"
114 elog "http://framework.zend.com/manual"
115 elog ""
116
117 if use minimal; then
118 elog "You have installed the minimal version of ZendFramework,"
119 elog "so the Dojo toolkit, demos and tests have not been installed."
120 else
121 elog "You have installed the full version of ZendFramework, which"
122 elog "includes the Dojo toolkit, demos and tests."
123 elog "To install ZendFramework without there, enable the"
124 elog "minimal USE flag."
125 fi
126 }