blob: 84f56b416f11c8863c0dd3e47542f629c25d3b0b (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/fondu/fondu-20060102-r1.ebuild,v 1.1 2013/07/21 18:00:24 ottxor Exp $
EAPI="5"
inherit eutils
MY_PV=${PV:2:6}
DESCRIPTION="Utilities for converting between and manipulating mac fonts and unix fonts"
HOMEPAGE="http://fondu.sourceforge.net/"
SRC_URI="http://fondu.sourceforge.net/${PN}_src-${MY_PV}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
S=${WORKDIR}/${PN}-${MY_PV}
src_prepare() {
sed -e 's:^CFLAGS =:CFLAGS +=:' \
-e 's:$(CFLAGS) -o:$(CFLAGS) $(LDFLAGS) -o:' \
-e 's:wilprefix:prefix:' \
-i Makefile.in || die "failed to sed"
epatch "${FILESDIR}/${P}-build-fix.patch"
}
src_install() {
default
doman *.1
}
|