diff options
author | Torsten Veller <torsten@veller.net> | 2008-06-28 09:39:07 +0200 |
---|---|---|
committer | Torsten Veller <torsten@veller.net> | 2008-06-28 09:39:07 +0200 |
commit | 2414c581ea6509d1fc599102069aca0ec78fe104 (patch) | |
tree | 7606813fc5edb8486bdb3943f66a4d8bfd5a0a73 /repo/www-apps/ikiwiki/ikiwiki-2.50.ebuild | |
parent | Add useful docs. (diff) | |
download | tove-2414c581ea6509d1fc599102069aca0ec78fe104.tar.gz tove-2414c581ea6509d1fc599102069aca0ec78fe104.tar.bz2 tove-2414c581ea6509d1fc599102069aca0ec78fe104.zip |
Version bump
Diffstat (limited to 'repo/www-apps/ikiwiki/ikiwiki-2.50.ebuild')
-rw-r--r-- | repo/www-apps/ikiwiki/ikiwiki-2.50.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/repo/www-apps/ikiwiki/ikiwiki-2.50.ebuild b/repo/www-apps/ikiwiki/ikiwiki-2.50.ebuild new file mode 100644 index 0000000..e4fe7b3 --- /dev/null +++ b/repo/www-apps/ikiwiki/ikiwiki-2.50.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit perl-app + +DESCRIPTION="a wiki compiler" +HOMEPAGE="http://ikiwiki.info/" +SRC_URI="mirror://debian/pool/main/i/ikiwiki/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="minimal w3m" + +S=${WORKDIR}/${PN} + +SUGGESTED_DEPS=" + >=dev-perl/CGI-FormBuilder-3.0202 + >=dev-perl/CGI-Session-4.14 + dev-perl/LWPx-ParanoidAgent + dev-perl/Mail-Sendmail + dev-perl/Net-OpenID-Consumer + dev-perl/TimeDate + dev-perl/XML-Simple + dev-perl/Time-Duration + dev-perl/File-MimeInfo + dev-perl/RPC-XML + dev-perl/XML-Feed + dev-perl/XML-Atom" + +DEPEND=">=dev-lang/perl-5.8.8 + dev-perl/URI + dev-perl/HTML-Parser + dev-perl/HTML-Template + dev-perl/HTML-Scrubber + app-text/markdown + !minimal? ( ${SUGGESTED_DEPS} )" + +RDEPEND="${DEPEND} + w3m? ( www-client/w3m )" + +SRC_TEST=do + +src_unpack() { + unpack ${A} + + if use w3m ; then + sed -i 's,lib/w3m,libexec/w3m,' "${S}"Makefile.PL || die + else + sed -i '/w3m/d' "${S}"/Makefile.PL || die + fi +} + +src_install() { + emake DESTDIR="${D}" pure_install || die "make install failed" + insinto /etc/ikiwiki + doins wikilist || die + + insinto /usr/share/doc/${PF}/examples + doins -r doc/examples/* || die + dohtml -r -A setup html/* || die + dodoc debian/{NEWS,changelog} || die +} |