summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2012-01-28 14:37:18 +0000
committerMatti Bickel <mabi@gentoo.org>2012-01-28 14:37:18 +0000
commitcc0d9fe50ae148e7a41c12249105863e0054ff86 (patch)
tree8f21a48b6171a0bb42c43ba6314bcac73dfb6ec1 /dev-php/stringparser_bbcode/stringparser_bbcode-0.3.3.ebuild
parentversion bump, remove old, obsoletes the need for dev-php/smarty-docs (diff)
downloadgentoo-2-cc0d9fe50ae148e7a41c12249105863e0054ff86.tar.gz
gentoo-2-cc0d9fe50ae148e7a41c12249105863e0054ff86.tar.bz2
gentoo-2-cc0d9fe50ae148e7a41c12249105863e0054ff86.zip
remove unneeded php-lib-r1.php reference, EAPI bump
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'dev-php/stringparser_bbcode/stringparser_bbcode-0.3.3.ebuild')
-rw-r--r--dev-php/stringparser_bbcode/stringparser_bbcode-0.3.3.ebuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/dev-php/stringparser_bbcode/stringparser_bbcode-0.3.3.ebuild b/dev-php/stringparser_bbcode/stringparser_bbcode-0.3.3.ebuild
index 0a24b1add694..4f4cbec888d7 100644
--- a/dev-php/stringparser_bbcode/stringparser_bbcode-0.3.3.ebuild
+++ b/dev-php/stringparser_bbcode/stringparser_bbcode-0.3.3.ebuild
@@ -1,10 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/stringparser_bbcode/stringparser_bbcode-0.3.3.ebuild,v 1.1 2010/05/01 19:07:50 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/stringparser_bbcode/stringparser_bbcode-0.3.3.ebuild,v 1.2 2012/01/28 14:37:18 mabi Exp $
-EAPI="2"
-
-inherit php-lib-r1
+EAPI="4"
DESCRIPTION="A PHP class to parse BB codes."
HOMEPAGE="http://christian-seiler.de/projekte/php/bbcode/index_en.html"
@@ -15,13 +13,14 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
-DEPEND="|| ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )"
+RDEPEND="dev-lang/php"
src_install() {
- php-lib-r1_src_install ./src `find ./src -name '*.php' -print | sed -e "s|./src||g"`
- dodoc-php AUTHORS ChangeLog THANKS
+ insinto "/usr/share/php/${PN}"
+ doins -r src/*
+
+ dodoc AUTHORS ChangeLog THANKS
if use doc ; then
- insinto /usr/share/doc/${CATEGORY}/${PF}/html
- doins -r doc/*
+ dohtml -r doc/*
fi
}