Gentoo Archives: gentoo-commits

From: "Matti Bickel (mabi)" <mabi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-php/smarty: smarty-3.1.7.ebuild ChangeLog smarty-3.0.7.ebuild smarty-2.6.24-r1.ebuild smarty-2.6.26-r1.ebuild
Date: Sat, 28 Jan 2012 14:24:34
Message-Id: 20120128142423.AB93B2004B@flycatcher.gentoo.org
1 mabi 12/01/28 14:24:23
2
3 Modified: ChangeLog
4 Added: smarty-3.1.7.ebuild
5 Removed: smarty-3.0.7.ebuild smarty-2.6.24-r1.ebuild
6 smarty-2.6.26-r1.ebuild
7 Log:
8 version bump, remove old, obsoletes the need for dev-php/smarty-docs
9
10 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.110 dev-php/smarty/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/smarty/ChangeLog?rev=1.110&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/smarty/ChangeLog?rev=1.110&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/smarty/ChangeLog?r1=1.109&r2=1.110
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/dev-php/smarty/ChangeLog,v
22 retrieving revision 1.109
23 retrieving revision 1.110
24 diff -u -r1.109 -r1.110
25 --- ChangeLog 12 Feb 2011 17:38:46 -0000 1.109
26 +++ ChangeLog 28 Jan 2012 14:24:23 -0000 1.110
27 @@ -1,6 +1,12 @@
28 # ChangeLog for dev-php/smarty
29 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/ChangeLog,v 1.109 2011/02/12 17:38:46 ssuominen Exp $
31 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/ChangeLog,v 1.110 2012/01/28 14:24:23 mabi Exp $
33 +
34 +*smarty-3.1.7 (28 Jan 2012)
35 +
36 + 28 Jan 2012; Matti Bickel <mabi@g.o> +smarty-3.1.7.ebuild,
37 + -smarty-2.6.24-r1.ebuild, -smarty-2.6.26-r1.ebuild, -smarty-3.0.7.ebuild:
38 + version bump, remove old, obsoletes the need for dev-php/smarty-docs
39
40 12 Feb 2011; Samuli Suominen <ssuominen@g.o> smarty-2.6.24.ebuild:
41 ia64 stable
42
43
44
45 1.1 dev-php/smarty/smarty-3.1.7.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/smarty/smarty-3.1.7.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/smarty/smarty-3.1.7.ebuild?rev=1.1&content-type=text/plain
49
50 Index: smarty-3.1.7.ebuild
51 ===================================================================
52 # Copyright 1999-2012 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/smarty-3.1.7.ebuild,v 1.1 2012/01/28 14:24:23 mabi Exp $
55
56 EAPI=4
57
58 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
59
60 MY_P="Smarty-${PV}"
61
62 DESCRIPTION="A template engine for PHP."
63 HOMEPAGE="http://www.smarty.net/"
64 SRC_URI="http://www.smarty.net/files/${MY_P}.tar.gz
65 doc? ( http://www.smarty.net/files/docs/manual-en-${PV}.zip )"
66 LICENSE="LGPL-2.1"
67 SLOT="0"
68 IUSE="doc"
69
70 DEPEND="app-arch/unzip"
71 RDEPEND="dev-lang/php"
72
73 S="${WORKDIR}/${MY_P}"
74
75 src_install() {
76 insinto "/usr/share/php/${PN}"
77 doins -r libs/*
78
79 dodoc *.txt README
80 use doc && dohtml -r "${WORKDIR}/manual-en/"*
81 }
82
83 pkg_postinst() {
84 elog "${PN} has been installed in /usr/share/php/${PN}/."
85 elog "To use it in your scripts, either"
86 elog "1. define('SMARTY_DIR', \"/usr/share/php/${PN}/\") in your scripts, or"
87 elog "2. add '/usr/share/php/${PN}/' to the 'include_path' variable in your"
88 elog "php.ini file under /etc/php/SAPI (where SAPI is e.g apache2-php5.3,"
89 elog "cgi-php5.3, etc)."
90 elog
91 elog "If you're upgrading from a previous version make sure to clear out your"
92 elog "templates_c and cache directories as some include paths have changed!"
93 }