summaryrefslogtreecommitdiff
blob: 0987bddffc7c7d64fe1ee35c3278c9c8e83909a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/compface/compface-1.5.1.ebuild,v 1.10 2006/02/07 20:42:43 blubb Exp $

IUSE=""

inherit eutils

DESCRIPTION="Utilities and library to convert to/from X-Face format"
HOMEPAGE="http://www.xemacs.org/Download/optLibs.html"
SRC_URI="http://ftp.xemacs.org/pub/xemacs/aux/${P}.tar.gz"

LICENSE="MIT"
KEYWORDS="alpha amd64 hppa ia64 ppc ~ppc-macos ppc64 sparc x86"
SLOT="0"

DEPEND="virtual/libc"

src_unpack() {

	unpack ${A}
	cd ${S}

	sed -i -e "s:\r::" Makefile.in xbm2xface.pl
	epatch ${FILESDIR}/${P}-destdir.diff
	WANT_AUTOCONF=2.5 autoconf

}

src_install() {

	dodir /usr/share/man/man{1,3} /usr/{bin,include,$(get_libdir)}
	make DESTDIR="${D}" install || die

	newbin xbm2xface{.pl,}
	dodoc README ChangeLog

}