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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Oct 28 19:19:38 2012 UTC (22 months, 3 weeks ago) by radhermit
Branch: MAIN
Version bump.

(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=4
6
7 inherit prefix
8
9 DESCRIPTION="Colorizes output of diff"
10 HOMEPAGE="http://www.colordiff.org/"
11 SRC_URI="http://www.colordiff.org/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 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"
16 IUSE=""
17
18 RDEPEND="sys-apps/diffutils"
19
20 src_prepare() {
21 # set proper etcdir for Gentoo Prefix
22 sed -i -e "s:'/etc:'@GENTOO_PORTAGE_EPREFIX@/etc:" "${S}/colordiff.pl" \
23 || die "sed etcdir failed"
24 eprefixify "${S}"/colordiff.pl
25 }
26
27 # This package has a makefile, but we don't want to run it
28 src_compile() { :; }
29
30 src_install() {
31 newbin ${PN}{.pl,}
32 newbin cdiff.sh cdiff
33 insinto /etc
34 doins colordiffrc colordiffrc-lightbg
35 dodoc BUGS CHANGES README
36 doman {cdiff,colordiff}.1
37 }

  ViewVC Help
Powered by ViewVC 1.1.20