1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Render text using FIGlet fonts"
10 HOMEPAGE="https://pear.php.net/package/Text_Figlet"
11 SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
13 examples? ( GPL-2+ OFL-1.1 )"
18 RDEPEND="dev-lang/php:*
21 S="${WORKDIR}/${MY_P}"
27 dodoc -r docs/examples
29 # Earlier versions of this ebuild installed this font under
30 # /usr/share/php/data, which is obviously the wrong place for
31 # them, but is where we have configured PEAR's data_dir. The
32 # fonts can be referenced by absolute path, however, and not
33 # just by name. Since this font is used in the example -- and as
34 # long as no one expects this *particular* font to work out of
35 # the box -- installing it with the docs will suffice.
37 # The one consumer of this in the tree is PEAR-Text_CAPTCHA, and
38 # it loads its fonts using an absolute path.
39 dodoc fonts/makisupa.flf
42 insinto /usr/share/php