mjo         15/01/13 02:03:51

  Modified:             ChangeLog
  Added:                smarty-3.1.21-r1.ebuild
  Removed:              smarty-3.1.21.ebuild
  Log:
  Revbump fixing LICENSE and missing RDEPEND, bug #532618.
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0x6F48D3DA05C2DADB!)

Revision  Changes    Path
1.138                dev-php/smarty/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/smarty/ChangeLog?rev=1.138&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/smarty/ChangeLog?rev=1.138&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/smarty/ChangeLog?r1=1.137&r2=1.138

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-php/smarty/ChangeLog,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -r1.137 -r1.138
--- ChangeLog   29 Oct 2014 13:56:37 -0000      1.137
+++ ChangeLog   13 Jan 2015 02:03:51 -0000      1.138
@@ -1,6 +1,12 @@
 # ChangeLog for dev-php/smarty
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/ChangeLog,v 1.137 2014/10/29 
13:56:37 grknight Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/ChangeLog,v 1.138 2015/01/13 
02:03:51 mjo Exp $
+
+*smarty-3.1.21-r1 (13 Jan 2015)
+
+  13 Jan 2015; Michael Orlitzky <m...@gentoo.org> +smarty-3.1.21-r1.ebuild,
+  -smarty-3.1.21.ebuild:
+  Revbump fixing LICENSE and missing RDEPEND, bug #532618.
 
 *smarty-3.1.21 (29 Oct 2014)
 



1.1                  dev-php/smarty/smarty-3.1.21-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/smarty/smarty-3.1.21-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/smarty/smarty-3.1.21-r1.ebuild?rev=1.1&content-type=text/plain

Index: smarty-3.1.21-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/smarty-3.1.21-r1.ebuild,v 1.1 
2015/01/13 02:03:51 mjo Exp $

EAPI=5

MY_P="Smarty-${PV}"
DOC_PV="3.1.14"

DESCRIPTION="A template engine for PHP"
HOMEPAGE="http://www.smarty.net/";
SRC_URI="http://www.smarty.net/files/${MY_P}.tar.gz
        doc? ( http://www.smarty.net/files/docs/manual-en.${DOC_PV}.zip )"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc"

DEPEND="doc? ( app-arch/unzip )"

# PHP unicode support is detected at runtime, and the cached templates
# that smarty generates depend on it. If, later on, PHP is reinstalled
# without unicode support, all of the previously-generated cached
# templates will begin to throw 500 errrors for missing mb_foo
# functions. See bug #532618.
RDEPEND="dev-lang/php[unicode]"

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

src_install() {
        insinto "/usr/share/php/${PN}"
        doins -r libs/*

        dodoc *.txt README
        use doc && dohtml -r "${WORKDIR}/manual-en/"*
}

pkg_postinst() {
        elog "${PN} has been installed in /usr/share/php/${PN}/."
        elog
        elog 'To use it in your scripts, include the Smarty.class.php file'
        elog "from the \"${PN}\" directory; for example,"
        elog
        elog "  require('${PN}/Smarty.class.php');"
        elog
        elog 'After that, the Smarty class will be available to you.'
}




Reply via email to