summaryrefslogtreecommitdiff
path: root/dev-php/smarty
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
commit290aebdea65a02557706eaeda477fef0437b6a48 (patch)
treef87a939169a508a2e943570501b64cc16b411cda /dev-php/smarty
parent6783ddcd4b73d9ce586a71770caed352bec93b16 (diff)
downloadbaldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip
Adding metadata
Diffstat (limited to 'dev-php/smarty')
-rw-r--r--dev-php/smarty/Manifest1
-rw-r--r--dev-php/smarty/metadata.xml23
-rw-r--r--dev-php/smarty/smarty-4.3.1.ebuild50
3 files changed, 0 insertions, 74 deletions
diff --git a/dev-php/smarty/Manifest b/dev-php/smarty/Manifest
deleted file mode 100644
index bf76715a4a1c..000000000000
--- a/dev-php/smarty/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST smarty-4.3.1.tar.gz 361248 BLAKE2B b09ab14742b9ebdfd1e31ec9d2ac79016ce8869403da67ea241b735875ef25f40c2936a41bda5647ca697b708b91b02a29f5d17ebbc7d6049bf468851f0bc70f SHA512 03a42007fd1c03ba502b7a2255071638e978a54e5d75d4542a033e9f490c7c41587b5593316269107fe904a7b96a1a3337bf9525e038a5bb4051cc9aef13940f
diff --git a/dev-php/smarty/metadata.xml b/dev-php/smarty/metadata.xml
deleted file mode 100644
index c8f300c68e19..000000000000
--- a/dev-php/smarty/metadata.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>php-bugs@gentoo.org</email>
- <name>PHP</name>
- </maintainer>
- <maintainer type="person">
- <email>mjo@gentoo.org</email>
- <name>Michael Orlitzky</name>
- </maintainer>
- <longdescription lang="en">
- Smarty is a template engine for PHP, facilitating the separation
- of presentation (HTML/CSS) from application logic. This implies
- that PHP code is application logic, and is separated from the
- presentation.
- </longdescription>
- <upstream>
- <remote-id type="cpe">cpe:/a:smarty:smarty</remote-id>
- </upstream>
- <stabilize-allarches />
- <origin>baldeagleos-repo</origin>
-</pkgmetadata>
diff --git a/dev-php/smarty/smarty-4.3.1.ebuild b/dev-php/smarty/smarty-4.3.1.ebuild
deleted file mode 100644
index 862d7c1e50ca..000000000000
--- a/dev-php/smarty/smarty-4.3.1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2025 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="amd64 ~hppa ppc64 ~sparc x86"
-IUSE="doc examples"
-
-# 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_prepare() {
- default
-
- # Prepare the docs and examples for easy dodocing.
- rm docs/_config.yml || die
- mv -v demo examples || die
-}
-
-src_install() {
- insinto "/usr/share/php/${PN}"
- doins -r libs/*
-
- local DOCS=( CHANGELOG.md README.md SECURITY.md )
-
- use doc && dodoc -r docs/*
- use examples && dodoc -r examples
- 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.'
-}