|
|
LICENSE="FTL GPL-2" | LICENSE="FTL GPL-2" |
SLOT="2" | SLOT="2" |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
IUSE="X bindist debug doc zlib" |
IUSE="X bindist debug doc zlib demo" |
| |
# The RDEPEND below makes sure that if there is a version of moz/ff/tb | # The RDEPEND below makes sure that if there is a version of moz/ff/tb |
# installed, then it will have the freetype-2.1.8+ binary compatibility patch. | # installed, then it will have the freetype-2.1.8+ binary compatibility patch. |
|
|
econf $(use_with zlib) || die "econf failed" | econf $(use_with zlib) || die "econf failed" |
emake || die "emake failed" | emake || die "emake failed" |
| |
|
if use demo; then |
|
|
cd ../ft2demos-${PV} | cd ../ft2demos-${PV} |
emake || die "ft2demos emake failed" | emake || die "ft2demos emake failed" |
|
fi |
} | } |
| |
src_install() { | src_install() { |
|
|
#cd "${WORKDIR}"/${PN}-doc-${PV} | #cd "${WORKDIR}"/${PN}-doc-${PV} |
use doc && dohtml -r docs/* | use doc && dohtml -r docs/* |
| |
rm ../ft2demos-${PV}/bin/README |
if use demo; then |
for ft2demo in ../ft2demos-${PV}/bin/*; do |
rm ../ft2demos-${PV}/bin/README |
./builds/unix/libtool --mode=install $(type -P install) -m 755 $ft2demo \ |
for ft2demo in ../ft2demos-${PV}/bin/*; do |
${D}/usr/bin |
./builds/unix/libtool --mode=install $(type -P install) -m 755 $ft2demo \ |
done |
${D}/usr/bin |
|
done |
|
fi |
} | } |