summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2010-10-29 09:31:47 +0000
committerOle Markus With <olemarkus@gentoo.org>2010-10-29 09:31:47 +0000
commitc480231b85b3c7e8552a1cb1745cb4b4586c4fd3 (patch)
treee5c797add2053d58005f88710aa63d4e2cbc7d43 /app-doc
parentVersion bump (diff)
downloadhistorical-c480231b85b3c7e8552a1cb1745cb4b4586c4fd3.tar.gz
historical-c480231b85b3c7e8552a1cb1745cb4b4586c4fd3.tar.bz2
historical-c480231b85b3c7e8552a1cb1745cb4b4586c4fd3.zip
Version bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/php-docs/ChangeLog8
-rw-r--r--app-doc/php-docs/Manifest5
-rw-r--r--app-doc/php-docs/metadata.xml3
-rw-r--r--app-doc/php-docs/php-docs-20101022.ebuild58
4 files changed, 68 insertions, 6 deletions
diff --git a/app-doc/php-docs/ChangeLog b/app-doc/php-docs/ChangeLog
index 9b658825c12d..483447c3c7ef 100644
--- a/app-doc/php-docs/ChangeLog
+++ b/app-doc/php-docs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-doc/php-docs
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v 1.47 2010/08/02 17:41:26 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v 1.48 2010/10/29 09:31:46 olemarkus Exp $
+
+*php-docs-20101022 (29 Oct 2010)
+
+ 29 Oct 2010; <olemarkus@gentoo.org> +php-docs-20101022.ebuild,
+ metadata.xml:
+ Version bump
*php-docs-20100730 (02 Aug 2010)
diff --git a/app-doc/php-docs/Manifest b/app-doc/php-docs/Manifest
index bee649bd1b19..f5f7b0bc9e94 100644
--- a/app-doc/php-docs/Manifest
+++ b/app-doc/php-docs/Manifest
@@ -32,5 +32,6 @@ DIST php_manual_ro.tar.gz 5803384 RMD160 c17712ff7427cd2a79aa19a6089303e9de40000
DIST php_manual_tr.tar.gz 5935956 RMD160 6782f0ad7b3150ced65d7236712764c0fca7d43c SHA1 decccecee3451f239a7334ddf094e620bc0497f8 SHA256 db60f503e3d42a6f73161da6a8b40c58bd6338e4b36570fc1572e1bcb3911068
EBUILD php-docs-20071125-r2.ebuild 1678 RMD160 802e0d7a85758201920299da9dd92fa59e735096 SHA1 39b93a81e0a1af3e4375e4771acd32ac6b888f21 SHA256 7e16dbb5952316282ab753f7e59dd7b7b322588b00ceaa85e7892a88a03c6624
EBUILD php-docs-20100730.ebuild 1577 RMD160 547e2e6b85c75a30eaf170f51994f6b6baabedb1 SHA1 0e514a499c6a26f4f5bd38df64a894878adb84c8 SHA256 f6ed146fa6353eadbbf0a7b968243d54e56cefa6fdf1732993e81328526cad99
-MISC ChangeLog 6054 RMD160 463174a35a4b06d2509337045983120a8bab9b3a SHA1 6d3c7f2994eebd0340c7bfff2c18eea944111541 SHA256 5d6ce39efbabc364dc6db5842a823285572fd939958a5f8b26346278f6e7934a
-MISC metadata.xml 241 RMD160 ef412e218bcecf6e2dacc6de76fd1f96454a8b91 SHA1 2293b6efcdbb3243ed37d6e54560b954c8df67e8 SHA256 44ee5cdb6837f52198ae6e51fc99b106f19edd83584467cd100c6ce82d066a13
+EBUILD php-docs-20101022.ebuild 1582 RMD160 b979479bdec5962c6be61a68c161ab861a53d343 SHA1 784d3669fb056f0445f89428b5c9a1f187b6c118 SHA256 3ee4ecf3e3b4e22759392e464ee238637a985b6de89eaf84a093a313b02b985a
+MISC ChangeLog 6190 RMD160 483b5dab3926e298cb4bc012f942674b5b7278d3 SHA1 3611d546030f166b6a745e745cb1d24e15465995 SHA256 a7f82768777ceffc860538bfd41c0c5402ef3218c69bc84cd1cdef043eac78b0
+MISC metadata.xml 160 RMD160 944fd2ed43f89c53b17d59f1c2e43c5d2c50cef1 SHA1 ba402ab4ce49122fcdc7965c8409665dd6dc2f6d SHA256 f07e7081dd8b9ced70b87383ad3c35ffc35c67c92ce6c498c83967c49333704e
diff --git a/app-doc/php-docs/metadata.xml b/app-doc/php-docs/metadata.xml
index 86bd8e61e6f5..a8b98f4e37fa 100644
--- a/app-doc/php-docs/metadata.xml
+++ b/app-doc/php-docs/metadata.xml
@@ -2,7 +2,4 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>php</herd>
- <maintainer>
- <email>maintainer-needed@gentoo.org</email>
- </maintainer>
</pkgmetadata>
diff --git a/app-doc/php-docs/php-docs-20101022.ebuild b/app-doc/php-docs/php-docs-20101022.ebuild
new file mode 100644
index 000000000000..a05530784147
--- /dev/null
+++ b/app-doc/php-docs/php-docs-20101022.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/php-docs-20101022.ebuild,v 1.1 2010/10/29 09:31:47 olemarkus Exp $
+
+EAPI="3"
+
+DESCRIPTION="HTML documentation for PHP"
+HOMEPAGE="http://www.php.net/download-docs.php"
+
+MY_PN="php_manual"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="+linguas_en"
+SRC_URI="linguas_en? ( http://www.php.net/distributions/manual/${MY_PN}_en.tar.gz )"
+
+RESTRICT="strip binchecks"
+
+LANGS="de es fa fr ja pl pt_BR ro tr"
+for lang in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${lang}"
+ SRC_URI="${SRC_URI}
+ linguas_${lang}? ( http://www.php.net/distributions/manual/${MY_PN}_${lang}.tar.gz )"
+done
+
+S=${WORKDIR}
+
+src_unpack() {
+ for lang in en ${LANGS} ; do
+ if use linguas_${lang} ; then
+ mkdir ${lang}
+ pushd ${lang} >/dev/null
+ unpack ${MY_PN}_${lang}.tar.gz || die "unpack failed on ${lang}"
+ popd >/dev/null
+ fi
+ done
+}
+
+pkg_preinst() {
+ # remove broken/stale symlink created by previous ebuilds
+ [[ -L ${EROOT}/usr/share/php-docs ]] && rm -f "${EROOT}"/usr/share/php-docs
+}
+
+src_install() {
+ dodir /usr/share/doc/${PF}
+
+ for lang in en ${LANGS} ; do
+ if use linguas_${lang} ; then
+ ebegin "Installing ${lang} manual, will take a while"
+ cp -R "${WORKDIR}"/${lang} "${ED}"/usr/share/doc/${PF} || die "cp failed on ${lang}"
+ eend $?
+ fi
+ done
+
+ einfo "Creating symlink to PHP manual at /usr/share/php-docs"
+ dosym /usr/share/doc/${PF} /usr/share/php-docs
+}