summaryrefslogtreecommitdiff
blob: faaa4939cd23c226d31ec76c172a1c657ee19cea (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
# Copyright 1999-2006 Gentoo Foundation 
# Distributed under the terms of the GNU General Public License v2
# $Header: $

PHP_EXT_NAME="templates"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"

inherit php-ext-source-r1

KEYWORDS="~x86"
DESCRIPTION="Fast, compiled PHP template module. Supports Macromedia Dreamweaver template syntax."
HOMEPAGE="http://php-templates.sourceforge.net"
SRC_URI="mirror://sourceforge/php-templates/${P}.tar.gz
		mirror://sourceforge/php-templates/${PN}-doc-eng-1.1.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="doc"

S="${WORKDIR}/templates"

need_php_by_category

src_install() {
	php-ext-source-r1_src_install

	dodoc-php CREDITS CHANGELOG INSTALL README
	if use doc; then
		docinto templates-doc
		dodoc ${WORKDIR}/templates-doc/*
	fi
}