summaryrefslogtreecommitdiff
path: root/dev-php/smarty/smarty-4.2.1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-03 05:24:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-03 05:24:29 +0100
commit007b0aae027279095b8605c214b535e59df8f6eb (patch)
tree3ab8d7df4662438a0507197b948705b4772083d5 /dev-php/smarty/smarty-4.2.1.ebuild
parentf20958f66a5e97c92cc44354e07e3e3089dfc23d (diff)
gentoo auto-resync : 03:05:2023 - 05:24:28
Diffstat (limited to 'dev-php/smarty/smarty-4.2.1.ebuild')
-rw-r--r--dev-php/smarty/smarty-4.2.1.ebuild40
1 files changed, 0 insertions, 40 deletions
diff --git a/dev-php/smarty/smarty-4.2.1.ebuild b/dev-php/smarty/smarty-4.2.1.ebuild
deleted file mode 100644
index 882ec1a65927..000000000000
--- a/dev-php/smarty/smarty-4.2.1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="A template engine for PHP"
-HOMEPAGE="https://www.smarty.net/ https://github.com/smarty-php/smarty/"
-SRC_URI="https://github.com/smarty-php/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
-
-# 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]"
-
-src_install() {
- insinto "/usr/share/php/${PN}"
- doins -r libs/*
-
- # The smarty docs and examples aren't part of the tarball,
- # https://github.com/smarty-php/smarty/issues/799
- local DOCS=( CHANGELOG.md README.md SECURITY.md )
- einstalldocs
-}
-
-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.'
-}