1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

New port: vflib

VFlib is a vector font library, which can use TrueType,
Zeit, JG, and BDF fonts.  This version supports both
BIG5/GB encoded fonts.

The original patch was made by Chinese Turbo Linux, and
Chih-Wei Huang <cwhuang@linux.org.tw> added the BIG5 Eten
extension.
This commit is contained in:
Jing-Tang Keith Jang 2000-12-11 09:47:26 +00:00
parent 21e0fd7826
commit 13642df867
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35889
7 changed files with 110 additions and 0 deletions

View File

@ -58,6 +58,7 @@
SUBDIR += tocps
SUBDIR += ttfm
SUBDIR += ve
SUBDIR += vflib
SUBDIR += wangttf
SUBDIR += xa+cv
SUBDIR += xcin

51
chinese/vflib/Makefile Normal file
View File

@ -0,0 +1,51 @@
# New ports collection makefile for: BIG5/GB-ized VFlib
# Date created: 11 Dec 2000
# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= vflib
PORTVERSION= ${VFLIB_VERSION}
CATEGORIES= chinese print
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/VFlib2/ \
ftp://gull.se.hiroshima-u.ac.jp/pub/TypeHack/
DISTNAME= VFlib2-${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} zh-vfontcap.in
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
PATCH_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/VFlib2/
PATCHFILES= VFlib2-2.25.1-Chinese.patch.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= keith@FreeBSD.org
BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake-4
VFLIB_VERSION= 2.25.1
PLIST_SUB= VFLIB_VERSION=${VFLIB_VERSION}
GNU_CONFIGURE= yes
USE_FREETYPE= yes
USE_XLIB= yes
USE_AUTOCONF= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-freetype \
--with-freetype-includedir=${PREFIX}/include \
--with-freetype-libdir=${PREFIX}/lib
pre-patch:
@${SED} -e "s;%%LOCALBASE%%;${LOCALBASE};g" -e "s;%%X11BASE%%;${X11BASE};g" ${DISTDIR}/zh-vfontcap.in > ${WRKSRC}/vfontcap
pre-install:
@(cd ${WRKSRC}/tools; \
${INSTALL_SCRIPT} fmtest disol kban vfperf vftest ${PREFIX}/bin)
@(cd ${WRKSRC}; \
${MKDIR} ${PREFIX}/share/VFlib/${VFLIB_VERSION} ;\
${CP} COPYING COPYING.LIB README.txt.JP_EUC \
${PREFIX}/share/VFlib/${VFLIB_VERSION})
post-install:
${MV} ${PREFIX}/share/VFlib/${VFLIB_VERSION}/VF.h ${PREFIX}/include
.include <bsd.port.mk>

3
chinese/vflib/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (VFlib2-2.25.1.tar.gz) = 533bd3b39e1e2b883b5a6b5c14443c93
MD5 (zh-vfontcap.in) = 4738e8c2cb06f46f9c0d03b8babcc77d
MD5 (VFlib2-2.25.1-Chinese.patch.gz) = 879611ba64426835b6f2026adf263235

View File

@ -0,0 +1,15 @@
--- tools/Imakefile.in.orig Tue Oct 27 17:02:45 1998
+++ tools/Imakefile.in Wed Dec 16 23:41:05 1998
@@ -19,7 +19,11 @@
* copies.
*/
- LIBTOOL = ../libtool
+ PREFIX ?= /usr/local
+ FREETYPELIBDIR ?= ${PREFIX}/lib
+ FREETYPEINCDIR ?= ${PREFIX}/include
+
+ LIBTOOL = ../libtool
VFLIB_INCDIR = ../src
VFLIB_LIBDIR = ../src

View File

@ -0,0 +1 @@
Vector font library with free vector font, BIG5 and GB supported

10
chinese/vflib/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
VFlib is a vector font library. TrueType, Zeit, JG, BDF fonts
are supported. It also supports FreeType library, which uses
hinting information in TrueType, so clearer output is possible.
See /usr/local/lib/VFlib/doc/man.ps (in Japanese) or the following
URL for more details.
http://TypeHack.aial.hiroshima-u.ac.jp/VFlib/
This port can use Chinese BIG5 and GB encoded fonts.

29
chinese/vflib/pkg-plist Normal file
View File

@ -0,0 +1,29 @@
bin/VFlib2-config
bin/bdfindex
bin/disol
bin/fmtest
bin/fwindex
bin/kban
bin/ktest
bin/ttindex
bin/vfperf
bin/vftest
include/VF.h
lib/libVFlib2.so.24.1
@exec /bin/ln -fs %D/%F %D/lib/libVFlib2.so
@unexec /bin/rm -f %D/lib/libVFlib2.so
lib/libVFlib2.la
share/VFlib/%%VFLIB_VERSION%%/README.txt.JP_EUC
share/VFlib/%%VFLIB_VERSION%%/COPYING.LIB
share/VFlib/%%VFLIB_VERSION%%/COPYING
share/VFlib/%%VFLIB_VERSION%%/vfontcap.mgp
share/VFlib/%%VFLIB_VERSION%%/vfontcap.comp2
share/VFlib/%%VFLIB_VERSION%%/vfontcap.bdf
share/VFlib/%%VFLIB_VERSION%%/vfontcap.ORG
share/VFlib/%%VFLIB_VERSION%%/vfontcap
share/VFlib/%%VFLIB_VERSION%%/QA.txt
share/VFlib/%%VFLIB_VERSION%%/QA-english.tex
share/VFlib/%%VFLIB_VERSION%%/man.ps
share/VFlib/%%VFLIB_VERSION%%/man.dvi
@dirrm share/VFlib/%%VFLIB_VERSION%%
@dirrm share/VFlib