summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-11-29 23:15:47 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-11-29 23:15:47 +0000
commit89c62ea202a9dc245f0523a0c234485beccb1032 (patch)
treeb570b1f73a6c88d579a900f7249e1b7f2b0649a9
parenttypo fix: lingias_es -> linguas_es (diff)
downloadgentoo-2-89c62ea202a9dc245f0523a0c234485beccb1032.tar.gz
gentoo-2-89c62ea202a9dc245f0523a0c234485beccb1032.tar.bz2
gentoo-2-89c62ea202a9dc245f0523a0c234485beccb1032.zip
Version bump from project overlay
(Portage version: 2.1.4_rc4)
-rw-r--r--app-doc/php-docs/ChangeLog10
-rw-r--r--app-doc/php-docs/files/digest-php-docs-200711253
-rw-r--r--app-doc/php-docs/php-docs-20071125.ebuild37
3 files changed, 49 insertions, 1 deletions
diff --git a/app-doc/php-docs/ChangeLog b/app-doc/php-docs/ChangeLog
index a4c6c514f92b..1136aa377632 100644
--- a/app-doc/php-docs/ChangeLog
+++ b/app-doc/php-docs/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-doc/php-docs
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v 1.31 2007/10/29 17:10:03 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v 1.32 2007/11/29 23:15:46 jokey Exp $
+
+*php-docs-20071125 (29 Nov 2007)
+
+ 29 Nov 2007; Markus Ullmann <jokey@gentoo.org> +php-docs-20071125.ebuild:
+ Version bump from project overlay
+
+ 29 Nov 2007; Jakub Moc <jakub@gentoo.org> +php-docs-20071125.ebuild:
+ Version bump
29 Oct 2007; Raúl Porcel <armin76@gentoo.org> -php-docs-200403.ebuild,
-php-docs-20050822.ebuild, php-docs-20070202-r1.ebuild:
diff --git a/app-doc/php-docs/files/digest-php-docs-20071125 b/app-doc/php-docs/files/digest-php-docs-20071125
new file mode 100644
index 000000000000..48994c8b0991
--- /dev/null
+++ b/app-doc/php-docs/files/digest-php-docs-20071125
@@ -0,0 +1,3 @@
+MD5 c745e1cf120e59218468319469a4b3aa php-docs-20071125.tar.gz 3407504
+RMD160 f96c134c4e7167f7f639bd196862e6d323fe8696 php-docs-20071125.tar.gz 3407504
+SHA256 5381f40deedb6dc92be752ea4131c00c6b547d884b24712f87cc2c7c4b8fd56c php-docs-20071125.tar.gz 3407504
diff --git a/app-doc/php-docs/php-docs-20071125.ebuild b/app-doc/php-docs/php-docs-20071125.ebuild
new file mode 100644
index 000000000000..4282f01565b6
--- /dev/null
+++ b/app-doc/php-docs/php-docs-20071125.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/php-docs-20071125.ebuild,v 1.1 2007/11/29 23:15:46 jokey Exp $
+
+DESCRIPTION="HTML documentation for PHP"
+HOMEPAGE="http://www.php.net/download-docs.php"
+SRC_URI="http://dev.gentooexperimental.org/~jakub/distfiles/${P}.tar.gz
+ mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+RESTRICT="strip binchecks"
+
+S=${WORKDIR}/html
+
+src_install() {
+ # the whole structure is too much to do with a simple dohtml *
+ for x in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do
+ files="$(echo function.${x}*)"
+ [[ -n ${files} ]] || continue;
+
+ dohtml function.${x}*
+ rm function.${x}*
+ done
+
+ # what's left will fit into a single dohtml *
+ dohtml *.html
+ mv * "${D}"/usr/share/doc/php-docs-${PVR}/html/ || die "bad mv"
+}
+
+pkg_postinst() {
+ einfo "Creating symlink to PHP manual at /usr/share/php-docs"
+ [[ -e ${ROOT}/usr/share/php-docs ]] && rm -f "${ROOT}"/usr/share/php-docs
+ ln -s "${ROOT}"/usr/share/doc/php-docs-${PVR}/html "${ROOT}"/usr/share/php-docs
+}