public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-text/crm114: ChangeLog crm114-20100106.ebuild crm114-20090807.ebuild crm114-20070810.ebuild
@ 2011-01-05 17:30 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2011-01-05 17:30 UTC (permalink / raw
  To: gentoo-commits

jlec        11/01/05 17:30:44

  Modified:             ChangeLog crm114-20090807.ebuild
                        crm114-20070810.ebuild
  Added:                crm114-20100106.ebuild
  Log:
  Version Bump, Some Clean up
  
  (Portage version: 2.2.0_alpha12/cvs/Linux x86_64)

Revision  Changes    Path
1.40                 app-text/crm114/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crm114/ChangeLog?rev=1.40&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crm114/ChangeLog?rev=1.40&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crm114/ChangeLog?r1=1.39&r2=1.40

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/crm114/ChangeLog,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- ChangeLog	25 Dec 2009 03:13:40 -0000	1.39
+++ ChangeLog	5 Jan 2011 17:30:44 -0000	1.40
@@ -1,6 +1,12 @@
 # ChangeLog for app-text/crm114
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/ChangeLog,v 1.39 2009/12/25 03:13:40 darkside Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/ChangeLog,v 1.40 2011/01/05 17:30:44 jlec Exp $
+
+*crm114-20100106 (05 Jan 2011)
+
+  05 Jan 2011; Justin Lecher <jlec@gentoo.org> crm114-20070810.ebuild,
+  crm114-20090807.ebuild, +crm114-20100106.ebuild:
+  Version Bump, Some Clean up
 
 *crm114-20090807 (25 Dec 2009)
 



1.2                  app-text/crm114/crm114-20090807.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crm114/crm114-20090807.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crm114/crm114-20090807.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crm114/crm114-20090807.ebuild?r1=1.1&r2=1.2

Index: crm114-20090807.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20090807.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- crm114-20090807.ebuild	25 Dec 2009 03:13:41 -0000	1.1
+++ crm114-20090807.ebuild	5 Jan 2011 17:30:44 -0000	1.2
@@ -1,10 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20090807.ebuild,v 1.1 2009/12/25 03:13:41 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20090807.ebuild,v 1.2 2011/01/05 17:30:44 jlec Exp $
 
 EAPI=2
+
 MY_P="${P}-BlameThorstenAndJenny.src"
-S=${WORKDIR}/${MY_P}
 
 inherit eutils toolchain-funcs
 
@@ -17,32 +17,40 @@
 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
 IUSE="mew mimencode nls normalizemime +static test"
 
-RDEPEND="normalizemime? ( mail-filter/normalizemime )
+RDEPEND="
+	dev-libs/tre
 	mew? ( app-emacs/mew )
 	mimencode? ( net-mail/metamail )
-	>=dev-libs/tre-0.7.5"
+	normalizemime? ( mail-filter/normalizemime )"
 DEPEND="${RDEPEND}
 	test? ( sys-apps/miscfiles )"
 
+S="${WORKDIR}"/${MY_P}
+
 src_prepare() {
-	sed -i "s#^CFLAGS += -O3 -Wall##" Makefile || die
-	sed -i "s#^CC=.*#CC=$(tc-getCC)#" Makefile || die
+	sed \
+		-e "s#^CFLAGS += -O3 -Wall##" \
+		-e "s#^CC=.*#CC=$(tc-getCC)#" \
+		-i Makefile || die
 	# Upstream recommends static linking
 	if ! use static ; then
-		sed -i "s#LDFLAGS += -static -static-libgcc#LDFLAGS += ${LDFLAGS}#"	Makefile || die
+		sed -i "s#LDFLAGS += -static -static-libgcc#LDFLAGS += ${LDFLAGS}#" Makefile || die
 	else
-		sed -i "s#LDFLAGS += -static -static-libgcc#LDFLAGS += ${LDFLAGS} \
-		 -static -static-libgcc#"  Makefile || die
+		sed \
+			-e "s#LDFLAGS += -static -static-libgcc#LDFLAGS += ${LDFLAGS} -static -static-libgcc#" \
+			-i Makefile || die
 	fi
 
 	if use mimencode ; then
-		sed -i -e 's%#:mime_decoder: /mimencode -u/%:mime_decoder: /mimencode -u/%' \
-		-e 's%:mime_decoder: /mewdecode/%#:mime_decoder: /mewdecode/%' \
-			mailfilter.cf || die
+		sed \
+			-e 's%#:mime_decoder: /mimencode -u/%:mime_decoder: /mimencode -u/%' \
+			-e 's%:mime_decoder: /mewdecode/%#:mime_decoder: /mewdecode/%' \
+			-i mailfilter.cf || die
 	elif use normalizemime ; then
-		sed -i -e 's%#:mime_decoder: /normalizemime/%:mime_decoder: /normalizemime/%' \
-		-e 's%:mime_decoder: /mewdecode/%#:mime_decoder: /mewdecode/%' \
-			mailfilter.cf || die
+		sed \
+			-e 's%#:mime_decoder: /normalizemime/%:mime_decoder: /normalizemime/%' \
+			-e 's%:mime_decoder: /mewdecode/%#:mime_decoder: /mewdecode/%' \
+			-i mailfilter.cf || die
 	fi
 
 }
@@ -65,7 +73,7 @@
 }
 
 src_test() {
-	emake megatest
+	emake megatest || die
 }
 
 pkg_postinst() {



1.6                  app-text/crm114/crm114-20070810.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crm114/crm114-20070810.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crm114/crm114-20070810.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crm114/crm114-20070810.ebuild?r1=1.5&r2=1.6

Index: crm114-20070810.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20070810.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- crm114-20070810.ebuild	23 Sep 2009 16:31:45 -0000	1.5
+++ crm114-20070810.ebuild	5 Jan 2011 17:30:44 -0000	1.6
@@ -1,9 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20070810.ebuild,v 1.5 2009/09/23 16:31:45 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20070810.ebuild,v 1.6 2011/01/05 17:30:44 jlec Exp $
 
 inherit eutils
-IUSE="nls static normalizemime mew mimencode test"
+
 
 MY_P="${P}-BlameTheSegfault.src"
 S=${WORKDIR}/${MY_P}
@@ -14,41 +14,44 @@
 SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE="nls static normalizemime mew mimencode test"
 
-TREVERS="0.7.5"
-
-DEPEND=">=sys-apps/sed-4
-	normalizemime? ( mail-filter/normalizemime )
+RDEPEND="
+	dev-libs/tre
+	sys-apps/sed
 	mew? ( app-emacs/mew )
 	mimencode? ( net-mail/metamail )
-	>=dev-libs/tre-${TREVERS}
+	normalizemime? ( mail-filter/normalizemime )"
+DEPEND="${RDEPEND}
 	test? ( sys-apps/miscfiles )"
 
 src_unpack() {
 	unpack ${A}
 	cd "${S}"
 
-	sed -i "s#^CFLAGS.*#CFLAGS+=${CFLAGS}#" Makefile
-	sed -i "s#^LDFLAGS.*#LDFLAGS+=${LDFLAGS}#" Makefile
+	sed \
+		-e "s#^CFLAGS.*#CFLAGS+=${CFLAGS}#" \
+		-e "s#^LDFLAGS.*#LDFLAGS+=${LDFLAGS}#" \
+		-i Makefile || die
 	if use static ; then
-		sed -i "s#-ltre#-L${S}/tre-${TREVERS}/lib/.libs/ -ltre#g" Makefile
+		sed -i "s#-ltre#-L${S}/tre-${TREVERS}/lib/.libs/ -ltre#g" Makefile || die
 	else
-		sed -i "s#-static##g"  Makefile
+		sed -i "s#-static##g"  Makefile || die
 	fi
-	sed -i "s#ln -f -s crm114_tre crm114##" Makefile
+	sed -i "s#ln -f -s crm114_tre crm114##" Makefile || die
 
 	if use mimencode ; then
 		einfo "Using mimencode -- adjusting mailfilter.cf"
 		sed -i 's%#:mime_decoder: /mimencode -u/%:mime_decoder: /mimencode -u/%' \
-			mailfilter.cf
+			mailfilter.cf || die
 		sed -i 's%:mime_decoder: /mewdecode/%#:mime_decoder: /mewdecode/%' \
-			mailfilter.cf
+			mailfilter.cf || die
 	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: /normalizemime/%:mime_decoder: /normalizemime/%' mailfilter.cf || die
 
 		sed -i 's%:mime_decoder: /mewdecode/%#:mime_decoder: /mewdecode/%' \
-			mailfilter.cf
+			mailfilter.cf || die
 	fi
 
 }
@@ -58,28 +61,26 @@
 }
 
 src_install() {
-	dobin crm114 cssutil cssdiff cssmerge
-	dobin cssutil cssdiff cssmerge
-	dobin osbf-util
-
-	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
+	dobin crm114 cssutil cssdiff cssmerge || die
+	dobin cssutil cssdiff cssmerge || die
+	dobin osbf-util || die
+
+	dodoc COLOPHON.txt CRM114_Mailfilter_HOWTO.txt FAQ.txt INTRO.txt || die
+	dodoc QUICKREF.txt classify_details.txt inoc_passwd.txt || die
+	dodoc knownbugs.txt things_to_do.txt README || die
 	docinto examples
-	dodoc *.example
+	dodoc *.example || die
 
 	insinto /usr/share/${PN}
-	doins *.crm
-	doins *.cf
-	doins *.mfp
+	doins *.crm || die
+	doins *.cf || die
+	doins *.mfp || die
 }
 
 src_test() {
-	make megatest
+	emake megatest || die
 }
 
 pkg_postinst() {
-	einfo ""
-	einfo "The spam-filter CRM files are installed in /usr/share/${PN}."
-	einfo ""
+	elog "The spam-filter CRM files are installed in /usr/share/${PN}."
 }



