diff options
author | Ole Markus With <olemarkus@gentoo.org> | 2011-09-07 15:11:40 +0000 |
---|---|---|
committer | Ole Markus With <olemarkus@gentoo.org> | 2011-09-07 15:11:40 +0000 |
commit | 5e4152c8e81e25328c4284cbf2f078da20a42add (patch) | |
tree | 5d61f40a2d01f00f0b4589362af32313f972279f /dev-php/smarty-docs/smarty-docs-2.6.ebuild | |
parent | remove nonsensical system-libx264 useflag, we shall always use the system ver... (diff) | |
download | gentoo-2-5e4152c8e81e25328c4284cbf2f078da20a42add.tar.gz gentoo-2-5e4152c8e81e25328c4284cbf2f078da20a42add.tar.bz2 gentoo-2-5e4152c8e81e25328c4284cbf2f078da20a42add.zip |
Removed older version that used confutils
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-php/smarty-docs/smarty-docs-2.6.ebuild')
-rw-r--r-- | dev-php/smarty-docs/smarty-docs-2.6.ebuild | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/dev-php/smarty-docs/smarty-docs-2.6.ebuild b/dev-php/smarty-docs/smarty-docs-2.6.ebuild deleted file mode 100644 index 0533149056bb..000000000000 --- a/dev-php/smarty-docs/smarty-docs-2.6.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty-docs/smarty-docs-2.6.ebuild,v 1.1 2011/02/11 14:27:24 tomk Exp $ - -EAPI=4 - -inherit confutils - -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="pdf html" -DESCRIPTION="Documentation for Smarty, a template engine for PHP." -HOMEPAGE="http://www.smarty.net/documentation" -SRC_URI="html? ( http://www.smarty.net/files/docs/manual-en-${PV}.zip -> ${P}-en.zip ) - pdf? ( http://www.smarty.net/files/docs/manual-en-${PV}.pdf -> ${P}-en.pdf )" - -LANGS="de en es fr it ja pt_BR ru" - -for X in ${LANGS}; do - [[ ${X} != "en" ]] && SRC_URI="${SRC_URI} linguas_${X}? ( - html? ( http://www.smarty.net/files/docs/manual-${X}-${PV}.zip -> ${P}-${X}.zip ) - pdf? ( http://www.smarty.net/files/docs/manual-${X}-${PV}.pdf -> ${P}-${X}.pdf ) )" - IUSE="${IUSE} linguas_${X}" -done - -LICENSE="LGPL-2.1" -SLOT="0" - -DEPEND="html? ( app-arch/unzip )" -RDEPEND="${DEPEND}" - -pkg_setup() { - confutils_require_any html pdf -} - -src_unpack() { - mkdir -p "${S}" - - if use html; then - mkdir "${S}"/html - pushd "${S}"/html > /dev/null - - unpack ${P}-en.zip - - for X in ${LANGS}; do - if [[ ${X} != "en" ]] && use linguas_${X}; then - unpack ${P}-${X}.zip - fi - done - - popd > /dev/null - fi -} - -src_install() { - if use html; then - dohtml -r html/* - fi - - if use pdf; then - docinto pdf - dodoc "${DISTDIR}"/${P}-*.pdf - fi -} |