diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/ikiwiki/Manifest | 1 | ||||
-rw-r--r-- | www-apps/ikiwiki/ikiwiki-3.20190228.ebuild | 110 |
2 files changed, 111 insertions, 0 deletions
diff --git a/www-apps/ikiwiki/Manifest b/www-apps/ikiwiki/Manifest index a86d6681ca78..fd4f656043e9 100644 --- a/www-apps/ikiwiki/Manifest +++ b/www-apps/ikiwiki/Manifest @@ -1,2 +1,3 @@ DIST ikiwiki_3.20170111.tar.xz 2614240 BLAKE2B b37d2e9095b38b2642bd4f2bd6114a8b313837bd409abd5c111d61a9abd2e65cc534e7efbcfdb72b148a567cc6391e576d61daf530c62b5e14269f2f25bbabf8 SHA512 78c2a624684bb1c34878ff008558a3967f6e7f5648878e931961695e582a40e4351b6e467c64ca42ba99cb403fd275265bd5d96ecd860ad8263043514d207ad4 DIST ikiwiki_3.20171001.tar.xz 2638780 BLAKE2B 537008233f4c9612b3d1236eb15fe85a76a1bbbd1db9648197c032ec83c79ee3810dbd44f0a99576ac30e34e049662a1ae6525707cd1c786cc11081692ec57f7 SHA512 1f5c5a48aa95e6e3898fdb40826f90d554ff328c367133e69a2a2da4c9286e0e54ba2f2dcd57ff452fa3105c92b4d72297d771688661fb8ecf22b7a0cf78bd97 +DIST ikiwiki_3.20190228.orig.tar.xz 2672244 BLAKE2B 43012fc14f08c491ebe382e20953b8b01e10c390c28da0184b4e45a1435ada00b1ad6ac61f28c56ba1edb2e22dca1ab1f32eb77fc8d6133b899a26023593d3bd SHA512 125147d83dae6166b45541ed9176398ba4bd22ef3389d3efb3f442e558e326e0b004583d29aa32ed4bfca489c9d55b4232f074aab5fa649e51d9edd103685172 diff --git a/www-apps/ikiwiki/ikiwiki-3.20190228.ebuild b/www-apps/ikiwiki/ikiwiki-3.20190228.ebuild new file mode 100644 index 000000000000..d89cc5295019 --- /dev/null +++ b/www-apps/ikiwiki/ikiwiki-3.20190228.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit perl-module + +DESCRIPTION="A wiki compiler" +HOMEPAGE="http://ikiwiki.info/" +SRC_URI="mirror://debian/pool/main/i/ikiwiki/${PN}_${PV}.orig.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="extras minimal test" +KEYWORDS="~amd64 ~x86" + +S=${WORKDIR}/IkiWiki-${PV} + +#Authen::Passphrase +#Search::Xapian +#Locale::gettext +#Crypt::SSLeay +#Text::CSV +#Text::Typography +#Text::Textile +#Text::WikiFormat +#Net::Amazon::S3 + +EXTRA_RDEPEND=" + dev-python/docutils + dev-perl/Digest-SHA1 + dev-perl/File-MimeInfo + dev-perl/RPC-XML + dev-perl/XML-Feed + dev-perl/LWPx-ParanoidAgent + dev-perl/Net-OpenID-Consumer +" + +SUGGESTED_RDEPEND=" + dev-perl/CGI + >=dev-perl/CGI-FormBuilder-3.0202 + >=dev-perl/CGI-Session-4.14 + dev-perl/Mail-Sendmail + dev-perl/Term-ReadLine-Gnu + dev-perl/XML-Simple + media-gfx/imagemagick[perl] +" + +TEST_DEPEND=" + dev-perl/File-chdir + dev-perl/File-ReadBackwards + dev-perl/File-MimeInfo + dev-perl/HTML-LinkExtractor + dev-perl/HTML-Tree + dev-perl/Net-OpenID-Consumer + dev-perl/RPC-XML + dev-perl/XML-Feed + dev-perl/XML-Twig + dev-vcs/cvs[server] + dev-vcs/cvsps" + +DEPEND=" + >=dev-lang/perl-5.10 + app-text/po4a + dev-perl/HTML-Parser + dev-perl/HTML-Scrubber + dev-perl/HTML-Template + dev-perl/URI + dev-perl/Text-Markdown + dev-perl/TimeDate + dev-perl/YAML-LibYAML +" + +RDEPEND="${DEPEND} + !minimal? ( + ${SUGGESTED_RDEPEND} + extras? ( + ${EXTRA_RDEPEND} + ) + ) +" + +DEPEND="${DEPEND} + test? ( ${TEST_DEPEND} )" + +SRC_TEST=do + +src_prepare() { + #bug 498444 /usr/lib/plan9/lib/fortunes.index + addpredict "/usr/lib/plan9/lib/fortunes" + + sed -i 's,lib/ikiwiki,libexec/ikiwiki,' \ + "${S}"/{IkiWiki.pm,Makefile.PL,doc/plugins/install.mdwn} || die +# 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 + insinto /etc/ikiwiki + doins wikilist + + #insinto /usr/share/doc/${PF}/examples + #doins -r doc/examples/* + dohtml -r -A setup html/* + dodoc debian/{NEWS,changelog} +} |