diff options
author | obache <obache@pkgsrc.org> | 2008-02-26 11:47:35 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-02-26 11:47:35 +0000 |
commit | fc7c683ede6c91199617c3737555cc9c69a080b2 (patch) | |
tree | c6ae9d6d2efef26b4cba771626010239e6750c74 /graphics | |
parent | d99c33f0a8a6ccd81d0c8a86ad025862cae99f5b (diff) | |
download | pkgsrc-fc7c683ede6c91199617c3737555cc9c69a080b2.tar.gz |
Import libotf version 0.9.7.
The library "libotf" provides the following facilites.
o Read Open Type Layout Tables from OTF file. Currently these
tables are supported; head, name, cmap, GDEF, GSUB, and GPOS.
o Convert a Unicode character sequence to a glyph code sequence by
using the above tables.
The combination of libotf and the FreeType library (Ver.2) realizes
CTL (complex text layout) by OpenType fonts.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libotf/DESCR | 10 | ||||
-rw-r--r-- | graphics/libotf/Makefile | 23 | ||||
-rw-r--r-- | graphics/libotf/PLIST | 9 | ||||
-rw-r--r-- | graphics/libotf/buildlink3.mk | 21 | ||||
-rw-r--r-- | graphics/libotf/distinfo | 5 | ||||
-rw-r--r-- | graphics/libotf/options.mk | 13 |
6 files changed, 81 insertions, 0 deletions
diff --git a/graphics/libotf/DESCR b/graphics/libotf/DESCR new file mode 100644 index 00000000000..1f91c52f56b --- /dev/null +++ b/graphics/libotf/DESCR @@ -0,0 +1,10 @@ +The library "libotf" provides the following facilites. + + o Read Open Type Layout Tables from OTF file. Currently these + tables are supported; head, name, cmap, GDEF, GSUB, and GPOS. + + o Convert a Unicode character sequence to a glyph code sequence by + using the above tables. + +The combination of libotf and the FreeType library (Ver.2) realizes +CTL (complex text layout) by OpenType fonts. diff --git a/graphics/libotf/Makefile b/graphics/libotf/Makefile new file mode 100644 index 00000000000..be334c6e2ff --- /dev/null +++ b/graphics/libotf/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/02/26 11:47:35 obache Exp $ +# + +DISTNAME= libotf-0.9.7 +CATEGORIES= graphics +MASTER_SITES= http://www.m17n.org/libotf/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://www.m17n.org/libotf/ +COMMENT= Library for handling OpenType fonts (OTF) + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config + +PKGCONFIG_OVERRIDE+= libotf.pc.in + +.include "options.mk" + +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/libotf/PLIST b/graphics/libotf/PLIST new file mode 100644 index 00000000000..8ff7ad72680 --- /dev/null +++ b/graphics/libotf/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/26 11:47:35 obache Exp $ +bin/libotf-config +bin/otfdump +bin/otflist +bin/otftobdf +bin/otfview +include/otf.h +lib/libotf.la +lib/pkgconfig/libotf.pc diff --git a/graphics/libotf/buildlink3.mk b/graphics/libotf/buildlink3.mk new file mode 100644 index 00000000000..2b0c8abc37d --- /dev/null +++ b/graphics/libotf/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/26 11:47:35 obache Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBOTF_BUILDLINK3_MK:= ${LIBOTF_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= libotf +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibotf} +BUILDLINK_PACKAGES+= libotf +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libotf + +.if ${LIBOTF_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.libotf+= libotf>=0.9.7 +BUILDLINK_PKGSRCDIR.libotf?= ../../graphics/libotf +.endif # LIBOTF_BUILDLINK3_MK + +.include "../../graphics/freetype2/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/graphics/libotf/distinfo b/graphics/libotf/distinfo new file mode 100644 index 00000000000..788852de02d --- /dev/null +++ b/graphics/libotf/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/02/26 11:47:35 obache Exp $ + +SHA1 (libotf-0.9.7.tar.gz) = 7fdb615a5571d05ad45fb0392a8f1fe700a7aeca +RMD160 (libotf-0.9.7.tar.gz) = f84aec315645b445808b45b29630e18b25edd097 +Size (libotf-0.9.7.tar.gz) = 382250 bytes diff --git a/graphics/libotf/options.mk b/graphics/libotf/options.mk new file mode 100644 index 00000000000..5018a52425a --- /dev/null +++ b/graphics/libotf/options.mk @@ -0,0 +1,13 @@ +# $NetBSD: options.mk,v 1.1.1.1 2008/02/26 11:47:35 obache Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.libotf +PKG_SUPPORTED_OPTIONS= x11 +PKG_SUGGESTED_OPTIONS= x11 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mx11) +.include "../../mk/xaw.buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-x +.endif |