summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2012-03-09 04:56:24 +0000
committerLance Albertson <ramereth@gentoo.org>2012-03-09 04:56:24 +0000
commit9a1d1a0633873faba7b13d9c6b0bd22a4867a1aa (patch)
treebac08a75aba1cae8aae88d2c8d4bb208220ba7af /www-apps/dokuwiki
parentVersion bump, fix bash-completion (diff)
downloadgentoo-2-9a1d1a0633873faba7b13d9c6b0bd22a4867a1aa.tar.gz
gentoo-2-9a1d1a0633873faba7b13d9c6b0bd22a4867a1aa.tar.bz2
gentoo-2-9a1d1a0633873faba7b13d9c6b0bd22a4867a1aa.zip
Version bump
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/dokuwiki')
-rw-r--r--www-apps/dokuwiki/ChangeLog9
-rw-r--r--www-apps/dokuwiki/dokuwiki-20120125.ebuild64
2 files changed, 71 insertions, 2 deletions
diff --git a/www-apps/dokuwiki/ChangeLog b/www-apps/dokuwiki/ChangeLog
index eddc7787ace7..d192d33947ac 100644
--- a/www-apps/dokuwiki/ChangeLog
+++ b/www-apps/dokuwiki/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/dokuwiki
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.56 2011/08/19 16:29:45 tomka Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.57 2012/03/09 04:56:24 ramereth Exp $
+
+*dokuwiki-20120125 (09 Mar 2012)
+
+ 09 Mar 2012; Lance Albertson <ramereth@gentoo.org> +dokuwiki-20120125.ebuild:
+ Version bump
19 Aug 2011; Thomas Kahle <tomka@gentoo.org> dokuwiki-20110525a.ebuild:
x86 stable per bug 372283
diff --git a/www-apps/dokuwiki/dokuwiki-20120125.ebuild b/www-apps/dokuwiki/dokuwiki-20120125.ebuild
new file mode 100644
index 000000000000..5a5ecc6a8a2a
--- /dev/null
+++ b/www-apps/dokuwiki/dokuwiki-20120125.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/dokuwiki-20120125.ebuild,v 1.1 2012/03/09 04:56:24 ramereth 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://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-5.3[xml,spl] >=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 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
+}