diff options
author | Lance Albertson <ramereth@gentoo.org> | 2008-05-06 19:17:34 +0000 |
---|---|---|
committer | Lance Albertson <ramereth@gentoo.org> | 2008-05-06 19:17:34 +0000 |
commit | 3d0652ca1a66678b803141d8a7d9d8f6d9cded0c (patch) | |
tree | 7b479946d335ad5fb8cd4b5e4989ee600aa4b20c /www-apps | |
parent | alpha/x86 stable wrt #220483 (diff) | |
download | gentoo-2-3d0652ca1a66678b803141d8a7d9d8f6d9cded0c.tar.gz gentoo-2-3d0652ca1a66678b803141d8a7d9d8f6d9cded0c.tar.bz2 gentoo-2-3d0652ca1a66678b803141d8a7d9d8f6d9cded0c.zip |
Bump to new upstream stable release 20080504, resolves #220605
(Portage version: 2.1.4.4)
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/dokuwiki/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/dokuwiki/dokuwiki-20080504.ebuild | 69 |
2 files changed, 76 insertions, 1 deletions
diff --git a/www-apps/dokuwiki/ChangeLog b/www-apps/dokuwiki/ChangeLog index 048c52904da4..7caf7892adc1 100644 --- a/www-apps/dokuwiki/ChangeLog +++ b/www-apps/dokuwiki/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/dokuwiki # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.32 2008/03/31 15:45:18 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.33 2008/05/06 19:17:34 ramereth Exp $ + +*dokuwiki-20080504 (06 May 2008) + + 06 May 2008; Lance Albertson <ramereth@gentoo.org> + +dokuwiki-20080504.ebuild: + Bump to new upstream stable release 20080504, resolves #220605 31 Mar 2008; Raúl Porcel <armin76@gentoo.org> dokuwiki-20070626b.ebuild: sparc stable wrt #215198, thanks to Aaron Mavrinac for testing diff --git a/www-apps/dokuwiki/dokuwiki-20080504.ebuild b/www-apps/dokuwiki/dokuwiki-20080504.ebuild new file mode 100644 index 000000000000..5b1790f98578 --- /dev/null +++ b/www-apps/dokuwiki/dokuwiki-20080504.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/dokuwiki-20080504.ebuild,v 1.1 2008/05/06 19:17:34 ramereth Exp $ + +inherit webapp depend.php + +# upstream uses dashes in the datestamp +MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}${PV:8:1}" + +DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small companies 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="" + +DEPEND="" +RDEPEND="" + +need_httpd_cgi +need_php_httpd + +pkg_setup() { + webapp_pkg_setup + has_php + if [[ ${PHP_VERSION} == "4" ]] ; then + require_php_with_use cli expat + else + require_php_with_use cli xml + fi +} + +src_unpack() { + unpack ${A} + mv ${PN}-${MY_PV} ${P} + cd "${S}" + + # 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 +} |