summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElfyn McBratney <beu@gentoo.org>2007-02-03 00:41:03 +0000
committerElfyn McBratney <beu@gentoo.org>2007-02-03 00:41:03 +0000
commit1ff7d976134d304ad6cbc1564bcd49f11d99c1d9 (patch)
treef23697bf4716d9a3c81ca7248dd1920383fe338b /app-doc/php-docs
parentRemoved IUSE=svg which moved down to other packages. See bug #164885. (diff)
downloadgentoo-2-1ff7d976134d304ad6cbc1564bcd49f11d99c1d9.tar.gz
gentoo-2-1ff7d976134d304ad6cbc1564bcd49f11d99c1d9.tar.bz2
gentoo-2-1ff7d976134d304ad6cbc1564bcd49f11d99c1d9.zip
Version bump.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-doc/php-docs')
-rw-r--r--app-doc/php-docs/ChangeLog14
-rw-r--r--app-doc/php-docs/files/digest-php-docs-200702023
-rw-r--r--app-doc/php-docs/metadata.xml2
-rw-r--r--app-doc/php-docs/php-docs-20070202.ebuild35
4 files changed, 51 insertions, 3 deletions
diff --git a/app-doc/php-docs/ChangeLog b/app-doc/php-docs/ChangeLog
index bcde71192ca6..8e28494ae225 100644
--- a/app-doc/php-docs/ChangeLog
+++ b/app-doc/php-docs/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for app-doc/php-docs
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v 1.21 2006/09/03 20:41:52 kumba Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v 1.22 2007/02/03 00:41:03 beu Exp $
+
+ 03 Feb 2007; Elfyn McBratney <beu@gentoo.org> metadata.xml,
+ +php-docs-20070202.ebuild:
+ Version bump.
+
+*php-docs-20070202 (03 Feb 2007)
+
+ 03 Feb 2007; Elfyn McBratney <beu@gentoo.org> metadata.xml,
+ +php-docs-20070202.ebuild:
+ Version bump.
04 Sep 2006; Joshua Kinard <kumba@gentoo.org> php-docs-20050822.ebuild:
Marked stable on mips.
diff --git a/app-doc/php-docs/files/digest-php-docs-20070202 b/app-doc/php-docs/files/digest-php-docs-20070202
new file mode 100644
index 000000000000..b9377d79ac12
--- /dev/null
+++ b/app-doc/php-docs/files/digest-php-docs-20070202
@@ -0,0 +1,3 @@
+MD5 3aa2c3b87d8ec280c9a537f80b8c2506 php-docs-20070202.tar.gz 3424391
+RMD160 cf532c238c6b7c5b6475ba045be01ebc09bdea58 php-docs-20070202.tar.gz 3424391
+SHA256 b4cf2dcb28596b3bae186eea4031efe6197f3acbcede90d3d0560d7600e0de02 php-docs-20070202.tar.gz 3424391
diff --git a/app-doc/php-docs/metadata.xml b/app-doc/php-docs/metadata.xml
index 9eb41912cfcb..04cd6459474d 100644
--- a/app-doc/php-docs/metadata.xml
+++ b/app-doc/php-docs/metadata.xml
@@ -5,6 +5,6 @@
<maintainer>
<email>beu@gentoo.org</email>
<name>Elfyn McBratney</name>
- <description>Primary Maintainer</description>
+ <description>Primary Maintainer</description>
</maintainer>
</pkgmetadata>
diff --git a/app-doc/php-docs/php-docs-20070202.ebuild b/app-doc/php-docs/php-docs-20070202.ebuild
new file mode 100644
index 000000000000..06299826d72b
--- /dev/null
+++ b/app-doc/php-docs/php-docs-20070202.ebuild
@@ -0,0 +1,35 @@
+# 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-20070202.ebuild,v 1.1 2007/02/03 00:41:03 beu Exp $
+
+DESCRIPTION="HTML documentation for PHP"
+HOMEPAGE="http://www.php.net/download-docs.php"
+SRC_URI="mirror://gentoo/php-docs-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+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 *
+}
+
+pkg_postinst() {
+ einfo "Creating symlink to PHP manual at /usr/share/php-docs"
+ [[ -e /usr/share/php-docs ]] && rm -f /usr/share/php-docs
+ ln -s /usr/share/doc/php-docs-${PVR}/html /usr/share/php-docs
+}