diff options
author | Matti Bickel <mabi@gentoo.org> | 2012-01-28 14:05:17 +0000 |
---|---|---|
committer | Matti Bickel <mabi@gentoo.org> | 2012-01-28 14:05:17 +0000 |
commit | 6e039813b0d1ae991860fc98e58f83ed9dcc7018 (patch) | |
tree | ea7789cce3658171b3f9a3f584ed1b9029f44037 /dev-php/libchart | |
parent | EAPI bump (diff) | |
download | gentoo-2-6e039813b0d1ae991860fc98e58f83ed9dcc7018.tar.gz gentoo-2-6e039813b0d1ae991860fc98e58f83ed9dcc7018.tar.bz2 gentoo-2-6e039813b0d1ae991860fc98e58f83ed9dcc7018.zip |
EAPI bump
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'dev-php/libchart')
-rw-r--r-- | dev-php/libchart/ChangeLog | 7 | ||||
-rw-r--r-- | dev-php/libchart/libchart-1.2.2.ebuild | 28 |
2 files changed, 19 insertions, 16 deletions
diff --git a/dev-php/libchart/ChangeLog b/dev-php/libchart/ChangeLog index c2c9b519fdcc..a291b7b78df0 100644 --- a/dev-php/libchart/ChangeLog +++ b/dev-php/libchart/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-php/libchart -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/libchart/ChangeLog,v 1.2 2011/04/09 19:17:03 olemarkus Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/libchart/ChangeLog,v 1.3 2012/01/28 14:05:17 mabi Exp $ + + 28 Jan 2012; Matti Bickel <mabi@gentoo.org> libchart-1.2.2.ebuild: + EAPI bump *libchart-1.2.2 (09 Apr 2011) diff --git a/dev-php/libchart/libchart-1.2.2.ebuild b/dev-php/libchart/libchart-1.2.2.ebuild index b0bd3971c333..6044fadb68fa 100644 --- a/dev-php/libchart/libchart-1.2.2.ebuild +++ b/dev-php/libchart/libchart-1.2.2.ebuild @@ -1,10 +1,8 @@ -# Copyright 1999-2011 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/libchart/libchart-1.2.2.ebuild,v 1.1 2011/04/09 19:17:03 olemarkus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php/libchart/libchart-1.2.2.ebuild,v 1.2 2012/01/28 14:05:17 mabi Exp $ -EAPI="2" - -inherit php-lib-r1 depend.php +EAPI="4" DESCRIPTION="Libchart is a chart creation PHP library that is easy to use." HOMEPAGE="http://naku.dohcrew.com/libchart" @@ -15,20 +13,22 @@ KEYWORDS="~x86 ~amd64" SLOT=0 IUSE="examples" -need_php5 - DEPEND="" RDEPEND="dev-lang/php[truetype] || ( dev-lang/php[gd] dev-lang/php[gd-external] )" +S="${WORKDIR}/${PN}" + src_install() { - php-lib-r1_src_install ${PN} `cd ${PN}; find . -type f -print` - for i in ${PN}/{ChangeLog,README} ; do - dodoc-php ${i} - rm -f ${i} - done + dodoc "${PN}/ChangeLog" "${PN}/README" + rm -f "${PN}/ChangeLog" "${PN}/ChangeLog" "${PN}/COPYING" + if use examples ; then - insinto /usr/share/doc/${CATEGORY}/${PF} - doins -r demo/ + # no point making users unzip all files individually + docompress -x "/usr/share/doc/${PF}/demo" + dodoc -r demo/ fi + + insinto "/usr/share/php/${PN}" + doins -r ${PN} } |