summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-09-22 07:57:12 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-09-22 07:57:12 +0000
commitee6070996e65f5fa69063fe7358ef296a451772b (patch)
treead3049aeaf06d021d5d70765a2d4058edbcdc30d /media-libs/freetype
parentMinor comment fix (diff)
downloadgentoo-2-ee6070996e65f5fa69063fe7358ef296a451772b.tar.gz
gentoo-2-ee6070996e65f5fa69063fe7358ef296a451772b.tar.bz2
gentoo-2-ee6070996e65f5fa69063fe7358ef296a451772b.zip
add docs
Diffstat (limited to 'media-libs/freetype')
-rw-r--r--media-libs/freetype/ChangeLog9
-rw-r--r--media-libs/freetype/files/digest-freetype-2.1.2-r12
-rw-r--r--media-libs/freetype/freetype-2.1.2-r1.ebuild42
3 files changed, 52 insertions, 1 deletions
diff --git a/media-libs/freetype/ChangeLog b/media-libs/freetype/ChangeLog
index a8e6de469dab..cfb54e832183 100644
--- a/media-libs/freetype/ChangeLog
+++ b/media-libs/freetype/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/freetype
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.7 2002/08/28 08:31:09 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.8 2002/09/22 07:57:12 azarah Exp $
+
+*freetype-2.1.2-r1 (21 Sep 2002)
+
+ 21 Sep 2002; M.Schlemmer <azarah@gentoo.org> freetype-2.1.2-r1.ebuild :
+
+ Add html docs if "doc" in USE, thanks to Rigo Ketelings <rigo@home.nl>.
+ This closes bug #7416.
*freetype-1.3.1-r3 (28 Aug 2002)
diff --git a/media-libs/freetype/files/digest-freetype-2.1.2-r1 b/media-libs/freetype/files/digest-freetype-2.1.2-r1
new file mode 100644
index 000000000000..372872a88068
--- /dev/null
+++ b/media-libs/freetype/files/digest-freetype-2.1.2-r1
@@ -0,0 +1,2 @@
+MD5 23d04bf0cfc48772b8d698c95eec37bd freetype-2.1.2.tar.bz2 742830
+MD5 42daeea7a13f6d182e755b8de0c474ec ftdocs-2.1.2.tar.bz2 199636
diff --git a/media-libs/freetype/freetype-2.1.2-r1.ebuild b/media-libs/freetype/freetype-2.1.2-r1.ebuild
new file mode 100644
index 000000000000..82a09f61ca3b
--- /dev/null
+++ b/media-libs/freetype/freetype-2.1.2-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.1.2-r1.ebuild,v 1.1 2002/09/22 07:57:12 azarah Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A high-quality and portable font engine"
+SRC_URI="mirror://sourceforge/freetype/${P}.tar.bz2
+ doc? ( mirror://sourceforge/${PN}/ftdocs-${PV}.tar.bz2 )"
+HOMEPAGE="http://www.freetype.org/"
+
+SLOT="2"
+LICENSE="FTL | GPL-2"
+KEYWORDS="x86 ppc sparc sparc64 alpha"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+
+ # Enable hinting for truetype fonts
+ cd ${S}/include/freetype/config
+ cp ftoption.h ftoption.h.orig
+ sed -e 's:#undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER:#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER:' \
+ ftoption.h.orig > ftoption.h
+
+ cd ${S}
+}
+
+
+src_compile() {
+ make CFG="--host=${CHOST} --prefix=/usr" || die
+ emake || die
+}
+
+src_install() {
+ make prefix=${D}/usr install || die
+
+ dodoc ChangeLog README
+ dodoc docs/{BUGS,BUILD,CHANGES,*.txt,PATENTS,readme.vms,TODO}
+
+ use doc && dohtml -r docs/*
+}