Gentoo Archives: gentoo-commits

From: "Markus Ullmann (jokey)" <jokey@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-doc/php-docs: ChangeLog php-docs-20071125.ebuild
Date: Thu, 29 Nov 2007 23:15:52
Message-Id: E1Ixsbj-0005iE-Hf@stork.gentoo.org
1 jokey 07/11/29 23:15:47
2
3 Modified: ChangeLog
4 Added: php-docs-20071125.ebuild
5 Log:
6 Version bump from project overlay
7 (Portage version: 2.1.4_rc4)
8
9 Revision Changes Path
10 1.32 app-doc/php-docs/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/php-docs/ChangeLog?rev=1.32&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/php-docs/ChangeLog?rev=1.32&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/php-docs/ChangeLog?r1=1.31&r2=1.32
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v
19 retrieving revision 1.31
20 retrieving revision 1.32
21 diff -u -r1.31 -r1.32
22 --- ChangeLog 29 Oct 2007 17:10:03 -0000 1.31
23 +++ ChangeLog 29 Nov 2007 23:15:46 -0000 1.32
24 @@ -1,6 +1,14 @@
25 # ChangeLog for app-doc/php-docs
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v 1.31 2007/10/29 17:10:03 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v 1.32 2007/11/29 23:15:46 jokey Exp $
29 +
30 +*php-docs-20071125 (29 Nov 2007)
31 +
32 + 29 Nov 2007; Markus Ullmann <jokey@g.o> +php-docs-20071125.ebuild:
33 + Version bump from project overlay
34 +
35 + 29 Nov 2007; Jakub Moc <jakub@g.o> +php-docs-20071125.ebuild:
36 + Version bump
37
38 29 Oct 2007; Raúl Porcel <armin76@g.o> -php-docs-200403.ebuild,
39 -php-docs-20050822.ebuild, php-docs-20070202-r1.ebuild:
40
41
42
43 1.1 app-doc/php-docs/php-docs-20071125.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/php-docs/php-docs-20071125.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/php-docs/php-docs-20071125.ebuild?rev=1.1&content-type=text/plain
47
48 Index: php-docs-20071125.ebuild
49 ===================================================================
50 # Copyright 1999-2007 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/php-docs-20071125.ebuild,v 1.1 2007/11/29 23:15:46 jokey Exp $
53
54 DESCRIPTION="HTML documentation for PHP"
55 HOMEPAGE="http://www.php.net/download-docs.php"
56 SRC_URI="http://dev.gentooexperimental.org/~jakub/distfiles/${P}.tar.gz
57 mirror://gentoo/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
62 IUSE=""
63 RESTRICT="strip binchecks"
64
65 S=${WORKDIR}/html
66
67 src_install() {
68 # the whole structure is too much to do with a simple dohtml *
69 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
70 files="$(echo function.${x}*)"
71 [[ -n ${files} ]] || continue;
72
73 dohtml function.${x}*
74 rm function.${x}*
75 done
76
77 # what's left will fit into a single dohtml *
78 dohtml *.html
79 mv * "${D}"/usr/share/doc/php-docs-${PVR}/html/ || die "bad mv"
80 }
81
82 pkg_postinst() {
83 einfo "Creating symlink to PHP manual at /usr/share/php-docs"
84 [[ -e ${ROOT}/usr/share/php-docs ]] && rm -f "${ROOT}"/usr/share/php-docs
85 ln -s "${ROOT}"/usr/share/doc/php-docs-${PVR}/html "${ROOT}"/usr/share/php-docs
86 }
87
88
89
90 --
91 gentoo-commits@g.o mailing list