aboutsummaryrefslogtreecommitdiff
path: root/chinese/vflib
diff options
context:
space:
mode:
authorJing-Tang Keith Jang <keith@FreeBSD.org>2000-12-11 09:47:26 +0000
committerJing-Tang Keith Jang <keith@FreeBSD.org>2000-12-11 09:47:26 +0000
commit13642df867a23bf286cd409223ca8fd6c30df766 (patch)
treef8a0659a07d46b8424847f65382d2e8529de90a4 /chinese/vflib
parent21e0fd782620bb358a2d60074ef15617e9b11454 (diff)
downloadports-13642df867a23bf286cd409223ca8fd6c30df766.tar.gz
ports-13642df867a23bf286cd409223ca8fd6c30df766.zip
Notes
Diffstat (limited to 'chinese/vflib')
-rw-r--r--chinese/vflib/Makefile51
-rw-r--r--chinese/vflib/distinfo3
-rw-r--r--chinese/vflib/files/patch-aa15
-rw-r--r--chinese/vflib/pkg-comment1
-rw-r--r--chinese/vflib/pkg-descr10
-rw-r--r--chinese/vflib/pkg-plist29
6 files changed, 109 insertions, 0 deletions
diff --git a/chinese/vflib/Makefile b/chinese/vflib/Makefile
new file mode 100644
index 000000000000..cbd7b7ebf0f2
--- /dev/null
+++ b/chinese/vflib/Makefile
@@ -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>
diff --git a/chinese/vflib/distinfo b/chinese/vflib/distinfo
new file mode 100644
index 000000000000..d0992a1018cd
--- /dev/null
+++ b/chinese/vflib/distinfo
@@ -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
diff --git a/chinese/vflib/files/patch-aa b/chinese/vflib/files/patch-aa
new file mode 100644
index 000000000000..5581087dc527
--- /dev/null
+++ b/chinese/vflib/files/patch-aa
@@ -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
+
diff --git a/chinese/vflib/pkg-comment b/chinese/vflib/pkg-comment
new file mode 100644
index 000000000000..35f9639927ba
--- /dev/null
+++ b/chinese/vflib/pkg-comment
@@ -0,0 +1 @@
+Vector font library with free vector font, BIG5 and GB supported
diff --git a/chinese/vflib/pkg-descr b/chinese/vflib/pkg-descr
new file mode 100644
index 000000000000..60e16fb0da90
--- /dev/null
+++ b/chinese/vflib/pkg-descr
@@ -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.
diff --git a/chinese/vflib/pkg-plist b/chinese/vflib/pkg-plist
new file mode 100644
index 000000000000..d742a64ddada
--- /dev/null
+++ b/chinese/vflib/pkg-plist
@@ -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