summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjarke Istrup Pedersen <gurligebis@gentoo.org>2008-09-03 22:05:40 +0000
committerBjarke Istrup Pedersen <gurligebis@gentoo.org>2008-09-03 22:05:40 +0000
commitfc9e51d067189f536f34dd917d1bed431d69779b (patch)
tree703c56802904f0cdb20d534bdf9f8633d1c8c5cd /dev-php5
parentbump to 0.6.5. (diff)
downloadgentoo-2-fc9e51d067189f536f34dd917d1bed431d69779b.tar.gz
gentoo-2-fc9e51d067189f536f34dd917d1bed431d69779b.tar.bz2
gentoo-2-fc9e51d067189f536f34dd917d1bed431d69779b.zip
Bumping to version 1.6.0
(Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc3 i686)
Diffstat (limited to 'dev-php5')
-rw-r--r--dev-php5/ZendFramework/ChangeLog8
-rw-r--r--dev-php5/ZendFramework/ZendFramework-1.6.0.ebuild66
-rw-r--r--dev-php5/ZendFramework/metadata.xml5
3 files changed, 78 insertions, 1 deletions
diff --git a/dev-php5/ZendFramework/ChangeLog b/dev-php5/ZendFramework/ChangeLog
index a2a60f0aa57b..900b497cc935 100644
--- a/dev-php5/ZendFramework/ChangeLog
+++ b/dev-php5/ZendFramework/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-php5/ZendFramework
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ChangeLog,v 1.32 2008/08/08 17:10:45 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ChangeLog,v 1.33 2008/09/03 22:05:40 gurligebis Exp $
+
+*ZendFramework-1.6.0 (04 Sep 2008)
+
+ 04 Sep 2008; Bjarke Istrup Pedersen <gurligebis@gentoo.org> metadata.xml,
+ +ZendFramework-1.6.0.ebuild:
+ Bumping to version 1.6.0
*ZendFramework-1.5.3 (08 Aug 2008)
diff --git a/dev-php5/ZendFramework/ZendFramework-1.6.0.ebuild b/dev-php5/ZendFramework/ZendFramework-1.6.0.ebuild
new file mode 100644
index 000000000000..bf8a81960574
--- /dev/null
+++ b/dev-php5/ZendFramework/ZendFramework-1.6.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ZendFramework-1.6.0.ebuild,v 1.1 2008/09/03 22:05:40 gurligebis Exp $
+
+PHP_LIB_NAME="Zend"
+
+inherit php-lib-r1
+
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+
+DESCRIPTION="Zend Framework is a high quality and open source framework for developing Web Applications."
+HOMEPAGE="http://framework.zend.com/"
+SRC_URI="!minimal? ( http://framework.zend.com/releases/${P}/${P}.tar.gz )
+ minimal? ( http://framework.zend.com/releases/${P}/${P}-minimal.tar.gz )
+ doc? (
+ http://framework.zend.com/releases/${P}/${P}-apidoc.tar.gz
+ http://framework.zend.com/releases/${P}/${P}-manual-en.tar.gz )"
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc examples minimal"
+
+DEPEND=""
+RDEPEND=""
+need_php_by_category
+
+src_unpack() {
+ if use minimal ; then
+ S="${WORKDIR}/${P}-minimal"
+ fi
+
+ unpack ${A}
+
+ cd "${S}"
+}
+
+src_install() {
+ php-lib-r1_src_install library/Zend $(cd library/Zend ; find . -type f -print)
+
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+
+ if ! use minimal ; then
+ doins -r demos
+ fi
+ fi
+
+ dodoc README.txt
+ if use doc ; then
+ dohtml -r documentation/*
+ fi
+}
+
+pkg_postinst() {
+ elog "For more info, please take a look at the manual at:"
+ elog "http://framework.zend.com/manual"
+ elog ""
+
+ if use minimal; then
+ elog "You have installed the minimal version of ZendFramework,"
+ elog "so the Dojo toolkit, demos and tests has not been installed."
+ else
+ elog "You have installed the full version of ZendFramework, which"
+ elog "includde the Dojo toolkit, demos and tests."
+ elog "To install without there, enable the minimal USE flag"
+ fi
+}
diff --git a/dev-php5/ZendFramework/metadata.xml b/dev-php5/ZendFramework/metadata.xml
index aaef49725b75..b00da7befb7b 100644
--- a/dev-php5/ZendFramework/metadata.xml
+++ b/dev-php5/ZendFramework/metadata.xml
@@ -6,4 +6,9 @@
<email>gurligebis@gentoo.org</email>
<name>Bjarke Istrup Pedersen</name>
</maintainer>
+ <use>
+ <flag name='doc'>Installs the documentation</flag>
+ <flag name='examples'>Installs the examples</flag>
+ <flag name='minimal'>Installs the minimal version without Dojo toolkit, tests and demos</flag>
+ </use>
</pkgmetadata>