diff options
-rw-r--r-- | app-text/mftrace/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/mftrace/mftrace-1.2.17.ebuild | 49 |
2 files changed, 55 insertions, 1 deletions
diff --git a/app-text/mftrace/ChangeLog b/app-text/mftrace/ChangeLog index ff2b4e71367b..75abc8223254 100644 --- a/app-text/mftrace/ChangeLog +++ b/app-text/mftrace/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/mftrace # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/mftrace/ChangeLog,v 1.57 2011/06/30 18:49:04 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/mftrace/ChangeLog,v 1.58 2011/08/22 09:39:12 radhermit Exp $ + +*mftrace-1.2.17 (22 Aug 2011) + + 22 Aug 2011; Tim Harder <radhermit@gentoo.org> +mftrace-1.2.17.ebuild: + Version bump. 30 Jun 2011; Jeroen Roovers <jer@gentoo.org> mftrace-1.2.16.ebuild: Marked ~hppa (bug #356069). diff --git a/app-text/mftrace/mftrace-1.2.17.ebuild b/app-text/mftrace/mftrace-1.2.17.ebuild new file mode 100644 index 000000000000..3f3c2ce48822 --- /dev/null +++ b/app-text/mftrace/mftrace-1.2.17.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/mftrace/mftrace-1.2.17.ebuild,v 1.1 2011/08/22 09:39:12 radhermit Exp $ + +EAPI="3" +PYTHON_DEPEND="2" + +inherit python multilib toolchain-funcs + +DESCRIPTION="Traces TeX fonts to PFA or PFB fonts (formerly pktrace)" +HOMEPAGE="http://lilypond.org/mftrace/" +SRC_URI="http://lilypond.org/download/sources/mftrace/${P}.tar.gz" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" +# SLOT 1 was used in pktrace ebuild +SLOT="1" +IUSE="truetype" + +DEPEND="|| ( media-gfx/potrace >=media-gfx/autotrace-0.30 )" +RDEPEND="${DEPEND} + virtual/latex-base + >=app-text/t1utils-1.25 + truetype? ( media-gfx/fontforge )" + +pkg_setup() { + python_set_active_version 2 +} + +src_configure() { + tc-export CC + econf --datadir=$(python_get_sitedir) +} + +src_compile() { + emake CFLAGS="-Wall ${CFLAGS}" || die "emake failed" +} + +src_install () { + emake DESTDIR="${D}" PYC_MODULES="" install || die "make install failed" + dodoc README.txt ChangeLog +} + +pkg_postinst() { + python_mod_optimize mftrace +} + +pkg_postrm() { + python_mod_cleanup mftrace +} |