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.
This commit is contained in:
obache 2008-02-26 11:47:35 +00:00
parent d99c33f0a8
commit fc7c683ede
6 changed files with 81 additions and 0 deletions

10
graphics/libotf/DESCR Normal file
View file

@ -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.

23
graphics/libotf/Makefile Normal file
View file

@ -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"

9
graphics/libotf/PLIST Normal file
View file

@ -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

View file

@ -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/+$//}

5
graphics/libotf/distinfo Normal file
View file

@ -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

View file

@ -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