diff options
author | Lance Albertson <ramereth@gentoo.org> | 2011-02-28 02:55:56 +0000 |
---|---|---|
committer | Lance Albertson <ramereth@gentoo.org> | 2011-02-28 02:55:56 +0000 |
commit | cb246bf5f44910c259082936266dcb744da78041 (patch) | |
tree | f040deb323bfd336f53e3b791ded14c88debe240 /www-apps | |
parent | Version bump to the latest development release. Update to EAPI 4. (diff) | |
download | gentoo-2-cb246bf5f44910c259082936266dcb744da78041.tar.gz gentoo-2-cb246bf5f44910c259082936266dcb744da78041.tar.bz2 gentoo-2-cb246bf5f44910c259082936266dcb744da78041.zip |
Version bump, resolves #354549
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/dokuwiki/ChangeLog | 12 | ||||
-rw-r--r-- | www-apps/dokuwiki/dokuwiki-20101107a.ebuild | 63 |
2 files changed, 73 insertions, 2 deletions
diff --git a/www-apps/dokuwiki/ChangeLog b/www-apps/dokuwiki/ChangeLog index 5ed921178694..30c79184f97c 100644 --- a/www-apps/dokuwiki/ChangeLog +++ b/www-apps/dokuwiki/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for www-apps/dokuwiki -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.48 2010/11/09 22:17:08 ramereth Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.49 2011/02/28 02:55:56 ramereth Exp $ + +*dokuwiki-20101107a (28 Feb 2011) + + 28 Feb 2011; Lance Albertson <ramereth@gentoo.org> + +dokuwiki-20101107a.ebuild: + Version bump, resolves #354549 + + Thanks to Azamat H. Hackimov for the user contributed ebuild bump. *dokuwiki-20101107 (09 Nov 2010) diff --git a/www-apps/dokuwiki/dokuwiki-20101107a.ebuild b/www-apps/dokuwiki/dokuwiki-20101107a.ebuild new file mode 100644 index 000000000000..05f3e824b657 --- /dev/null +++ b/www-apps/dokuwiki/dokuwiki-20101107a.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/dokuwiki-20101107a.ebuild,v 1.1 2011/02/28 02:55:56 ramereth Exp $ + +EAPI="2" + +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://www.splitbrain.org/_media/projects/${PN}/${PN}-${MY_PV}.tgz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="gd" + +DEPEND="" +RDEPEND="dev-lang/php[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 VERSION + + 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 +} |