diff options
author | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2014-06-02 21:00:16 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2014-06-02 21:00:16 +0000 |
commit | 62cbc32a74aa7e34fa49288d370c98b160745e9d (patch) | |
tree | 16d6c09e5bc9d7776540701aa6404615d67e564c /www-apps/dokuwiki | |
parent | Pull in virtual/libgudev to gain use of subslotting for automatic rebuild wit... (diff) | |
download | gentoo-2-62cbc32a74aa7e34fa49288d370c98b160745e9d.tar.gz gentoo-2-62cbc32a74aa7e34fa49288d370c98b160745e9d.tar.bz2 gentoo-2-62cbc32a74aa7e34fa49288d370c98b160745e9d.zip |
20140505 version bump - fixes bug 512054.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BB0E6E98)
Diffstat (limited to 'www-apps/dokuwiki')
-rw-r--r-- | www-apps/dokuwiki/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/dokuwiki/dokuwiki-20140505.ebuild | 68 |
2 files changed, 75 insertions, 1 deletions
diff --git a/www-apps/dokuwiki/ChangeLog b/www-apps/dokuwiki/ChangeLog index 9a8a231adaa0..f576743316c2 100644 --- a/www-apps/dokuwiki/ChangeLog +++ b/www-apps/dokuwiki/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/dokuwiki # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.64 2014/01/09 13:05:57 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.65 2014/06/02 21:00:16 jmbsvicetto Exp $ + +*dokuwiki-20140505 (02 Jun 2014) + + 02 Jun 2014; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +dokuwiki-20140505.ebuild: + 20140505 version bump - fixes bug 512054. *dokuwiki-20131208 (09 Jan 2014) diff --git a/www-apps/dokuwiki/dokuwiki-20140505.ebuild b/www-apps/dokuwiki/dokuwiki-20140505.ebuild new file mode 100644 index 000000000000..583a38c3995f --- /dev/null +++ b/www-apps/dokuwiki/dokuwiki-20140505.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/dokuwiki-20140505.ebuild,v 1.1 2014/06/02 21:00:16 jmbsvicetto Exp $ + +EAPI="4" + +inherit webapp depend.php + +# upstream uses dashes in the datestamp +MY_BASE_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" +MY_PV="${MY_BASE_PV}${PV:8:1}" + +DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small company's documentation needs." +HOMEPAGE="http://wiki.splitbrain.org/wiki:dokuwiki" +SRC_URI="http://download.dokuwiki.org/src/${PN}/${PN}-${MY_PV}.tgz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="gd" + +DEPEND="" +RDEPEND=" + >=dev-lang/php-5.3[xml] + gd? ( || + ( + dev-lang/php[gd] + media-gfx/imagemagick + ) + ) +" + +need_httpd_cgi +need_php_httpd + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_prepare() { + # create initial changes file + touch data/changes.log +} + +src_install() { + webapp_src_preinst + + dodoc README + rm -f README COPYING + + docinto scripts + dodoc bin/* + rm -rf bin + + insinto "${MY_HTDOCSDIR}" + doins -r . + + for x in $(find data/ -not -name '.htaccess'); do + webapp_serverowned "${MY_HTDOCSDIR}"/${x} + done + + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess.dist + webapp_configfile "${MY_HTDOCSDIR}"/conf + + for x in $(find conf/ -not -name 'msg'); do + webapp_configfile "${MY_HTDOCSDIR}"/${x} + done + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_src_install +} |