Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 182905
Collapse All | Expand All

(-)/usr/portage/media-libs/freetype/freetype-2.3.4-r1.ebuild (-6 / +11 lines)
Lines 13-19 Link Here
13
LICENSE="FTL GPL-2"
13
LICENSE="FTL GPL-2"
14
SLOT="2"
14
SLOT="2"
15
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
15
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
16
IUSE="X bindist debug doc zlib"
16
IUSE="X bindist debug doc zlib demo"
17
17
18
# The RDEPEND below makes sure that if there is a version of moz/ff/tb
18
# The RDEPEND below makes sure that if there is a version of moz/ff/tb
19
# installed, then it will have the freetype-2.1.8+ binary compatibility patch.
19
# installed, then it will have the freetype-2.1.8+ binary compatibility patch.
Lines 91-98 Link Here
91
	econf $(use_with zlib) || die "econf failed"
91
	econf $(use_with zlib) || die "econf failed"
92
	emake || die "emake failed"
92
	emake || die "emake failed"
93
93
94
	if use demo; then
95
94
	cd ../ft2demos-${PV}
96
	cd ../ft2demos-${PV}
95
	emake || die "ft2demos emake failed"
97
	emake || die "ft2demos emake failed"
98
	fi
96
}
99
}
97
100
98
src_install() {
101
src_install() {
Lines 104-112 Link Here
104
	#cd "${WORKDIR}"/${PN}-doc-${PV}
107
	#cd "${WORKDIR}"/${PN}-doc-${PV}
105
	use doc && dohtml -r docs/*
108
	use doc && dohtml -r docs/*
106
109
107
	rm ../ft2demos-${PV}/bin/README
110
	if use demo; then
108
	for ft2demo in ../ft2demos-${PV}/bin/*; do
111
		rm ../ft2demos-${PV}/bin/README
109
		./builds/unix/libtool --mode=install $(type -P install) -m 755 $ft2demo \
112
		for ft2demo in ../ft2demos-${PV}/bin/*; do
110
			${D}/usr/bin
113
			./builds/unix/libtool --mode=install $(type -P install) -m 755 $ft2demo \
111
	done
114
				${D}/usr/bin
115
		done
116
	fi
112
}
117
}

Return to bug 182905