diff options
author | Stephen Klimaszewski <steev@gentoo.org> | 2008-01-23 03:26:04 +0000 |
---|---|---|
committer | Stephen Klimaszewski <steev@gentoo.org> | 2008-01-23 03:26:04 +0000 |
commit | e83cc20edd18f0391eab3663402dc0550b4d79f6 (patch) | |
tree | a27fa5420663af9b82d4d7c94cc53129453c3778 /app-text/crm114/crm114-20050518.ebuild | |
parent | Fix collision with kde-base/kdeaccounts-plugin, bug 206987. (diff) | |
download | gentoo-2-e83cc20edd18f0391eab3663402dc0550b4d79f6.tar.gz gentoo-2-e83cc20edd18f0391eab3663402dc0550b4d79f6.tar.bz2 gentoo-2-e83cc20edd18f0391eab3663402dc0550b4d79f6.zip |
A bunch of cleanups... fixed quoting issues, removed old builds,
unfortunately, amd64 doesn't have a recent copy stable, need to file a
bug about that. Add the latest release as well. Hopefully we can get
this stable in ~30 days. This should fix bug #170127, as well as bug
(Portage version: 2.1.4)
Diffstat (limited to 'app-text/crm114/crm114-20050518.ebuild')
-rw-r--r-- | app-text/crm114/crm114-20050518.ebuild | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/app-text/crm114/crm114-20050518.ebuild b/app-text/crm114/crm114-20050518.ebuild deleted file mode 100644 index e5a70e59ce6c..000000000000 --- a/app-text/crm114/crm114-20050518.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20050518.ebuild,v 1.2 2007/03/04 07:32:53 genone Exp $ - -inherit eutils - -IUSE="nls static normalizemime mew mimencode" - -MY_P="${P}.BlameMercury.src" -S=${WORKDIR}/${MY_P} -DESCRIPTION="A powerful text processing tool, mainly used for spam filtering" -HOMEPAGE="http://crm114.sourceforge.net/" -SRC_URI="http://crm114.sourceforge.net/${MY_P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~ppc ~amd64" - -TREVERS="0.7.2" - -DEPEND=">=sys-apps/sed-4 - virtual/libc - normalizemime? ( mail-filter/normalizemime ) - mew? ( app-emacs/mew ) - mimencode? ( net-mail/metamail ) - !static? ( >=dev-libs/tre-${TREVERS} )" - -src_unpack() { - unpack ${A} - cd ${S} - - sed -i "s#^CFLAGS.*#CFLAGS+=${CFLAGS}#" Makefile - - if use static ; then - sed -i "s#-ltre#-L${S}/tre-${TREVERS}/lib/.libs/ -ltre#g" Makefile - else - sed -i "s#-static##g" Makefile - fi - sed -i "s#ln -f -s crm114_tre crm114##" Makefile - - if use mimencode ; then - einfo "Using mimencode -- adjusting mailfilter.cf" - sed -i 's%#:mime_decoder: /mimencode -u/%:mime_decoder: /mimencode -u/%' \ - mailfilter.cf - sed -i 's%:mime_decoder: /mewdecode/%#:mime_decoder: /mewdecode/%' \ - mailfilter.cf - elif use normalizemime ; then - einfo "Using normalizemime -- adjusting mailfilter.cf" - sed -i 's%#:mime_decoder: /normalizemime/%:mime_decoder: /normalizemime/%' mailfilter.cf - - sed -i 's%:mime_decoder: /mewdecode/%#:mime_decoder: /mewdecode/%' \ - mailfilter.cf - fi - - cd ${S}/tre-${TREVERS} - chmod +x configure -} - -src_compile() { - # Build TRE library. - if use static ; then - cd ${S}/tre-${TREVERS} - econf \ - $(use_enable nls) \ - $(use_enable static) \ - --enable-system-abi \ - --disable-profile \ - --disable-agrep \ - --disable-debug || die - emake || die - fi - - # Build crm114 - emake -j1 || die -} - -src_install() { - dobin crm114_tre cssutil cssdiff cssmerge - dobin osbf-util - dosym crm114_tre /usr/bin/crm114 - dosym crm114_tre /usr/bin/crm - - dodoc COLOPHON.txt CRM114_Mailfilter_HOWTO.txt FAQ.txt INTRO.txt - dodoc QUICKREF.txt classify_details.txt inoc_passwd.txt - dodoc knownbugs.txt things_to_do.txt README - docinto examples - dodoc *.example - - insinto /usr/share/${PN} - doins *.crm - doins *.cf - doins *.mfp -} - -pkg_postinst() { - elog "" - elog "The spam-filter CRM files are installed in /usr/share/${PN}." - elog "" -} |