/[gentoo-x86]/app-misc/colordiff/colordiff-1.0.10.ebuild
Gentoo

Contents of /app-misc/colordiff/colordiff-1.0.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Aug 26 17:05:48 2012 UTC (2 years, 1 month ago) by armin76
Branch: MAIN
Changes since 1.5: +2 -2 lines
alpha/ia64/sparc stable wrt #428878

(Portage version: 2.1.11.5/cvs/Linux ia64)

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/colordiff/colordiff-1.0.10.ebuild,v 1.5 2012/08/03 13:26:53 ago Exp $
4
5 EAPI=4
6
7 inherit prefix
8
9 DESCRIPTION="Colorizes output of diff"
10 HOMEPAGE="http://colordiff.sourceforge.net/"
11 #SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12 # Hasn't been copied to mirrors yet
13 SRC_URI="http://${PN}.sourceforge.net/${P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 sparc x86 ~ppc-aix ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
18 IUSE=""
19
20 DEPEND=""
21 RDEPEND="sys-apps/diffutils"
22
23 src_prepare() {
24 # set proper etcdir for Gentoo Prefix
25 sed -i -e "s:'/etc:'@GENTOO_PORTAGE_EPREFIX@/etc:" "${S}/colordiff.pl" \
26 || die "sed etcdir failed"
27 eprefixify "${S}"/colordiff.pl
28 }
29
30 # This package has a makefile, but we don't want to run it
31 src_compile() { :; }
32
33 src_install() {
34 newbin ${PN}{.pl,}
35 newbin cdiff.sh cdiff
36 insinto /etc
37 doins colordiffrc colordiffrc-lightbg
38 dodoc BUGS CHANGES README TODO
39 doman {cdiff,colordiff}.1
40 }

  ViewVC Help
Powered by ViewVC 1.1.20