/[gentoo-x86]/app-misc/run-mailcap/run-mailcap-3.52_p1.ebuild
Gentoo

Contents of /app-misc/run-mailcap/run-mailcap-3.52_p1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jul 25 17:14:15 2012 UTC (2 years, 4 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/run-mailcap/run-mailcap-3.39_p1.ebuild,v 1.6 2008/05/11 14:04:45 maekke Exp $
4
5 EAPI=4
6
7 MY_PV="${PV/_p/-}"
8 DESCRIPTION="Execute programs via entries in the mailcap file"
9 HOMEPAGE="http://packages.debian.org/unstable/net/mime-support"
10 SRC_URI="mirror://debian/pool/main/m/mime-support/mime-support_${MY_PV}.tar.gz"
11 LICENSE="freedist"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
14 IUSE=""
15 DEPEND=""
16 RDEPEND=">=dev-lang/perl-5.6
17 app-misc/mime-types"
18
19 S=${WORKDIR}/mime-support
20
21 src_prepare() {
22 sed -i run-mailcap -e 's:^\(\$xtermprgrm=\)"/usr/bin/x-terminal-emulator":\1$ENV{XTERMCMD} || "xterm":'
23 }
24
25 src_install() {
26 dobin run-mailcap
27 newman run-mailcap.man run-mailcap.1
28 newman mailcap.man mailcap.4
29 for i in compose edit see print; do
30 dosym run-mailcap /usr/bin/$i
31 dosym run-mailcap.1 /usr/share/man/man1/$i.1
32 done
33 }

  ViewVC Help
Powered by ViewVC 1.1.20