summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Nazaroff <naz@gentoo.org>2002-06-17 18:22:54 +0000
committerMichael Nazaroff <naz@gentoo.org>2002-06-17 18:22:54 +0000
commit556d866ca064877f103f5202ef47b538b39de079 (patch)
tree771405e62963a098a73ff481d0118ef17a657cf3 /app-text/ttf2pt1
parentTrying another little fix for screen (diff)
downloadhistorical-556d866ca064877f103f5202ef47b538b39de079.tar.gz
historical-556d866ca064877f103f5202ef47b538b39de079.tar.bz2
historical-556d866ca064877f103f5202ef47b538b39de079.zip
Updated ttf2pt1 to the newest
Diffstat (limited to 'app-text/ttf2pt1')
-rw-r--r--app-text/ttf2pt1/ChangeLog9
-rw-r--r--app-text/ttf2pt1/files/ttf2pt1-3.4.0-Makefile-gentoo.diff47
-rw-r--r--app-text/ttf2pt1/ttf2pt1-3.4.0.ebuild37
3 files changed, 92 insertions, 1 deletions
diff --git a/app-text/ttf2pt1/ChangeLog b/app-text/ttf2pt1/ChangeLog
index 9899c40deaa9..7e2841af8258 100644
--- a/app-text/ttf2pt1/ChangeLog
+++ b/app-text/ttf2pt1/ChangeLog
@@ -1,7 +1,14 @@
# ChangeLog for app-text/ttf2pt1
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-text/ttf2pt1/ChangeLog,v 1.1 2002/02/01 21:53:10 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ttf2pt1/ChangeLog,v 1.2 2002/06/17 18:22:54 naz Exp $
+*ttf2pt1-3.4.0 (1 Feb 2002)
+
+ 16 Jun 2002; Michael Nazaroff <naz@gentoo.org> ttf2pt1-3.4.0:
+
+ Updated to the newest version with the Makefile patch as well.
+ This was sent in by Matt Kennedy. Thankyou much :o).
+
*ttf2pt1-3.3.3 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
diff --git a/app-text/ttf2pt1/files/ttf2pt1-3.4.0-Makefile-gentoo.diff b/app-text/ttf2pt1/files/ttf2pt1-3.4.0-Makefile-gentoo.diff
new file mode 100644
index 000000000000..f7662653d8b5
--- /dev/null
+++ b/app-text/ttf2pt1/files/ttf2pt1-3.4.0-Makefile-gentoo.diff
@@ -0,0 +1,47 @@
+--- ttf2pt1-3.4.0/Makefile.orig Sun Oct 14 21:32:29 2001
++++ ttf2pt1-3.4.0/Makefile Tue Mar 12 17:37:56 2002
+@@ -60,18 +60,18 @@
+ # (if the include and lib directory do not match your installation,
+ # modify them), also uncomment LIBS_FT
+ #
+-#CFLAGS_FT = -DUSE_FREETYPE -I/usr/local/include/freetype2 -I/usr/local/include
++CFLAGS_FT = -DUSE_FREETYPE -I/usr/include/freetype2
+
+ #
+ # The FreeType-2 library flags (disabled by default)
+
+-LIBS_FT=
++#LIBS_FT=
+
+ # To enable use of the FreeType-2 library
+ # (if the include and lib directory do not match your installation,
+ # modify them), also uncomment LIBS_FT
+ #
+-#LIBS_FT= -L/usr/local/lib -lfreetype
++LIBS_FT= -L/usr/lib -lfreetype
+
+ #
+ # Preference of front-ends if multiple parsers match a file
+@@ -93,18 +93,18 @@
+ # Installation-related stuff
+ #
+ # The base dir for installation and subdirs in it
+-INSTDIR = /usr/local
++INSTDIR = /usr
+ # for binaries
+ BINDIR = $(INSTDIR)/bin
+ # for binaries of little general interest
+-LIBXDIR = $(INSTDIR)/libexec/ttf2pt1
++LIBXDIR = $(INSTDIR)/lib/ttf2pt1
+ # for scripts, maps/encodings etc.
+ SHAREDIR = $(INSTDIR)/share/ttf2pt1
+-MANDIR = $(INSTDIR)/man
++MANDIR = $(INSTDIR)/share/man
+
+ # owner and group of installed files
+ OWNER = root
+-GROUP = bin
++GROUP = root
+
+ # After you have configured the Makefile, comment out the following
+ # definition:
diff --git a/app-text/ttf2pt1/ttf2pt1-3.4.0.ebuild b/app-text/ttf2pt1/ttf2pt1-3.4.0.ebuild
new file mode 100644
index 000000000000..ef600dd1a8a8
--- /dev/null
+++ b/app-text/ttf2pt1/ttf2pt1-3.4.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# /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="http://download.sourceforge.net/ttf2pt1/${A}"
+HOMEPAGE="http://ttf2pt1.sourceforge.net"
+
+RDEPEND="virtual/glibc
+ >=media-libs/freetype-2.0"
+DEPEND="$RDEPEND sys-devel/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
+}
+