summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2005-11-24 12:26:46 +0000
committerLuca Longinotti <chtekk@gentoo.org>2005-11-24 12:26:46 +0000
commit97639b4be2c3dd2228575e1883fbf57e7ebad486 (patch)
treed71b844f74bba71c1a31d8abf5b3418d305fc3bd /dev-php/smarty
parentFix metadata. (diff)
downloadgentoo-2-97639b4be2c3dd2228575e1883fbf57e7ebad486.tar.gz
gentoo-2-97639b4be2c3dd2228575e1883fbf57e7ebad486.tar.bz2
gentoo-2-97639b4be2c3dd2228575e1883fbf57e7ebad486.zip
Sync with overlay.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'dev-php/smarty')
-rw-r--r--dev-php/smarty/ChangeLog7
-rw-r--r--dev-php/smarty/Manifest22
-rw-r--r--dev-php/smarty/files/digest-smarty-2.6.10-r11
-rw-r--r--dev-php/smarty/metadata.xml10
-rw-r--r--dev-php/smarty/smarty-2.6.10-r1.ebuild39
5 files changed, 63 insertions, 16 deletions
diff --git a/dev-php/smarty/ChangeLog b/dev-php/smarty/ChangeLog
index cfce4c469c8b..c94bff728e90 100644
--- a/dev-php/smarty/ChangeLog
+++ b/dev-php/smarty/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-php/smarty
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/ChangeLog,v 1.41 2005/11/22 19:23:04 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/ChangeLog,v 1.42 2005/11/24 12:26:46 chtekk Exp $
+
+*smarty-2.6.10-r1 (24 Nov 2005)
+
+ 24 Nov 2005; Luca Longinotti <chtekk@gentoo.org> +smarty-2.6.10-r1.ebuild:
+ Add smarty for new-style PHP from the PHP overlay.
22 Nov 2005; Simon Stelling <blubb@gentoo.org> smarty-2.6.10.ebuild:
stable on amd64
diff --git a/dev-php/smarty/Manifest b/dev-php/smarty/Manifest
index 29b7e3677ddf..3f6987741751 100644
--- a/dev-php/smarty/Manifest
+++ b/dev-php/smarty/Manifest
@@ -1,16 +1,18 @@
-MD5 c25e116e665882ab39d55e2dce8daf3a ChangeLog 5135
-MD5 00c298073008a95e52d037980076f290 metadata.xml 242
-MD5 cb3dd9ceb3c427858d643cc29888df37 smarty-2.6.0-r2.ebuild 992
-MD5 b72619637b011549b0d9d246aff3329b smarty-2.6.2.ebuild 1021
-MD5 ffeaf039a8dd126e56890aa4499254ef smarty-2.6.5.ebuild 1028
-MD5 170edd90e166535fb6af77449ffd32ef smarty-2.6.7.ebuild 1032
-MD5 8dd31197b12feefd4737428a6b214875 smarty-2.6.8.ebuild 1026
-MD5 3797eb1774b9f63e7610185b77d69f16 smarty-2.6.9.ebuild 1189
-MD5 2b79b2d0d5c86fb730f64fe6b314c6c8 smarty-2.6.10.ebuild 1194
+MD5 0fed9ec4c618b6d5b185bbb00b979592 ChangeLog 5299
MD5 cc746919357bf3d40185fb16d4e2be1c files/digest-smarty-2.6.0-r2 64
+MD5 5c8b2c664a6db112f8008092217a87f4 files/digest-smarty-2.6.10 65
+MD5 5c8b2c664a6db112f8008092217a87f4 files/digest-smarty-2.6.10-r1 65
MD5 e4efdb7a0ff70439c7314f0f570ea9aa files/digest-smarty-2.6.2 64
MD5 3724d102d85b8d2f110e277db301709e files/digest-smarty-2.6.5 64
MD5 b845522a9eb880ee9852fb8be4a6cb98 files/digest-smarty-2.6.7 64
MD5 7086f4ebff0ab3d5ae35409f705666cd files/digest-smarty-2.6.8 64
MD5 0de6f1952c6152b890abee74c964e0a0 files/digest-smarty-2.6.9 64
-MD5 5c8b2c664a6db112f8008092217a87f4 files/digest-smarty-2.6.10 65
+MD5 614fc58a3eb857c656b39f39e330a79e metadata.xml 245
+MD5 cb3dd9ceb3c427858d643cc29888df37 smarty-2.6.0-r2.ebuild 992
+MD5 1cfcfe46e0ac543a42c4c88f6cf1af8e smarty-2.6.10-r1.ebuild 1193
+MD5 2b79b2d0d5c86fb730f64fe6b314c6c8 smarty-2.6.10.ebuild 1194
+MD5 b72619637b011549b0d9d246aff3329b smarty-2.6.2.ebuild 1021
+MD5 ffeaf039a8dd126e56890aa4499254ef smarty-2.6.5.ebuild 1028
+MD5 170edd90e166535fb6af77449ffd32ef smarty-2.6.7.ebuild 1032
+MD5 8dd31197b12feefd4737428a6b214875 smarty-2.6.8.ebuild 1026
+MD5 3797eb1774b9f63e7610185b77d69f16 smarty-2.6.9.ebuild 1189
diff --git a/dev-php/smarty/files/digest-smarty-2.6.10-r1 b/dev-php/smarty/files/digest-smarty-2.6.10-r1
new file mode 100644
index 000000000000..426908c55419
--- /dev/null
+++ b/dev-php/smarty/files/digest-smarty-2.6.10-r1
@@ -0,0 +1 @@
+MD5 0c31105a157547bafcff8c13bb64c6a3 Smarty-2.6.10.tar.gz 142846
diff --git a/dev-php/smarty/metadata.xml b/dev-php/smarty/metadata.xml
index a0578bae9b81..463b3d5a03ed 100644
--- a/dev-php/smarty/metadata.xml
+++ b/dev-php/smarty/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>php</herd>
-<maintainer>
- <email>tomk@gentoo.org</email>
- <name>Tom Knight</name>
-</maintainer>
+ <herd>php</herd>
+ <maintainer>
+ <email>tomk@gentoo.org</email>
+ <name>Tom Knight</name>
+ </maintainer>
</pkgmetadata>
diff --git a/dev-php/smarty/smarty-2.6.10-r1.ebuild b/dev-php/smarty/smarty-2.6.10-r1.ebuild
new file mode 100644
index 000000000000..aa7b40ec796e
--- /dev/null
+++ b/dev-php/smarty/smarty-2.6.10-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/smarty-2.6.10-r1.ebuild,v 1.1 2005/11/24 12:26:46 chtekk Exp $
+
+PHP_LIB_NAME="Smarty"
+
+inherit php-lib-r1
+
+DESCRIPTION="A template engine for PHP."
+HOMEPAGE="http://smarty.php.net/"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="doc"
+
+DEPEND="doc? ( dev-php/smarty-docs )"
+
+MY_P="${PHP_LIB_NAME}-${PV}"
+SRC_URI="http://smarty.php.net/distributions/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+need_php_by_category
+
+src_install() {
+ dodoc-php [A-Z]*
+ php-lib-r1_src_install ./libs `find ./libs -type f -print | sed -e "s|./libs||g"`
+}
+
+pkg_postinst() {
+ einfo "${PHP_LIB_NAME} has been installed in /usr/share/php/Smarty/."
+ einfo "To use it in your scripts, either"
+ einfo "1. define('SMARTY_DIR', \"/usr/share/php/Smarty/\") in your scripts, or"
+ einfo "2. add '/usr/share/php/Smarty/' to the 'include_path' variable in your"
+ einfo "php.ini file under /etc/php/SAPI (where SAPI is one of apache-php[45],"
+ einfo "cgi-php[45] or cli-php[45])."
+ echo
+ einfo "If you're upgrading from a version < 2.6.6 make sure to clear out your"
+ einfo "templates_c and cache directories as some include paths have changed!"
+}