summaryrefslogtreecommitdiff
blob: c85c8f9368439012994e9cd7fc4283c3588b4411 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/phptal/phptal-1.2.2.ebuild,v 1.1 2014/01/06 17:26:14 mabi Exp $

EAPI=5

PHP_LIB_NAME="PHPTAL"

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

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

DEPEND=""
RDEPEND="dev-lang/php"

S="${WORKDIR}/${PHP_LIB_NAME}-${PV}"

src_install() {
	insinto /usr/share/php/${PN}
	doins -r "${PHP_LIB_NAME}"
	doins PHPTAL.php phptal_lint.php

	dodoc README
}