summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2014-10-15 13:08:55 +0000
committerBrian Evans <grknight@gentoo.org>2014-10-15 13:08:55 +0000
commit186513d090254cc11fb1828689fd0874afdbf2ca (patch)
treec7362b03c9f241babbf1d93547d681878afda0f5
parentAdd initial category metadata. (diff)
downloadgentoo-2-186513d090254cc11fb1828689fd0874afdbf2ca.tar.gz
gentoo-2-186513d090254cc11fb1828689fd0874afdbf2ca.tar.bz2
gentoo-2-186513d090254cc11fb1828689fd0874afdbf2ca.zip
Version bump
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 67C78E1D)
-rw-r--r--dev-php/smarty/ChangeLog7
-rw-r--r--dev-php/smarty/smarty-3.1.20.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-php/smarty/ChangeLog b/dev-php/smarty/ChangeLog
index eb306266c596..92dc6b4c7eb1 100644
--- a/dev-php/smarty/ChangeLog
+++ b/dev-php/smarty/ChangeLog
@@ -1,6 +1,11 @@
# 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.135 2014/08/10 21:05:33 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/ChangeLog,v 1.136 2014/10/15 13:08:55 grknight Exp $
+
+*smarty-3.1.20 (15 Oct 2014)
+
+ 15 Oct 2014; Brian Evans <grknight@gentoo.org> +smarty-3.1.20.ebuild:
+ Version bump
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> smarty-2.6.28.ebuild,
smarty-3.1.12.ebuild, smarty-3.1.16.ebuild:
diff --git a/dev-php/smarty/smarty-3.1.20.ebuild b/dev-php/smarty/smarty-3.1.20.ebuild
new file mode 100644
index 000000000000..5715ea5a77fe
--- /dev/null
+++ b/dev-php/smarty/smarty-3.1.20.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/smarty-3.1.20.ebuild,v 1.1 2014/10/15 13:08:55 grknight Exp $
+
+EAPI=5
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+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-2.1"
+SLOT="0"
+IUSE="doc"
+
+DEPEND="doc? ( app-arch/unzip )"
+RDEPEND="dev-lang/php"
+
+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 "To use it in your scripts, either"
+ elog "1. define('SMARTY_DIR', \"/usr/share/php/${PN}/\") in your scripts, or"
+ elog "2. add '/usr/share/php/${PN}/' to the 'include_path' variable in your"
+ elog "php.ini file under /etc/php/SAPI (where SAPI is e.g apache2-php5.3,"
+ elog "cgi-php5.3, etc)."
+}