pkgsrc/graphics/freetype2/options.mk
adam 736fe36d04 Changes 2.6.4:
FreeType 2.6.4 has been released. The most important change is a new bytecode hinting mode for TrueType fonts that finally activates subpixel hinting (a.k.a. ClearType hinting) by default.

The new release also brings support for the following new scripts in the auto-hinter: Armenian, Cherokee, Ethiopic, Georgian, Gujarati, Gurmukhi, Malayalam, Sinhala, and Tamil.
2016-07-09 12:23:16 +00:00

18 lines
452 B
Makefile

# $NetBSD: options.mk,v 1.3 2016/07/09 12:23:16 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.freetype2
PKG_SUPPORTED_OPTIONS= png subpixel
.include "../../mk/bsd.options.mk"
# subpixel (lcd) rendering, patent issues
.if !empty(PKG_OPTIONS:Msubpixel)
CFLAGS+= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING
.endif
.if !empty(PKG_OPTIONS:Mpng)
CONFIGURE_ARGS+= --with-png=yes
.include "../../graphics/png/buildlink3.mk"
.else
CONFIGURE_ARGS+= --with-png=no
.endif