# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-perl/Template-Toolkit/Template-Toolkit-2.14.ebuild,v 1.12 2006/08/05 23:10:20 mcummings Exp $ inherit perl-module DESCRIPTION="The Template Toolkit" SRC_URI="mirror://cpan/authors/id/A/AB/ABW/${P}.tar.gz" HOMEPAGE="http://search.cpan.org/~abw/${P}/" IUSE="xml gd mysql postgres" SLOT="0" LICENSE="Artistic GPL-2" KEYWORDS="ia64 ppc ppc64 sparc x86 ~x86-fbsd" DEPEND="dev-perl/text-autoformat xml? ( dev-perl/XML-DOM dev-perl/XML-RSS dev-perl/XML-XPath ) gd? ( dev-perl/GD dev-perl/GDTextUtil dev-perl/GDGraph dev-perl/GD-Graph3d ) mysql? ( dev-perl/DBI dev-perl/DBD-mysql ) postgres? ( dev-perl/DBI dev-perl/DBD-Pg ) >=dev-perl/AppConfig-1.55 dev-lang/perl" RDEPEND="${DEPEND}" #The installer tries to install to /usr/local/tt2..., #and asks for user input, so we change myconf to ensure that # 1) make install doesn't violate the sandbox rule # 2) perl Makefile.pl just uses reasonable defaults, and doesn't ask for input myconf="${myconf} TT_PREFIX=${D}/usr/share/template-toolkit2 TT_ACCEPT='y'" mydoc="README Changes" # You have version $Template::VERSION of the Template Toolkit installed. # # There are some minor incompatabilities between version 1 and 2 # of the Template Toolkit which you should be aware of. Installing # this version will overwrite your version $Template::VERSION files # unless you take measures to install one or the other version in a # different location (i.e. perl Makefile.PL PREFIX=/other/path). # # Please consult the README and Changes file for further details. # Most of the changes are in the more obscure features and # directives so hopefully you will find the upgrade process fairly # painless. If you're feeling brave, then answer 'y', otherwise 'n'.