1.1                  app-text/crm114/crm114-20100106.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crm114/crm114-20100106.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crm114/crm114-20100106.ebuild?rev=1.1&content-type=text/plain

Index: crm114-20100106.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20100106.ebuild,v 1.1 2011/01/05 17:30:44 jlec Exp $

EAPI=2

MY_P="${P}-BlameMichelson.src"

inherit eutils toolchain-funcs

DESCRIPTION="A powerful text processing tool, mainly used for spam filtering"
HOMEPAGE="http://crm114.sourceforge.net/"
SRC_URI="http://crm114.sourceforge.net/tarballs/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE="mew mimencode nls normalizemime +static test"

RDEPEND="
	dev-libs/tre
	mew? ( app-emacs/mew )
	mimencode? ( net-mail/metamail )
	normalizemime? ( mail-filter/normalizemime )"
DEPEND="${RDEPEND}
	test? ( sys-apps/miscfiles )"

S="${WORKDIR}"/${MY_P}

src_prepare() {
	sed \
		-e "s#-O3 -Wall##" \
		-e "s#^CC=.*#CC=$(tc-getCC)#" \
		-i Makefile || die
	# Upstream recommends static linking
	if ! use static ; then
		sed -i "s#LDFLAGS += -static -static-libgcc#LDFLAGS += ${LDFLAGS}#" Makefile || die
	else
		sed \
			-e "s#LDFLAGS += -static -static-libgcc#LDFLAGS += ${LDFLAGS} -static -static-libgcc#" \
			-i Makefile || die
	fi

	if use mimencode ; then
		sed \
			-e 's%#:mime_decoder: /mimencode -u/%:mime_decoder: /mimencode -u/%' \
			-e 's%:mime_decoder: /mewdecode/%#:mime_decoder: /mewdecode/%' \
			-i mailfilter.cf || die
	elif use normalizemime ; then
		sed \
			-e 's%#:mime_decoder: /normalizemime/%:mime_decoder: /normalizemime/%' \
			-e 's%:mime_decoder: /mewdecode/%#:mime_decoder: /mewdecode/%' \
			-i mailfilter.cf || die
	fi

}

src_install() {
	dobin crm114 cssutil cssdiff cssmerge || die
	dobin cssutil cssdiff cssmerge || die
	dobin osbf-util || die

	dodoc COLOPHON.txt CRM114_Mailfilter_HOWTO.txt FAQ.txt INTRO.txt || die
	dodoc QUICKREF.txt CLASSIFY_DETAILS.txt inoc_passwd.txt || die
	dodoc KNOWNBUGS.txt THINGS_TO_DO.txt README || die
	docinto examples
	dodoc *.example || die

	insinto /usr/share/${PN}
	doins *.crm || die
	doins *.cf || die
	doins *.mfp || die
}

src_test() {
	emake megatest || die
}

pkg_postinst() {
	elog "The spam-filter CRM files are installed in /usr/share/${PN}."
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-05 17:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-05 17:30 [gentoo-commits] gentoo-x86 commit in app-text/crm114: ChangeLog crm114-20100106.ebuild crm114-20090807.ebuild crm114-20070810.ebuild Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox