summaryrefslogtreecommitdiff
blob: 70f1b71047996b2be6b01c153b4a61239f345a3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php5/phptal/phptal-1.2.1.ebuild,v 1.1 2010/01/02 01:01:53 yngwin Exp $

EAPI="2"
inherit depend.php

MY_P="PHPTAL-${PV}"
DESCRIPTION="A templating engine for PHP5 that implements Zope Page Templates syntax"
HOMEPAGE="http://phptal.org/"
SRC_URI="http://phptal.org/files/${MY_P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

S="${WORKDIR}/${MY_P}"

need_php_by_category

src_install() {
	has_php

	insinto /usr/share/php5/${PN}
	doins -r PHPTAL
	doins PHPTAL.php phptal_lint.php

	dodoc-php README
}