Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/jmbsvicetto:master commit in: www-apps/dokuwiki/
Date: Mon, 23 Dec 2013 17:56:55
Message-Id: 1387821380.ca1d1960e2ebc88db80b5f09a790f11c36cdb7f4.jmbsvicetto@gentoo
1 commit: ca1d1960e2ebc88db80b5f09a790f11c36cdb7f4
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 23 17:56:20 2013 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 23 17:56:20 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/jmbsvicetto.git;a=commit;h=ca1d1960
7
8 Version bump dokuwiki to the 2013-12-08 (Binky) release.
9 Update SRC_URI as the download source was changed.
10
11 ---
12 www-apps/dokuwiki/Manifest | 1 +
13 www-apps/dokuwiki/dokuwiki-20131208.ebuild | 68 ++++++++++++++++++++++++++++++
14 2 files changed, 69 insertions(+)
15
16 diff --git a/www-apps/dokuwiki/Manifest b/www-apps/dokuwiki/Manifest
17 index 642f618..9e657f0 100644
18 --- a/www-apps/dokuwiki/Manifest
19 +++ b/www-apps/dokuwiki/Manifest
20 @@ -1,2 +1,3 @@
21 DIST dokuwiki-2012-10-13.tgz 2810228 SHA256 27119ad9b62514dccf3afa4545370d5a775eb71ab794365a498e966f8b6c3834 SHA512 be3b14db2835576fa6df784608b078d36f9df1d126aa094b5ccc5df5b841807a3732301f191d5977815cd6eedcda12a8da9f0a8a209091706c4fc27126cecdd6 WHIRLPOOL d0bd2ed27c9828eba7200d5888ba44b95dcca848540043ee47679bf8d8f01e4b8a83242476ccb24ecb573eb6af9586c44fd8b1e5bc766b32eb50c58751f3ceef
22 DIST dokuwiki-2013-05-10a.tgz 2961725 SHA256 af14b81ebb81b2cafa9db385596519a991e7654074d90a6953dfb2d6f0965ea7 SHA512 dcbd9c204d80bdda15a16485df1a4e73337d12cb360fd922996d995cf4242d0c8612a7dbae2f701d1fac58364643b62212671284f96b8eb77be0c401b83cfce0 WHIRLPOOL 18348c0031341231cade2f8bdbc5a98c1baf228599104b9bf0544ddaa3110a162edd323a22f1eed7add5530ebc5b755fd43ee8d23ad4d4abe8a90714b481dd3d
23 +DIST dokuwiki-2013-12-08.tgz 3059058 SHA256 27b95f1b96e723141cde4c8eaac390f3a7d2370a177239207576554e46c9d071 SHA512 bb3c89acdb53c1ce43a7843250526a62e540b2caa32cd1538d17bcab1a90156abcac9586abb7ccc4a3f1fc1d77721c18a5360f7b8219ded046b8bd3318af5c08 WHIRLPOOL 01486816ef0d8b6cb98b49c4900a0aaa32d523b20e6faf99bfca79802a0184821570c512e4e5ad9f39c52237faddffe00d5da5bf85b0a5175da09f04be0733ed
24
25 diff --git a/www-apps/dokuwiki/dokuwiki-20131208.ebuild b/www-apps/dokuwiki/dokuwiki-20131208.ebuild
26 new file mode 100644
27 index 0000000..9e18b26
28 --- /dev/null
29 +++ b/www-apps/dokuwiki/dokuwiki-20131208.ebuild
30 @@ -0,0 +1,68 @@
31 +# Copyright 1999-2013 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Header: $
34 +
35 +EAPI="4"
36 +
37 +inherit webapp depend.php
38 +
39 +# upstream uses dashes in the datestamp
40 +MY_BASE_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
41 +MY_PV="${MY_BASE_PV}${PV:8:1}"
42 +
43 +DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small company's documentation needs."
44 +HOMEPAGE="http://wiki.splitbrain.org/wiki:dokuwiki"
45 +SRC_URI="http://download.dokuwiki.org/src/${PN}/${PN}-${MY_PV}.tgz"
46 +
47 +LICENSE="GPL-2"
48 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
49 +IUSE="gd"
50 +
51 +DEPEND=""
52 +RDEPEND="
53 + >=dev-lang/php-5.3[xml]
54 + gd? ( ||
55 + (
56 + dev-lang/php[gd]
57 + media-gfx/imagemagick
58 + )
59 + )
60 +"
61 +
62 +need_httpd_cgi
63 +need_php_httpd
64 +
65 +S="${WORKDIR}/${PN}-${MY_PV}"
66 +
67 +src_prepare() {
68 + # create initial changes file
69 + touch data/changes.log
70 +}
71 +
72 +src_install() {
73 + webapp_src_preinst
74 +
75 + dodoc README
76 + rm -f README COPYING
77 +
78 + docinto scripts
79 + dodoc bin/*
80 + rm -rf bin
81 +
82 + insinto "${MY_HTDOCSDIR}"
83 + doins -r .
84 +
85 + for x in $(find data/ -not -name '.htaccess'); do
86 + webapp_serverowned "${MY_HTDOCSDIR}"/${x}
87 + done
88 +
89 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess.dist
90 + webapp_configfile "${MY_HTDOCSDIR}"/conf
91 +
92 + for x in $(find conf/ -not -name 'msg'); do
93 + webapp_configfile "${MY_HTDOCSDIR}"/${x}
94 + done
95 +
96 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
97 + webapp_src_install
98 +}