summaryrefslogtreecommitdiff
path: root/graphics/libotf/options.mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-02-26 11:47:35 +0000
committerobache <obache@pkgsrc.org>2008-02-26 11:47:35 +0000
commitfc7c683ede6c91199617c3737555cc9c69a080b2 (patch)
treec6ae9d6d2efef26b4cba771626010239e6750c74 /graphics/libotf/options.mk
parentd99c33f0a8a6ccd81d0c8a86ad025862cae99f5b (diff)
downloadpkgsrc-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/libotf/options.mk')
-rw-r--r--graphics/libotf/options.mk13
1 files changed, 13 insertions, 0 deletions
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