summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2005-09-04 10:02:45 +0000
committerStuart Herbert <stuart@gentoo.org>2005-09-04 10:02:45 +0000
commit0d693059482ac53ce9db41660506851bf8ca6f93 (patch)
tree47a32752b51b192de7d70a0101e56fa32813972d /app-doc/php-docs
parentDon't install COPYING file. (diff)
downloadgentoo-2-0d693059482ac53ce9db41660506851bf8ca6f93.tar.gz
gentoo-2-0d693059482ac53ce9db41660506851bf8ca6f93.tar.bz2
gentoo-2-0d693059482ac53ce9db41660506851bf8ca6f93.zip
Updated manual version; now creates symlink as /usr/share/php-docs
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-doc/php-docs')
-rw-r--r--app-doc/php-docs/ChangeLog8
-rw-r--r--app-doc/php-docs/Manifest2
-rw-r--r--app-doc/php-docs/files/digest-php-docs-200508221
-rw-r--r--app-doc/php-docs/php-docs-20050822.ebuild34
4 files changed, 44 insertions, 1 deletions
diff --git a/app-doc/php-docs/ChangeLog b/app-doc/php-docs/ChangeLog
index 7b3c96047d81..d0ebe42b4b5e 100644
--- a/app-doc/php-docs/ChangeLog
+++ b/app-doc/php-docs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-doc/php-docs
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v 1.11 2005/05/18 07:05:09 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v 1.12 2005/09/04 10:02:45 stuart Exp $
+
+*php-docs-20050822 (04 Sep 2005)
+
+ 04 Sep 2005; Stuart Herbert <stuart@gentoo.org> +php-docs-20050822.ebuild:
+ Updated the manual that we install
+ /usr/share/php-docs is now a symlink to the last installed php-docs
18 May 2005; Markus Rothe <corsair@gentoo.org> php-docs-200403.ebuild:
Stable on ppc64
diff --git a/app-doc/php-docs/Manifest b/app-doc/php-docs/Manifest
index d97d0237b7b6..4fa1346a5cb8 100644
--- a/app-doc/php-docs/Manifest
+++ b/app-doc/php-docs/Manifest
@@ -2,5 +2,7 @@ MD5 77d38032cbb091e28cc0c4f55adb70ac ChangeLog 1248
MD5 38fe937e954ab7109395cefa86fcd2d4 metadata.xml 384
MD5 32d19e97420dc917ee93db8bdc03ce2f php-docs-200403.ebuild 620
MD5 d50afb509135f300ebc65d45fc20dc86 php-docs-4.2.3.ebuild 490
+MD5 c602b50b2f436dc3de938df6b4ae564e php-docs-20050822.ebuild 977
MD5 bd92c460990d9dd5dbbfa4a6f2266916 files/digest-php-docs-200403 73
MD5 b86899d455b1d4fb39d7b57537daf5b7 files/digest-php-docs-4.2.3 73
+MD5 c96a24d0ed6dfc3474c05cceeacd3fc1 files/digest-php-docs-20050822 70
diff --git a/app-doc/php-docs/files/digest-php-docs-20050822 b/app-doc/php-docs/files/digest-php-docs-20050822
new file mode 100644
index 000000000000..87f3c9665131
--- /dev/null
+++ b/app-doc/php-docs/files/digest-php-docs-20050822
@@ -0,0 +1 @@
+MD5 95fccd0ded8bfc95e42ac66d185a1883 php-docs-20050822.tar.gz 2741355
diff --git a/app-doc/php-docs/php-docs-20050822.ebuild b/app-doc/php-docs/php-docs-20050822.ebuild
new file mode 100644
index 000000000000..1ec64ce648f2
--- /dev/null
+++ b/app-doc/php-docs/php-docs-20050822.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/php-docs-20050822.ebuild,v 1.1 2005/09/04 10:02:45 stuart Exp $
+
+DESCRIPTION="HTML documentation for PHP"
+HOMEPAGE="http://www.php.net/download-docs.php"
+SRC_URI="http://dev.gentoo.org/~stuart/php/${PN}-${PVR}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390 ~ppc64"
+IUSE=""
+
+DEPEND=""
+
+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
+ 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
+}