diff options
Diffstat (limited to 'app-misc/run-mailcap')
-rw-r--r-- | app-misc/run-mailcap/Manifest | 4 | ||||
-rw-r--r-- | app-misc/run-mailcap/files/digest-run-mailcap-3.23_p1-r1 | 1 | ||||
-rw-r--r-- | app-misc/run-mailcap/run-mailcap-3.23_p1-r1.ebuild | 33 |
3 files changed, 36 insertions, 2 deletions
diff --git a/app-misc/run-mailcap/Manifest b/app-misc/run-mailcap/Manifest index 6627f1a692ef..4407c2e6e535 100644 --- a/app-misc/run-mailcap/Manifest +++ b/app-misc/run-mailcap/Manifest @@ -1,6 +1,6 @@ -MD5 3dbdeec9675f80a49d1d0e3f9c7a05a1 ChangeLog 1197 +MD5 409e60e381a0a17678cba876b07252ec ChangeLog 1263 MD5 b1e1e188c17734d67ad7adda4d57d6ff run-mailcap-3.23_p1.ebuild 745 MD5 d992d28bec4a3bfd72b441145091a58e metadata.xml 244 -MD5 08022c6673304ecd7a42db65a283fc39 run-mailcap-3.23_p1-r1.ebuild 800 +MD5 cb63e3d68ae879488cd45c0190b8c1be run-mailcap-3.23_p1-r1.ebuild 1060 MD5 260f96355471522fd0106d124401ce8d files/digest-run-mailcap-3.23_p1 70 MD5 260f96355471522fd0106d124401ce8d files/digest-run-mailcap-3.23_p1-r1 70 diff --git a/app-misc/run-mailcap/files/digest-run-mailcap-3.23_p1-r1 b/app-misc/run-mailcap/files/digest-run-mailcap-3.23_p1-r1 new file mode 100644 index 000000000000..89fec898adbe --- /dev/null +++ b/app-misc/run-mailcap/files/digest-run-mailcap-3.23_p1-r1 @@ -0,0 +1 @@ +MD5 573b879947f6f8f16af82c86754d44eb mime-support_3.23-1.tar.gz 72982 diff --git a/app-misc/run-mailcap/run-mailcap-3.23_p1-r1.ebuild b/app-misc/run-mailcap/run-mailcap-3.23_p1-r1.ebuild new file mode 100644 index 000000000000..7ebf40ef9b38 --- /dev/null +++ b/app-misc/run-mailcap/run-mailcap-3.23_p1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/run-mailcap/run-mailcap-3.23_p1-r1.ebuild,v 1.1 2003/12/22 19:08:18 twp Exp $ + +MY_PV="${PV/_p/-}" +DESCRIPTION="Execute programs via entries in the mailcap file" +HOMEPAGE="http://packages.debian.org/unstable/net/mime-support.html" +SRC_URI="mirror://debian/pool/main/m/mime-support/mime-support_${MY_PV}.tar.gz" +LICENSE="freedist" +SLOT="0" +KEYWORDS="~alpha ~arm ~hppa ~mips ~sparc ~ppc x86" +IUSE="" +DEPEND="" +RDEPEND=">=dev-lang/perl-5.6*" + +S=${WORKDIR}/mime-support + +src_compile() { + sed -i run-mailcap -e 's:^\(\$xtermprgrm=\)"/usr/bin/x-terminal-emulator":\1$ENV{XTERMCMD} || "xterm":' + cp run-mailcap.man run-mailcap.1 + cp mailcap.man mailcap.5 +} + +src_install() { + dobin run-mailcap + doman run-mailcap.1 mailcap.5 + insinto /etc + doins mime.types + for i in compose edit see print; do + ( cd ${D}/usr/bin && ln -s run-mailcap $i ) + ( cd ${D}/usr/share/man/man1 && ln -s run-mailcap.1 $i.1 ) + done +} |