summaryrefslogtreecommitdiff
blob: 7ce0190e4d2ba2db28fe593887dffee8d60ced36 (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.7 2005/08/28 14:50:19 matsuu Exp $

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

inherit x-modular

DESCRIPTION="BigReqs prototype headers"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~s390 ~sh ~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
}