aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authoritojun <itojun@FreeBSD.org>1998-03-20 22:54:51 +0800
committeritojun <itojun@FreeBSD.org>1998-03-20 22:54:51 +0800
commit0084a2432929395fe53f36b4b1ffea9572849a76 (patch)
treeb09d127632c87ecdfa8e20e958d7446b7a9e2073 /japanese
parentc5fbef6a4c9565984170b5069693000b6532efae (diff)
downloadfreebsd-ports-gnome-0084a2432929395fe53f36b4b1ffea9572849a76.tar.gz
freebsd-ports-gnome-0084a2432929395fe53f36b4b1ffea9572849a76.tar.zst
freebsd-ports-gnome-0084a2432929395fe53f36b4b1ffea9572849a76.zip
freetype support patch added.
(depends on ports/print/freetype) Submitted by: mita@jp.freebsd.org
Diffstat (limited to 'japanese')
-rw-r--r--japanese/vflib/Makefile43
-rw-r--r--japanese/vflib/distinfo3
-rw-r--r--japanese/vflib/files/patch-aa443
-rw-r--r--japanese/vflib/pkg-descr14
4 files changed, 255 insertions, 248 deletions
diff --git a/japanese/vflib/Makefile b/japanese/vflib/Makefile
index d32281cecf35..dff2491deb6c 100644
--- a/japanese/vflib/Makefile
+++ b/japanese/vflib/Makefile
@@ -1,9 +1,9 @@
-# New ports collection makefile for: vflib
+# New ports collection makefile for: vflib + FreeType
# Version required: 2.22 Patchlevel 10
# Date created: 10 May 1996
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
#
-# $Id: Makefile,v 1.10 1997/10/02 03:10:04 max Exp $
+# $Id: Makefile,v 1.11 1997/10/15 22:15:48 max Exp $
#
DISTNAME= VFlib-2.22-PL8
@@ -12,22 +12,49 @@ CATEGORIES= japanese print
MASTER_SITES= ftp://gull.se.hiroshima-u.ac.jp/pub/VFlib/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} watanabe-vf.tar.Z
-PATCH_SITES= ${MASTER_SITES}
-PATCHFILES= VFlib-2.22-Patch9 VFlib-2.22-Patch10
+PATCH_SITES= http://itohws03.ee.noda.sut.ac.jp/~matsuda/VFlib-FT/ \
+ ${MASTER_SITES}
+PATCHFILES= VFlib-2.22-Patch9 VFlib-2.22-Patch10 VFlib-FT1.0-PL2.diff.gz
MAINTAINER= mita@jp.FreeBSD.org
+LIB_DEPENDS= ttf\\.1\\.0:${PORTSDIR}/print/freetype
+
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/VFlib-2.22pl8
-PATCH_DIST_ARGS=-d ${WRKSRC}/src --forward --quiet -E ${PATCH_STRIP}
+MAKE_ENV= PREFIX=${PREFIX} FREETYPEINCDIR=${FREETYPEINCDIR} \
+ FREETYPELIBDIR=${FREETYPELIBDIR}
+FREETYPEINCDIR= ${PREFIX}/include
+FREETYPELIBDIR= ${PREFIX}/lib
+
+do-patch:
+ @${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME}"
+ @${CAT} ${DISTDIR}/VFlib-2.22-Patch9 ${DISTDIR}/VFlib-2.22-Patch10 | \
+ ${PATCH} ${PATCH_DIST_ARGS:S/${WRKSRC}/&\/src/}
+ @${GZCAT} ${DISTDIR}/VFlib-FT1.0-PL2.diff.gz | ${PATCH} ${PATCH_DIST_ARGS}
+ @if [ "`echo ${PATCHDIR}/patch-*`" = "${PATCHDIR}/patch-*" ]; then \
+ ${ECHO_MSG} "===> Ignoring empty patch directory"; \
+ else \
+ ${ECHO_MSG} "===> Applying ${OPSYS} patches for ${PKGNAME}" ; \
+ for i in ${PATCHDIR}/patch-*; do \
+ case $$i in \
+ *.orig|*.rej|*~) \
+ ${ECHO_MSG} "===> Ignoring patchfile $$i" ; \
+ ;; \
+ *) \
+ ${PATCH} ${PATCH_ARGS} < $$i; \
+ ;; \
+ esac; \
+ done; \
+ fi;
do-build:
- @(cd ${WRKSRC}/src; make)
- @(cd ${WRKSRC}/tools; xmkmf; make)
+ @(cd ${WRKSRC}/src; ${SETENV} ${MAKE_ENV} ${MAKE})
+ @(cd ${WRKSRC}/tools; ${XMKMF}; ${SETENV} ${MAKE_ENV} ${MAKE})
do-install:
${MKDIR} ${PREFIX}/lib/VFlib
- @(cd ${WRKSRC}/src; make install)
+ @(cd ${WRKSRC}/src; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET})
@(cd ${WRKSRC}/tools; \
${INSTALL_PROGRAM} fmtest disol kban ktest vfperf vftest \
${PREFIX}/lib/VFlib)
diff --git a/japanese/vflib/distinfo b/japanese/vflib/distinfo
index a681f615d91b..684f60b3991e 100644
--- a/japanese/vflib/distinfo
+++ b/japanese/vflib/distinfo
@@ -1,4 +1,5 @@
MD5 (VFlib-2.22-PL8.tar.gz) = 432d19b2fd8ff0e33e8cf205fd891a6c
+MD5 (watanabe-vf.tar.Z) = 17a6a1ef6bfedac3d0b48f0365741e13
MD5 (VFlib-2.22-Patch9) = b579993d11c15902f9eb873b9c657cd3
MD5 (VFlib-2.22-Patch10) = 802dbace2abc7b6d37b32076a57b2e6f
-MD5 (watanabe-vf.tar.Z) = 17a6a1ef6bfedac3d0b48f0365741e13
+MD5 (VFlib-FT1.0-PL2.diff.gz) = afe38993075f257bac479e3d96bcfe86
diff --git a/japanese/vflib/files/patch-aa b/japanese/vflib/files/patch-aa
index 2047f9ad4f58..536d920c31ac 100644
--- a/japanese/vflib/files/patch-aa
+++ b/japanese/vflib/files/patch-aa
@@ -1,239 +1,204 @@
-*** src/Makefile.orig Wed Oct 1 16:14:24 1997
---- src/Makefile Wed Oct 1 16:23:58 1997
-***************
-*** 24,29 ****
---- 24,32 ----
- ### VFlib configurations
- #-------------------------
-
-+ # Installation prefix.
-+ PREFIX?= /usr/local
-+
- # Maximum of open files
- OPENFILES = -DMAX_OPEN_FONT_FILES=6
-
-***************
-*** 32,38 ****
- # SONY_FSLIB = -L/usr/sony/lib -lFSlib
-
- # VFontcap file
-! VFCAP = -DDEFAULT_VFCAP=\"/usr/local/TeX/lib/vfontcap\"
-
- # OS and Machine dependent compiling options
- # Define __MSDOS__ (e.g., CCOPT=-D__MSDOS__) if you compile VFlib on MS-DOS
---- 35,41 ----
- # SONY_FSLIB = -L/usr/sony/lib -lFSlib
-
- # VFontcap file
-! VFCAP = -DDEFAULT_VFCAP=\"${PREFIX}/lib/VFlib/vfontcap\"
-
- # OS and Machine dependent compiling options
- # Define __MSDOS__ (e.g., CCOPT=-D__MSDOS__) if you compile VFlib on MS-DOS
-***************
-*** 45,51 ****
- # Compilers, compiling options, etc.
- #-------------------------
- CC = cc
-! CFLAGS = $(CCOPT) $(DEBUGOPT) -O
-
- LDFLAGS = $(LDOPT)
- SYS_LIBS = -lm
---- 48,54 ----
- # Compilers, compiling options, etc.
- #-------------------------
- CC = cc
-! CFLAGS = $(CCOPT) $(DEBUGOPT) -O -m486
-
- LDFLAGS = $(LDOPT)
- SYS_LIBS = -lm
-***************
-*** 60,68 ****
- #-------------------------
- # Installation Directories
- #-------------------------
-! INSTALL_LIBDIR=/usr/local/lib
-! INSTALL_INCDIR=/usr/local/include
-! INSTALL_BINDIR=/usr/local/etc
-
-
-
---- 63,71 ----
- #-------------------------
- # Installation Directories
- #-------------------------
-! INSTALL_LIBDIR=${PREFIX}/lib
-! INSTALL_INCDIR=${PREFIX}/include
-! INSTALL_BINDIR=${PREFIX}/lib/VFlib
-
-
-
-***************
-*** 82,96 ****
- #endif
-
- default:
-! make libVFlib.a ttindex bdfindex fwindex
- all:
-! make libVFlib.a ttindex bdfindex fwindex
-
- install:
- -$(RM) -f $(INSTALL_LIBDIR)/VFlib.a $(INSTALL_LIBDIR)/libVFlib.a
- $(CP) VFlib.a $(INSTALL_LIBDIR)/VFlib.a
- -$(RANLIB) $(INSTALL_LIBDIR)/VFlib.a
- $(LN) $(INSTALL_LIBDIR)/VFlib.a $(INSTALL_LIBDIR)/libVFlib.a
- $(CP) VF.h $(INSTALL_INCDIR)/VF.h
- $(CP) ttindex $(INSTALL_BINDIR)/ttindex
- $(CP) bdfindex $(INSTALL_BINDIR)/bdfindex
---- 85,100 ----
- #endif
-
- default:
-! make libVFlib.a libVFlib.so.2.22 ttindex bdfindex fwindex
- all:
-! make libVFlib.a libVFlib.so.2.22 ttindex bdfindex fwindex
-
- install:
- -$(RM) -f $(INSTALL_LIBDIR)/VFlib.a $(INSTALL_LIBDIR)/libVFlib.a
- $(CP) VFlib.a $(INSTALL_LIBDIR)/VFlib.a
- -$(RANLIB) $(INSTALL_LIBDIR)/VFlib.a
- $(LN) $(INSTALL_LIBDIR)/VFlib.a $(INSTALL_LIBDIR)/libVFlib.a
-+ $(INSTALL) -c -m 644 libVFlib.so.2.22 $(INSTALL_LIBDIR)/libVFlib.so.2.22
- $(CP) VF.h $(INSTALL_INCDIR)/VF.h
- $(CP) ttindex $(INSTALL_BINDIR)/ttindex
- $(CP) bdfindex $(INSTALL_BINDIR)/bdfindex
-***************
-*** 98,112 ****
-
- clean:
- -$(RM) -rf VFlib.a libVFlib.a ttindex bdfindex fwindex bdfjpindex \
-! *.o core
- veryclean:
- -$(RM) -rf VFlib.a libVFlib.a ttindex bdfindex fwindex bdfjpindex\
-! *.o core *~ \#tz*
-
-
- # Font drivers
- DRV_OBJ= VF_Sony.o VF_Zeit.o VF_Jg.o VF_TT.o VF_Bdf.o VF_Hbf.o hbf.o \
- VF_Comp.o VF_BitOp.o VF_FNTWV.o VF_Comp2.o VF_Null.o
-
-
- # VFlib
---- 102,119 ----
-
- clean:
- -$(RM) -rf VFlib.a libVFlib.a ttindex bdfindex fwindex bdfjpindex \
-! *.o core *.so libVFlib.so.2.22
- veryclean:
- -$(RM) -rf VFlib.a libVFlib.a ttindex bdfindex fwindex bdfjpindex\
-! *.o core *~ \#tz* *.so libVFlib.so.2.22
-
-
- # Font drivers
- DRV_OBJ= VF_Sony.o VF_Zeit.o VF_Jg.o VF_TT.o VF_Bdf.o VF_Hbf.o hbf.o \
- VF_Comp.o VF_BitOp.o VF_FNTWV.o VF_Comp2.o VF_Null.o
-+
-+ DRV_SOBJ= VF_Sony.so VF_Zeit.so VF_Jg.so VF_TT.so VF_Bdf.so VF_Hbf.so hbf.so \
-+ VF_Comp.so VF_BitOp.so VF_FNTWV.so VF_Comp2.so VF_Null.so
-
-
- # VFlib
-***************
-*** 117,122 ****
---- 124,133 ----
- $(CP) libVFlib.a VFlib.a
- -$(RANLIB) VFlib.a
-
-+ libVFlib.so.2.22: VFlib.so VFenc.so VFEtable.so VFcap.so fn2ent.so fman.so $(DRV_SOBJ)
-+ $(LD) -x -Bshareable -o libVFlib.so.2.22 \
-+ VFlib.so VFenc.so VFEtable.so VFcap.so fn2ent.so fman.so $(DRV_SOBJ)
-+
- # VFlib
- VFlib.o: VFlib.c
- $(CC) $(CFLAGS) $(USEFSLIB) -c VFlib.c
-***************
-*** 170,175 ****
---- 181,264 ----
- # Null font driver
- VF_Null.o: VF_Null.c
- $(CC) $(CFLAGS) -c VF_Null.c
-+
-+ # VFlib
-+ VFlib.so: VFlib.c
-+ $(CC) -fpic -DPIC $(CFLAGS) $(USEFSLIB) -c VFlib.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+
-+ # font capability database
-+ VFcap.so: VFcap.c
-+ $(CC) -fpic -DPIC $(CFLAGS) $(VFCAP) -c VFcap.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+
-+ # handling of font encodings
-+ VFenc.so: VFenc.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -c VFenc.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+
-+ # font encoding and character set tables
-+ VFEtable.so: VFEtable.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -c VFEtable.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+
-+ # conv font name to font entry name
-+ fn2ent.so: fn2ent.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -c fn2ent.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+
-+ # dynamic file stream manager
-+ fman.so: fman.c
-+ $(CC) -fpic -DPIC $(CFLAGS) $(OPENFILES) -c fman.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+
-+ # Sony Font driver
-+ VF_Sony.so: VF_Sony.c
-+ $(CC) -fpic -DPIC $(CFLAGS) $(USEFSLIB) -c VF_Sony.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+ # Zeit Syotai-Club Font driver
-+ VF_Zeit.so: VF_Zeit.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -c VF_Zeit.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+ # Zeit JG Font driver
-+ VF_Jg.so: VF_Jg.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -c VF_Jg.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+ # TrueType Driver
-+ VF_TT.so: VF_TT.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -c VF_TT.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+ # BDF Driver
-+ VF_Bdf.so: VF_Bdf.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -c VF_Bdf.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+ # HBF Driver
-+ VF_Hbf.so: VF_Hbf.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -D$(FS) -c VF_Hbf.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+ hbf.so: hbf.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -D$(FS) -DNO_STRDUP -c hbf.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+ # Composite font driver
-+ VF_Comp.so: VF_Comp.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -c VF_Comp.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+ # Composite font driver
-+ VF_Comp2.so: VF_Comp2.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -c VF_Comp2.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+ # Bit-Operated font driver
-+ VF_BitOp.so: VF_BitOp.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -c VF_BitOp.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+ # Null font driver
-+ VF_Null.so: VF_Null.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -c VF_Null.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-+ # FontWave font driver
-+ VF_FNTWV.so: VF_FNTWV.c
-+ $(CC) -fpic -DPIC $(CFLAGS) -c VF_FNTWV.c -o $(.TARGET)
-+ $(LD) -O $(.TARGET) -x -r $(.TARGET)
-
- # Index generator for TrueType font
- ttindex: ttindex.c
+--- src/Makefile.orig Fri Mar 20 12:26:36 1998
++++ src/Makefile Fri Mar 20 13:52:16 1998
+@@ -24,6 +24,11 @@
+ ### VFlib configurations
+ #-------------------------
+
++# Default macros setting
++ PREFIX ?= /usr/local
++ FREETYPELIBDIR ?= ${PREFIX}/lib
++ FREETYPEINCDIR ?= ${PREFIX}/include
++
+ # Maximum of open files
+ OPENFILES = -DMAX_OPEN_FONT_FILES=6
+
+@@ -33,11 +38,11 @@
+
+ # FreeType
+ USEFTYPE = -DUSE_FREETYPE
+- FTYPELIB = -L../../freetype-1.0/lib -lttf
+- FTYPEINC = -I../../freetype-1.0/lib
++ FTYPELIB = -L${FREETYPELIBDIR} -lttf
++ FTYPEINC = -I${FREETYPEINCDIR}
+
+ # VFontcap file
+- VFCAP = -DDEFAULT_VFCAP=\"/usr/local/TeX/lib/vfontcap\"
++ VFCAP = -DDEFAULT_VFCAP=\"${PREFIX}/lib/VFlib/vfontcap\"
+
+ # OS and Machine dependent compiling options
+ # Define __MSDOS__ (e.g., CCOPT=-D__MSDOS__) if you compile VFlib on MS-DOS
+@@ -50,7 +55,7 @@
+ # Compilers, compiling options, etc.
+ #-------------------------
+ CC = cc
+- CFLAGS = $(CCOPT) $(DEBUGOPT) -O
++# CFLAGS = $(CCOPT) $(DEBUGOPT) -O -m486
+
+ LDFLAGS = $(LDOPT)
+ SYS_LIBS = -lm
+@@ -70,14 +75,14 @@
+ # ARC = ld -assert pure-text -o # SunOS4
+ # ARC = ld -Bshareable -o # FreeBSD
+ # RANLIB = echo
+-# LIBNAME = VFlib.so.2.22
++ LIBSNAME = VFlib.so.2.22
+
+ #-------------------------
+ # Installation Directories
+ #-------------------------
+-INSTALL_LIBDIR=/usr/local/lib
+-INSTALL_INCDIR=/usr/local/include
+-INSTALL_BINDIR=/usr/local/etc
++INSTALL_LIBDIR=${PREFIX}/lib
++INSTALL_INCDIR=${PREFIX}/include
++INSTALL_BINDIR=${PREFIX}/lib/VFlib
+
+
+
+@@ -96,9 +101,9 @@
+ FS=unix
+ #endif
+
+-default: lib$(LIBNAME) ttindex bdfindex fwindex
++default: lib$(LIBNAME) lib$(LIBSNAME) ttindex bdfindex fwindex
+
+-all: lib$(LIBNAME) ttindex bdfindex fwindex
++all: lib$(LIBNAME) lib$(LIBSNAME) ttindex bdfindex fwindex
+
+
+ install:
+@@ -106,6 +111,7 @@
+ $(CP) $(LIBNAME) $(INSTALL_LIBDIR)/$(LIBNAME)
+ -$(RANLIB) $(INSTALL_LIBDIR)/$(LIBNAME)
+ $(LN) $(INSTALL_LIBDIR)/$(LIBNAME) $(INSTALL_LIBDIR)/lib$(LIBNAME)
++ $(INSTALL) -c -m 644 lib$(LIBSNAME) $(INSTALL_LIBDIR)/lib$(LIBSNAME)
+ $(CP) VF.h $(INSTALL_INCDIR)/VF.h
+ $(CP) ttindex $(INSTALL_BINDIR)/ttindex
+ $(CP) bdfindex $(INSTALL_BINDIR)/bdfindex
+@@ -113,16 +119,19 @@
+
+ clean:
+ -$(RM) -rf $(LIBNAME) lib$(LIBNAME) ttindex bdfindex fwindex bdfjpindex \
+- *.o core
++ *.o core *.so lib$(LIBSNAME)
+ veryclean:
+ -$(RM) -rf $(LIBNAME) lib$(LIBNAME) ttindex bdfindex fwindex bdfjpindex\
+- *.o core *~ \#tz*
++ *.o core *~ \#tz* *.so lib$(LIBSNAME)
+
+
+ # Font drivers
+ DRV_OBJ= VF_Sony.o VF_Zeit.o VF_Jg.o VF_TT.o VF_Bdf.o VF_Hbf.o hbf.o \
+ VF_Comp.o VF_BitOp.o VF_FNTWV.o VF_Comp2.o VF_Null.o VF_FType.o
+
++DRV_SOBJ= VF_Sony.so VF_Zeit.so VF_Jg.so VF_TT.so VF_Bdf.so VF_Hbf.so hbf.so \
++ VF_Comp.so VF_BitOp.so VF_FNTWV.so VF_Comp2.so VF_Null.so VF_FType.so
++
+
+ # VFlib
+ lib$(LIBNAME): VFlib.o VFenc.o VFEtable.o VFcap.o fn2ent.o fman.o $(DRV_OBJ)
+@@ -132,6 +141,11 @@
+ $(CP) lib$(LIBNAME) $(LIBNAME)
+ -$(RANLIB) $(LIBNAME)
+
++lib$(LIBSNAME): VFlib.so VFenc.so VFEtable.so VFcap.so fn2ent.so fman.so $(DRV_SOBJ)
++ $(LD) -x -Bshareable -o lib$(LIBSNAME) \
++ VFlib.so VFenc.so VFEtable.so VFcap.so fn2ent.so fman.so $(DRV_SOBJ) \
++ $(FTYPELIB)
++
+ # VFlib
+ VFlib.o: VFlib.c
+ $(CC) $(CFLAGS) $(USEFSLIB) $(USEFTYPE) -c VFlib.c
+@@ -185,9 +199,92 @@
+ # Null font driver
+ VF_Null.o: VF_Null.c
+ $(CC) $(CFLAGS) -c VF_Null.c
++
++# VFlib
++VFlib.so: VFlib.c
++ $(CC) -fpic -DPIC $(CFLAGS) $(USEFSLIB) $(USEFTYPE) -c VFlib.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++
++# font capability database
++VFcap.so: VFcap.c
++ $(CC) -fpic -DPIC $(CFLAGS) $(VFCAP) -c VFcap.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++
++# handling of font encodings
++VFenc.so: VFenc.c
++ $(CC) -fpic -DPIC $(CFLAGS) -c VFenc.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++
++# font encoding and character set tables
++VFEtable.so: VFEtable.c
++ $(CC) -fpic -DPIC $(CFLAGS) -c VFEtable.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++
++# conv font name to font entry name
++fn2ent.so: fn2ent.c
++ $(CC) -fpic -DPIC $(CFLAGS) -c fn2ent.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++
++# dynamic file stream manager
++fman.so: fman.c
++ $(CC) -fpic -DPIC $(CFLAGS) $(OPENFILES) -c fman.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++
++# Sony Font driver
++VF_Sony.so: VF_Sony.c
++ $(CC) -fpic -DPIC $(CFLAGS) $(USEFSLIB) -c VF_Sony.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++# Zeit Syotai-Club Font driver
++VF_Zeit.so: VF_Zeit.c
++ $(CC) -fpic -DPIC $(CFLAGS) -c VF_Zeit.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++# Zeit JG Font driver
++VF_Jg.so: VF_Jg.c
++ $(CC) -fpic -DPIC $(CFLAGS) -c VF_Jg.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++# TrueType Driver
++VF_TT.so: VF_TT.c
++ $(CC) -fpic -DPIC $(CFLAGS) -c VF_TT.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++# BDF Driver
++VF_Bdf.so: VF_Bdf.c
++ $(CC) -fpic -DPIC $(CFLAGS) -c VF_Bdf.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++# HBF Driver
++VF_Hbf.so: VF_Hbf.c
++ $(CC) -fpic -DPIC $(CFLAGS) -D$(FS) -c VF_Hbf.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++hbf.so: hbf.c
++ $(CC) -fpic -DPIC $(CFLAGS) -D$(FS) -DNO_STRDUP -c hbf.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++# Composite font driver
++VF_Comp.so: VF_Comp.c
++ $(CC) -fpic -DPIC $(CFLAGS) -c VF_Comp.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++# Composite font driver
++VF_Comp2.so: VF_Comp2.c
++ $(CC) -fpic -DPIC $(CFLAGS) -c VF_Comp2.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++# Bit-Operated font driver
++VF_BitOp.so: VF_BitOp.c
++ $(CC) -fpic -DPIC $(CFLAGS) -c VF_BitOp.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++# Null font driver
++VF_Null.so: VF_Null.c
++ $(CC) -fpic -DPIC $(CFLAGS) -c VF_Null.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++# FontWave font driver
++VF_FNTWV.so: VF_FNTWV.c
++ $(CC) -fpic -DPIC $(CFLAGS) -c VF_FNTWV.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++
+ # FreeType driver
+ VF_FType.o: VF_FType.c
+ $(CC) $(CFLAGS) $(FTYPEINC) $(USEFTYPE) -c VF_FType.c
++VF_FType.so: VF_FType.c
++ $(CC) -fpic -DPIC $(CFLAGS) $(FTYPEINC) $(USEFTYPE) -c VF_FType.c -o $(.TARGET)
++ $(LD) -O $(.TARGET) -x -r $(.TARGET)
++
+
+ # Index generator for TrueType font
+ ttindex: ttindex.c
diff --git a/japanese/vflib/pkg-descr b/japanese/vflib/pkg-descr
index a694b70ec222..60a4a5138cc2 100644
--- a/japanese/vflib/pkg-descr
+++ b/japanese/vflib/pkg-descr
@@ -7,3 +7,17 @@ and modify /usr/local/lib/VFlib/vfontcap file.
See /usr/local/lib/VFlib/doc/man.ps or
http://www.se.hiroshima-u.ac.jp/~kakugawa/Hacks/VFlibMan/Index.html for
more details (in Japanese)
+
+Note this port supports FreeType library from 16/Mar/98. Freetype makes
+use of Hinting information in TrueType (i.e.clearer output is possible).
+To use Freetype, simply modify /usr/local/lib/VFlib/vfontcap file:
+
+# Before... you may find a entry like:
+r-ricoh-ttw-hg-mincho-l-pro|Ricoh TrueTypeWorld HG Mincho L PRO:\
+ :ft=truetype:\
+ :ff=/usr/local/lib/dp/font/truetype/hgrmlpsj:
+# After... then modify as follows:
+r-ricoh-ttw-hg-mincho-l-pro|Ricoh TrueTypeWorld HG Mincho L PRO:\
+ :ft=freetype:\
+ :ff=/usr/local/lib/dp/font/truetype/hgrmlpsj.ttf:
+-> Important point: change 1:truetype -> freetype, 2:add .ttf or .ttc