diff options
author | Tomás Touceda <chiiph@gentoo.org> | 2010-07-02 00:21:32 +0000 |
---|---|---|
committer | Tomás Touceda <chiiph@gentoo.org> | 2010-07-02 00:21:32 +0000 |
commit | 2cd08e792ee6c9280cb972239ef83a46531732ca (patch) | |
tree | 73bfd5e0927e3a8f9149ba8dd1e0bc39d10ceef1 | |
parent | pyicq-t: patch for python 2.6 deprecatoin warnings (diff) | |
download | gentoo-2-2cd08e792ee6c9280cb972239ef83a46531732ca.tar.gz gentoo-2-2cd08e792ee6c9280cb972239ef83a46531732ca.tar.bz2 gentoo-2-2cd08e792ee6c9280cb972239ef83a46531732ca.zip |
WiLiKi initial commit. Thanks to vadimk
(Portage version: 2.2_rc67/cvs/Linux i686)
-rw-r--r-- | www-apps/wiliki/ChangeLog | 11 | ||||
-rw-r--r-- | www-apps/wiliki/files/wiliki-0.6.1-cgi-gentoo.patch | 23 | ||||
-rw-r--r-- | www-apps/wiliki/files/wiliki-po-gentoo.patch | 11 | ||||
-rw-r--r-- | www-apps/wiliki/metadata.xml | 15 | ||||
-rw-r--r-- | www-apps/wiliki/wiliki-0.6.1.ebuild | 64 |
5 files changed, 124 insertions, 0 deletions
diff --git a/www-apps/wiliki/ChangeLog b/www-apps/wiliki/ChangeLog new file mode 100644 index 000000000000..0b0b3d638030 --- /dev/null +++ b/www-apps/wiliki/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for www-apps/wiliki +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/wiliki/ChangeLog,v 1.1 2010/07/02 00:21:32 chiiph Exp $ + +*wiliki-0.6.1 (02 Jul 2010) + + 02 Jul 2010; Tomas Touceda <chiiph@gentoo.org> +wiliki-0.6.1.ebuild, + +files/wiliki-0.6.1-cgi-gentoo.patch, +files/wiliki-po-gentoo.patch, + +metadata.xml: + WiLiKi initial commit. Thanks to vadimk + diff --git a/www-apps/wiliki/files/wiliki-0.6.1-cgi-gentoo.patch b/www-apps/wiliki/files/wiliki-0.6.1-cgi-gentoo.patch new file mode 100644 index 000000000000..55def56d0510 --- /dev/null +++ b/www-apps/wiliki/files/wiliki-0.6.1-cgi-gentoo.patch @@ -0,0 +1,23 @@ +--- src/wiliki.cgi.orig 2008-01-11 08:52:19.000000000 -0500 ++++ src/wiliki.cgi 2009-01-30 11:54:41.000000000 -0500 +@@ -52,13 +52,13 @@ + (define (main args) + (wiliki-main + (make <wiliki> +- :db-path "/home/shiro/data/wikidata.dbm" +- :top-page "WiLiKi" +- :title "MyWiliki" +- :description "Shiro's Wiliki Site" +- :style-sheet "wiliki.css" +- :language 'jp +- :charsets '((jp . euc-jp) (en . euc-jp)) ++ :db-path "/var/www/localhost/wiliki-0.6.1/data/wikidata.dbm" ++ :top-page "Gentoo WiLiKi" ++ :title "Gentoo Wiliki" ++ :description "Gentoo Wiliki Site" ++ :style-sheet "/wiliki/wiliki.css" ++ :language 'en ++ :charsets '((en . utf-8) (jp . euc-jp) (en . euc-jp)) + :image-urls '((#/^http:\/\/sourceforge.net\/sflogo/ allow)) + :debug-level 0 + ))) diff --git a/www-apps/wiliki/files/wiliki-po-gentoo.patch b/www-apps/wiliki/files/wiliki-po-gentoo.patch new file mode 100644 index 000000000000..3e5e93f79436 --- /dev/null +++ b/www-apps/wiliki/files/wiliki-po-gentoo.patch @@ -0,0 +1,11 @@ +--- po/Makefile.in.orig 2008-01-31 21:38:35.000000000 -0500 ++++ po/Makefile.in 2009-01-09 14:34:08.000000000 -0500 +@@ -28,7 +28,7 @@ + PO_FILES = $(addsuffix .po,$(ALL_LINGUAS)) + MO_FILES = $(addsuffix .gmo,$(ALL_LINGUAS)) + +-MSGDIR = $(datadir)/locale/$$lingua/LC_MESSAGES/ ++MSGDIR = $(DESTDIR)/$(datadir)/locale/$$lingua/LC_MESSAGES/ + + POTFILES = $(top_srcdir)/src/wiliki.scm \ + $(top_srcdir)/src/wiliki/db.scm \ diff --git a/www-apps/wiliki/metadata.xml b/www-apps/wiliki/metadata.xml new file mode 100644 index 000000000000..74704914c0f5 --- /dev/null +++ b/www-apps/wiliki/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>scheme</herd> + <longdescription> + WiLiKi is a lightweight Wiki Engine written in Scheme. + + WiLiKi is yet another Wiki-clone suitable for intra-net collaborative work + in multilingual environment. The features include multiple back-end + databases, permission and version control, and easy access from other + programs. + + http://practical-scheme.net/wiliki/ + </longdescription> +</pkgmetadata> diff --git a/www-apps/wiliki/wiliki-0.6.1.ebuild b/www-apps/wiliki/wiliki-0.6.1.ebuild new file mode 100644 index 000000000000..8adc894cde03 --- /dev/null +++ b/www-apps/wiliki/wiliki-0.6.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/wiliki/wiliki-0.6.1.ebuild,v 1.1 2010/07/02 00:21:32 chiiph Exp $ + +EAPI="3" + +inherit webapp eutils + +MY_PN="WiLiKi" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="WiLiKi is a lightweight Wiki engine written in and running on Gauche Scheme." +HOMEPAGE="http://practical-scheme.net/wiliki/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cgi fastcgi" + +DEPEND="dev-scheme/gauche + cgi? ( virtual/httpd-cgi ) + fastcgi? ( virtual/httpd-fastcgi )" +RDEPEND="${DEPEND}" + +need_httpd_cgi + +WEBAPP_MANUAL_SLOT="yes" + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-po-gentoo.patch + epatch "${FILESDIR}"/${P}-cgi-gentoo.patch +} + +src_install() { + webapp_src_preinst + emake DESTDIR="${D}" install || die "Install failed" + + insinto "${MY_CGIBINDIR}" + doins -r src/wiliki.cgi src/wiliki2.cgi || die "doins failed" + fperms +x "${MY_CGIBINDIR}"/wiliki.cgi || die "fperms failed" + + insinto "${MY_HTDOCSDIR}" + doins src/wiliki.css src/wiliki2.css || die "doins failed" + + dodir "${MY_HOSTROOTDIR}"/${PF}/data || die "dodir failed" + webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/data + + webapp_src_install +} + +pkg_postinst() { + einfo + einfo "Quickstart:" + einfo " modify wiliki.cgi to customize the WiLiKi's behavior" + einfo " modify wiliki.css to customize the WiLiKi's look" + einfo + einfo " http://localhost/cgi-bin/wiliki.cgi" + einfo + + webapp_pkg_postinst +} |