# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # /space/gentoo/cvsroot/gentoo-x86/app-text/ttf2pt1/ttf2pt1-3.3.3.ebuild,v 1.4 2001/08/11 04:42:31 drobbins Exp A=${P}.tgz S=${WORKDIR}/${P} DESCRIPTION="Converts True Type to Type 1 fonts" SRC_URI="mirror://sourceforge/ttf2pt1/${A}" HOMEPAGE="http://ttf2pt1.sourceforge.net" KEYWORDS="x86 sparc " SLOT="0" LICENSE="as-is" RDEPEND="virtual/glibc >=media-libs/freetype-2.0" DEPEND="$RDEPEND dev-lang/perl" src_unpack() { unpack ${A} patch -p0 < ${FILESDIR}/${P}-Makefile-gentoo.diff } src_compile() { try make CFLAGS="${CFLAGS}" all } src_install () { try make INSTDIR=${D}/usr install dodir /usr/share/doc/${PF}/html cd ${D}/usr/share/ttf2pt1 rm -r app other mv *.html ../doc/${PF}/html mv [A-Z]* ../doc/${PF} prepalldocs }