pkgsrc/graphics/libotf/buildlink3.mk
obache fc7c683ede 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.
2008-02-26 11:47:35 +00:00

21 lines
620 B
Makefile

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