summaryrefslogtreecommitdiff
blob: d40ffdc2245c74b200a7b8db64d15e43c0c0da7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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.13.ebuild,v 1.9 2006/10/15 20:10:58 mcummings Exp $

inherit perl-module

DESCRIPTION="The Template Toolkit"
SRC_URI="http://www.template-toolkit.org/download/${P}.tar.gz"
HOMEPAGE="http://www.template-toolkit.org"
IUSE=""
SLOT="0"
LICENSE="Artistic GPL-2"
KEYWORDS="~alpha amd64 ~ia64 ppc ~sparc ~x86"

DEPEND=">=dev-perl/AppConfig-1.52
	dev-lang/perl"

#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'"