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 | 6b66e9bbb7ec91282f0bd241e9673cb824ae9f00 (patch) | |
tree | 482c862d88bfd4eb2b5cc00eb31c118086b2b40c /www-apps/wiliki | |
parent | pyicq-t: patch for python 2.6 deprecatoin warnings (diff) | |
download | historical-6b66e9bbb7ec91282f0bd241e9673cb824ae9f00.tar.gz historical-6b66e9bbb7ec91282f0bd241e9673cb824ae9f00.tar.bz2 historical-6b66e9bbb7ec91282f0bd241e9673cb824ae9f00.zip |
WiLiKi initial commit. Thanks to vadimk
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'www-apps/wiliki')
-rw-r--r-- | www-apps/wiliki/ChangeLog | 11 | ||||
-rw-r--r-- | www-apps/wiliki/Manifest | 6 | ||||
-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 |
6 files changed, 130 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/Manifest b/www-apps/wiliki/Manifest new file mode 100644 index 000000000000..f0b99cbc9ccf --- /dev/null +++ b/www-apps/wiliki/Manifest @@ -0,0 +1,6 @@ +AUX wiliki-0.6.1-cgi-gentoo.patch 812 RMD160 4e9bdddb0fae8dab261cd5831069bf8d0973cdf0 SHA1 312b592401f9eefc7ff476f0de8f4c4e118b4cff SHA256 2e0f8e5d8a381524ad4e4e1793a2edbe9a925b0f9387fd2c3f8262f3c0165551 +AUX wiliki-po-gentoo.patch 426 RMD160 046622bee687eacf474044800731986c94f631c2 SHA1 25984a1e7fdc5169e9f7f4731e952c6f7bf559fb SHA256 67f584a529abb63d17810ea5833638ea4d543f50dafae212657174006acbc968 +DIST WiLiKi-0.6.1.tgz 123954 RMD160 75139236696149949520d3f93592f3eb63d90852 SHA1 4baf1cbab436eff6ba61adca31c512b6918585fc SHA256 060b612c09d132932c56be7beadb61abb4bf7d6f25743ba016639e5e40c9254d +EBUILD wiliki-0.6.1.ebuild 1545 RMD160 f3d4fc6fe0b0f4c7abfab275211320c05502cbda SHA1 8d6f43dd78843a61eef5080030466a4194103982 SHA256 e5581520ed3edeaa42646d02a2a97c48e9148479f35441a5a1747af52fdc842d +MISC ChangeLog 434 RMD160 9812561a306188ca99ac14e7a3b78e7bbc878f07 SHA1 3757f8f63a1e8ff67e5e9c8c659a1ae0f37c98d7 SHA256 57ab5f9f04dd6c3e503a82fbcf838881750c0c1dfc818d649b01919593eef8b8 +MISC metadata.xml 521 RMD160 118cd4dcb4124185bf569037a0acaf264a213ea6 SHA1 dcef252e016ba9a82a28045bae9480159221fab9 SHA256 062c6a2d27bd99378b63a8b2de213928898043b3d2c7559e676b490aca55577c 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 +} |