summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2010-12-19 21:18:14 +0000
committerMatti Bickel <mabi@gentoo.org>2010-12-19 21:18:14 +0000
commit8f19d446686419940ed3f43b3a22056950551618 (patch)
treea6410b22003b7710ef5173711aacbfcea9466be8 /dev-php
parentRevision bump. Port to EAPI 3. Make examples optional, add static-libs USE (diff)
downloadgentoo-2-8f19d446686419940ed3f43b3a22056950551618.tar.gz
gentoo-2-8f19d446686419940ed3f43b3a22056950551618.tar.bz2
gentoo-2-8f19d446686419940ed3f43b3a22056950551618.zip
use system smarty (bug #213318, idea from fedora package), remove old
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/PEAR-PhpDocumentor/ChangeLog14
-rw-r--r--dev-php/PEAR-PhpDocumentor/PEAR-PhpDocumentor-1.4.3-r1.ebuild (renamed from dev-php/PEAR-PhpDocumentor/PEAR-PhpDocumentor-1.4.2.ebuild)19
2 files changed, 27 insertions, 6 deletions
diff --git a/dev-php/PEAR-PhpDocumentor/ChangeLog b/dev-php/PEAR-PhpDocumentor/ChangeLog
index 6b579f9ec28e..943219b07957 100644
--- a/dev-php/PEAR-PhpDocumentor/ChangeLog
+++ b/dev-php/PEAR-PhpDocumentor/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for dev-php/PEAR-PhpDocumentor
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PhpDocumentor/ChangeLog,v 1.47 2009/09/23 03:06:57 beandog Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PhpDocumentor/ChangeLog,v 1.48 2010/12/19 21:18:14 mabi Exp $
+
+ 19 Dec 2010; Matti Bickel <mabi@gentoo.org> -PEAR-PhpDocumentor-1.4.2.ebuild,
+ +PEAR-PhpDocumentor-1.4.3-r1.ebuild:
+ use system smarty (bug #213318, idea from fedora package), remove old
+
+*PEAR-PhpDocumentor-1.4.3-r1 (19 Dec 2010)
+
+ 19 Dec 2010; Matti Bickel <mabi@gentoo.org> -PEAR-PhpDocumentor-1.4.2.ebuild,
+ -PEAR-PhpDocumentor-1.4.3.ebuild, +PEAR-PhpDocumentor-1.4.3-r1.ebuild:
+ use system smarty (bug #213318, idea from fedora package), remove old
*PEAR-PhpDocumentor-1.4.3 (23 Sep 2009)
diff --git a/dev-php/PEAR-PhpDocumentor/PEAR-PhpDocumentor-1.4.2.ebuild b/dev-php/PEAR-PhpDocumentor/PEAR-PhpDocumentor-1.4.3-r1.ebuild
index bc5c6e66964c..fcb979d149a8 100644
--- a/dev-php/PEAR-PhpDocumentor/PEAR-PhpDocumentor-1.4.2.ebuild
+++ b/dev-php/PEAR-PhpDocumentor/PEAR-PhpDocumentor-1.4.3-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PhpDocumentor/PEAR-PhpDocumentor-1.4.2.ebuild,v 1.1 2009/08/22 18:30:55 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PhpDocumentor/PEAR-PhpDocumentor-1.4.3-r1.ebuild,v 1.1 2010/12/19 21:18:14 mabi Exp $
+
+EAPI="2"
inherit php-pear-r1
@@ -8,7 +10,16 @@ DESCRIPTION="The phpDocumentor package provides automatic documenting of php api
# see http://pear.php.net/bugs/bug.php?id=12577 for additional info on licensing mess
LICENSE="PHP-2.02 PHP-3 LGPL-2.1 public-domain Apache-2.0 BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="minimal"
-RDEPEND="!minimal? ( >=dev-php/PEAR-XML_Beautifier-1.1-r1 )"
+RDEPEND="!minimal? ( >=dev-php/PEAR-XML_Beautifier-1.1-r1 )
+ >=dev-php/smarty-2.6.0"
+
+src_prepare()
+{
+ # use system smarty
+ sed -i -e '/Smarty-2/d' "${WORKDIR}/package.xml"
+ sed -i -e "s|phpDocumentor/Smarty-2.6.0/libs|smarty|" \
+ "${S}/phpDocumentor/Converter.inc"
+}