summaryrefslogtreecommitdiff
blob: 938fac9bdadd336435a53a901e3255d6bc3b0c01 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/font-alias/font-alias-0.99.0.ebuild,v 1.4 2005/08/20 22:14:38 lu_zero Exp $

# Must be before x-modular eclass is inherited
SNAPSHOT="yes"

inherit x-modular

DESCRIPTION="BigReqs prototype headers"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
RDEPEND=""
DEPEND="${RDEPEND}
	x11-apps/mkfontscale"

src_unpack() {
	x-modular_unpack_source
	x-modular_patch_source

	for dir in 100dpi 75dpi cyrillic misc; do
		sed -i -e "s:^aliasdir =.*:aliasdir = \$(datadir)/fonts/${dir}:g" \
			${S}/${dir}/Makefile.am
	done

	x-modular_reconf_source
}