summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-07-25 17:14:16 +0000
committerPacho Ramos <pacho@gentoo.org>2012-07-25 17:14:16 +0000
commit588c2e0b46c688c70236dd53ed3c18d97b85ab7e (patch)
tree08147673d1ad32982880dbf24027d11e8cbeda53 /app-misc/run-mailcap
parentInstall doc files at proper place, bug #427810 by Chris Mayo. (diff)
downloadgentoo-2-588c2e0b46c688c70236dd53ed3c18d97b85ab7e.tar.gz
gentoo-2-588c2e0b46c688c70236dd53ed3c18d97b85ab7e.tar.bz2
gentoo-2-588c2e0b46c688c70236dd53ed3c18d97b85ab7e.zip
Version bump.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/run-mailcap')
-rw-r--r--app-misc/run-mailcap/ChangeLog10
-rw-r--r--app-misc/run-mailcap/run-mailcap-3.52_p1.ebuild33
2 files changed, 40 insertions, 3 deletions
diff --git a/app-misc/run-mailcap/ChangeLog b/app-misc/run-mailcap/ChangeLog
index 759bb51412a6..d69ad6d3b0d0 100644
--- a/app-misc/run-mailcap/ChangeLog
+++ b/app-misc/run-mailcap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/run-mailcap
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/run-mailcap/ChangeLog,v 1.53 2008/05/11 14:06:44 maekke Exp $
+# Copyright 2000-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/run-mailcap/ChangeLog,v 1.54 2012/07/25 17:14:16 pacho Exp $
+
+*run-mailcap-3.52_p1 (25 Jul 2012)
+
+ 25 Jul 2012; Pacho Ramos <pacho@gentoo.org> +run-mailcap-3.52_p1.ebuild:
+ Version bump.
11 May 2008; Markus Meier <maekke@gentoo.org> -run-mailcap-3.34_p1.ebuild:
old
@@ -192,4 +197,3 @@
06 Apr 2003; Martin Holzer <mholzer@gentoo.org> run-mailcap-3.21.ebuild:
Added initial Version submitted in #16020 by Tom Payne (twp@gentoo.org)
-
diff --git a/app-misc/run-mailcap/run-mailcap-3.52_p1.ebuild b/app-misc/run-mailcap/run-mailcap-3.52_p1.ebuild
new file mode 100644
index 000000000000..8925b62345b5
--- /dev/null
+++ b/app-misc/run-mailcap/run-mailcap-3.52_p1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/run-mailcap/run-mailcap-3.52_p1.ebuild,v 1.1 2012/07/25 17:14:15 pacho Exp $
+
+EAPI=4
+
+MY_PV="${PV/_p/-}"
+DESCRIPTION="Execute programs via entries in the mailcap file"
+HOMEPAGE="http://packages.debian.org/unstable/net/mime-support"
+SRC_URI="mirror://debian/pool/main/m/mime-support/mime-support_${MY_PV}.tar.gz"
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+DEPEND=""
+RDEPEND=">=dev-lang/perl-5.6
+ app-misc/mime-types"
+
+S=${WORKDIR}/mime-support
+
+src_prepare() {
+ sed -i run-mailcap -e 's:^\(\$xtermprgrm=\)"/usr/bin/x-terminal-emulator":\1$ENV{XTERMCMD} || "xterm":'
+}
+
+src_install() {
+ dobin run-mailcap
+ newman run-mailcap.man run-mailcap.1
+ newman mailcap.man mailcap.4
+ for i in compose edit see print; do
+ dosym run-mailcap /usr/bin/$i
+ dosym run-mailcap.1 /usr/share/man/man1/$i.1
+ done
+}