summaryrefslogtreecommitdiff
path: root/fonts/ttf2pt1
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-08 09:58:20 +0000
committerjlam <jlam@pkgsrc.org>2002-10-08 09:58:20 +0000
commita4d131141452a6935c64d5b451fbab7bd441c5f0 (patch)
tree72b670608018a071975ea40e50b3ea5e728de687 /fonts/ttf2pt1
parent368120b32fd54227a907832e8a11d8d9da109dbc (diff)
downloadpkgsrc-a4d131141452a6935c64d5b451fbab7bd441c5f0.tar.gz
buildlink1 -> buildlink2
Diffstat (limited to 'fonts/ttf2pt1')
-rw-r--r--fonts/ttf2pt1/Makefile6
-rw-r--r--fonts/ttf2pt1/distinfo4
-rw-r--r--fonts/ttf2pt1/patches/patch-aa27
3 files changed, 23 insertions, 14 deletions
diff --git a/fonts/ttf2pt1/Makefile b/fonts/ttf2pt1/Makefile
index 8abffd5f85c..4470dc208b2 100644
--- a/fonts/ttf2pt1/Makefile
+++ b/fonts/ttf2pt1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/07/19 12:43:51 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2002/10/08 09:58:20 jlam Exp $
#
DISTNAME= ttf2pt1-3.4.0
@@ -13,7 +13,7 @@ COMMENT= TrueType font converter to Postscript type 1
DEPENDS+= t1utils-[0-9]*:../../fonts/t1utils
-USE_CONFIG_WRAPPER= yes
+USE_BUILDLINK2= # defined
-.include "../../graphics/freetype2/buildlink.mk"
+.include "../../graphics/freetype2/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/ttf2pt1/distinfo b/fonts/ttf2pt1/distinfo
index 653cb2dd948..4c22842f91a 100644
--- a/fonts/ttf2pt1/distinfo
+++ b/fonts/ttf2pt1/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/07/16 15:26:01 wiz Exp $
+$NetBSD: distinfo,v 1.2 2002/10/08 09:58:20 jlam Exp $
SHA1 (ttf2pt1-3.4.0.tgz) = 1e11478ab5f6dae26ea743dc1149603d652746bb
Size (ttf2pt1-3.4.0.tgz) = 204811 bytes
-SHA1 (patch-aa) = 798855010e4c1615ac25050e21771103c92f2fff
+SHA1 (patch-aa) = 6b009c2bee1d552b347023a3e79ab3fc91dd3c30
diff --git a/fonts/ttf2pt1/patches/patch-aa b/fonts/ttf2pt1/patches/patch-aa
index ee1a9ddd5a6..2b105d3ed65 100644
--- a/fonts/ttf2pt1/patches/patch-aa
+++ b/fonts/ttf2pt1/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/07/16 15:26:01 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2002/10/08 09:58:21 jlam Exp $
---- Makefile.orig Mon Oct 15 04:32:29 2001
+--- Makefile.orig Sun Oct 14 19:32:29 2001
+++ Makefile
@@ -20,7 +20,7 @@
#
@@ -11,25 +11,25 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/07/16 15:26:01 wiz Exp $
# For GNU C
#
-@@ -54,7 +54,7 @@
+@@ -54,7 +54,7 @@ LIBS_SYS= -lm
# This WON'T BUILD with FT2-beta8, use the FreeType release 2.0.
# http://download.sourceforge.net/freetype/freetype-2.0.tar.gz
-CFLAGS_FT=
-+CFLAGS_FT= -DUSE_FREETYPE `${FREETYPE_CONFIG} --cflags`
++CFLAGS_FT= -DUSE_FREETYPE `freetype-config --cflags`
# To enable use of the FreeType-2 library
# (if the include and lib directory do not match your installation,
-@@ -65,7 +65,7 @@
+@@ -65,7 +65,7 @@ CFLAGS_FT=
#
# The FreeType-2 library flags (disabled by default)
-LIBS_FT=
-+LIBS_FT= `${FREETYPE_CONFIG} --libs` -Wl,-R`${FREETYPE_CONFIG} --prefix`/lib
++LIBS_FT= `freetype-config --libs`
# To enable use of the FreeType-2 library
# (if the include and lib directory do not match your installation,
-@@ -84,20 +84,20 @@
+@@ -84,20 +84,20 @@ CFLAGS_PREF=
#CFLAGS_PREF= -DPREFER_FREETYPE
# Uncomment the second line to not compile t1asm into ttf2pt1
@@ -55,7 +55,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/07/16 15:26:01 wiz Exp $
# for scripts, maps/encodings etc.
SHAREDIR = $(INSTDIR)/share/ttf2pt1
MANDIR = $(INSTDIR)/man
-@@ -118,12 +118,12 @@
+@@ -118,12 +118,12 @@ DOCS=CHANGES README FONTS FONTS.hpux enc
app/X11/README app/netscape/README
SUBDIRS = app encodings maps scripts other
@@ -70,7 +70,16 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/07/16 15:26:01 wiz Exp $
docs: $(DOCS)
-@@ -202,31 +202,21 @@
+@@ -175,7 +175,7 @@ runt1asm.o: runt1asm.c global.h
+ $(CC) $(CFLAGS) $(CFLAGS_EXTT1ASM) -c runt1asm.c
+
+ ttf2pt1: ttf2pt1.o pt1.o runt1asm.o ttf.o ft.o bdf.o bitmap.o
+- $(CC) $(CFLAGS) -o ttf2pt1 ttf2pt1.o pt1.o runt1asm.o ttf.o ft.o bdf.o bitmap.o $(LIBS)
++ $(CC) $(LDFLAGS) -o ttf2pt1 ttf2pt1.o pt1.o runt1asm.o ttf.o ft.o bdf.o bitmap.o $(LIBS)
+
+ CHANGES: CHANGES.html
+ scripts/unhtml <CHANGES.html >CHANGES
+@@ -202,31 +202,21 @@ FONTS.hpux: FONTS.hpux.html
scripts/unhtml <FONTS.hpux.html >FONTS.hpux
install: all