--- /usr/portage/net-mail/spambayes/spambayes-1.0_alpha9.ebuild 2004-02-17 17:55:09.000000000 +0100 +++ ebuilds/spambayes/spambayes-1.0_beta1.ebuild 2004-04-16 23:25:51.000000000 +0200 @@ -1,22 +1,39 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /home/cvsroot/gentoo-x86/net-mail/spambayes/spambayes-1.0_alpha9.ebuild,v 1.1 2004/02/17 16:55:09 lordvan Exp $ +# $Header: /home/hmj/ebuilds/spambayes/RCS/spambayes-1.0_beta1.ebuild,v 1.8 2004/04/16 20:57:02 hmj Exp hmj $ inherit distutils -#MY_PN="Quotient" -MY_PV=${PV/_alpha/a} +# Very obscure source package naming, spambayes-1.0b1.1.tar.gz +# replacing _beta with "b1." so file fetching will be correct. +MY_PV=${PV/_beta/b1.} MY_P="${PN}-${MY_PV}" DESCRIPTION="An anti-spam filter using on Bayesian filtering" HOMEPAGE="http://spambayes.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" -LICENSE="LGPL-2.1" +RESTRICT="nomirror" + +LICENSE="PSF-2.2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-lang/python-2.2.2" -S=${WORKDIR}/${MY_P} +# removing ".1" from the work directory name +S=${WORKDIR}/${MY_P/.1} + +src_install() { + distutils_src_install + dodoc *.txt || die "doc *.txt files failed" + # someone might have benefits of the other documetation too, + # therefore added. + docinto contrib || die "doc directory, contrib, fail" + dodoc contrib/* || die "doc contrib/* failed" + docinto utilities || die "doc directory, utilities, failed" + dodoc utilities/* || die "doc utilities/* failed" + docinto testtools || die "doc directory, testtools, failed" + dodoc testtools/* || die "doc testtools/* failed" +}