You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/fondu/fondu-20060102-r1.ebuild

33 lines
729 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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 ~x64-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
}