summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@gentoo.org>2006-06-06 18:45:50 +0000
committerSebastian Bergmann <sebastian@gentoo.org>2006-06-06 18:45:50 +0000
commiteebce96abae60837506ad0e7c524f08971995c78 (patch)
tree2a7e6d02c31d7c85ba464b6796b2c510671a837f /dev-php5/ZendFramework
parentAdded >=app-emulation/emul-linux-x86-xlibs-7.0 to the list of valid 32-bit op... (diff)
downloadgentoo-2-eebce96abae60837506ad0e7c524f08971995c78.tar.gz
gentoo-2-eebce96abae60837506ad0e7c524f08971995c78.tar.bz2
gentoo-2-eebce96abae60837506ad0e7c524f08971995c78.zip
Use doc and examples USE flags, implements RFE 135800. Patch by Bjarke Istrup Pedersen <gurligebis@gentoo.org>.
(Portage version: 2.1_rc4-r3)
Diffstat (limited to 'dev-php5/ZendFramework')
-rw-r--r--dev-php5/ZendFramework/ChangeLog7
-rw-r--r--dev-php5/ZendFramework/ZendFramework-0.1.3.ebuild17
2 files changed, 17 insertions, 7 deletions
diff --git a/dev-php5/ZendFramework/ChangeLog b/dev-php5/ZendFramework/ChangeLog
index 883f34dea6ce..06b04e254921 100644
--- a/dev-php5/ZendFramework/ChangeLog
+++ b/dev-php5/ZendFramework/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-php5/ZendFramework
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ChangeLog,v 1.5 2006/06/06 18:40:46 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ChangeLog,v 1.6 2006/06/06 18:45:50 sebastian Exp $
+
+ 06 Jun 2006; Sebastian Bergmann <sebastian@gentoo.org>
+ ZendFramework-0.1.3.ebuild:
+ Use doc and examples USE flags, implements RFE 135800. Patch by Bjarke
+ Istrup Pedersen <gurligebis@gentoo.org>.
06 Jun 2006; Sebastian Bergmann <sebastian@gentoo.org>
-ZendFramework-0.1.2.ebuild:
diff --git a/dev-php5/ZendFramework/ZendFramework-0.1.3.ebuild b/dev-php5/ZendFramework/ZendFramework-0.1.3.ebuild
index 0439501ef6e3..8eec21cdbcba 100644
--- a/dev-php5/ZendFramework/ZendFramework-0.1.3.ebuild
+++ b/dev-php5/ZendFramework/ZendFramework-0.1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ZendFramework-0.1.3.ebuild,v 1.2 2006/04/28 09:28:15 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ZendFramework-0.1.3.ebuild,v 1.3 2006/06/06 18:45:50 sebastian Exp $
inherit php-lib-r1
@@ -11,7 +11,7 @@ SRC_URI="http://framework.zend.com/releases/${P}.tar.gz"
LICENSE="ZendFramework-1.0"
SLOT="0"
KEYWORDS="~x86"
-IUSE=""
+IUSE="doc examples"
PHP_LIB_NAME="Zend"
@@ -24,9 +24,14 @@ src_install() {
insinto /usr/share/${PHP_SHARED_CAT}
doins library/Zend.php
- insinto /usr/share/doc/${P}
- doins -r demos
+ if use examples ; then
+ insinto /usr/share/doc/${P}
+ doins -r demos
+ fi
- dodoc *.txt
- dohtml -r documentation/*
+ if use doc ; then
+ insinto /usr/share/doc/${P}
+ dodoc *.txt
+ dohtml -r documentation/*
+ fi
}