pkgsrc/graphics/freetype2/Makefile
adam d451dbaf63 Changes 2.1.10:
I. IMPORTANT BUG FIXES
    - The size comparison for BDF and PCF files could fail sometimes.
    - Some  CFF files  were still not  loaded  correctly.   Patch from
      Derek Noonburg.
    - The stroker still had some serious bugs.
    - FreeType didn't properly parse empty Type 1 glyphs.
    - An unbound dynamic buffer growth was fixed in the PFR loader.
    - Several bugs have been fixed in the cache sub-system.
    - The auto-hinter didn't work properly for fonts without a Unicode
      charmap -- it even refused to load the glyphs.
  II. IMPORTANT CHANGES
    - Many fixes have been applied to drastically reduce the amount of
      heap   memory   used   by   FreeType,   especially   when  using
      memory-mapped font files  (which is the default on Unix  systems
      which support them).
    - The auto-hinter  has been replaced with a new module, called the
      `auto-fitter'.  It consumes  less memory  than its  predecessor,
      and it is  prepared to support non-latin scripts  better in next
      releases.
    - George Williams  contributed code to read  kerning data from PFM
      files.
  III. MISCELLANEOUS
    - The BDF driver  no longer converts  all returned bitmaps  with a
      depth of 2bpp or 4bpp to a depth of 8bpp.
    - A new option `--ftversion' has been  added to freetype-config to
      return the FreeType version.
    - The  memory  debugger  has  been  updated   to  dump  allocation
      statistics on  all allocation  sources in the library.
2005-06-30 13:01:28 +00:00

67 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.44 2005/06/30 13:01:28 adam Exp $
DISTNAME= freetype-2.1.10
PKGNAME= freetype2-2.1.10
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freetype/} \
ftp://ftp.freetype.org/freetype/freetype2/ \
ftp://ftp.ntua.gr/mirror/freetype/freetype2/ \
ftp://ring.aist.go.jp/pub/graphics/freetype/freetype2/ \
ftp://sunsite.cnlab-switch.ch/mirror/freetype/freetype2/ \
http://gd.tuwien.ac.at/publishing/freetype/freetype2/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.freetype.org/
COMMENT= Font rendering engine and library API
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
USE_TOOLS+= grep gmake
GNU_CONFIGURE= yes
CONFIGURE_DIRS= ${WRKSRC}/builds/unix
CONFIGURE_ARGS+= --includedir=${PREFIX}/include
CONFIGURE_ENV+= ac_cv_path_GREP="${GREP}" ac_cv_path_EGREP="${EGREP}"
PKGCONFIG_OVERRIDE= builds/unix/freetype2.in
.include "../../mk/bsd.prefs.mk"
.include "../../mk/compiler.mk"
PKG_OPTIONS_VAR+= PKG_OPTIONS.freetype2
PKG_SUPPORTED_OPTIONS= truetype
PKG_OPTIONS_LEGACY_VARS+= MKTTINTERP:truetype
.include "../../mk/bsd.options.mk"
###
### This builds freetype2 with the TrueType bytecode interpreter. Note
### that there are important patent issues related to the use of the
### interpreter:
###
### http://www.freetype.org/patents.html
###
.if !empty(PKG_OPTIONS:Mtruetype)
CFLAGS+= -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER
.endif
# reduce optimization level on alpha to avoid compiler bugs
.if !empty(MACHINE_PLATFORM:MNetBSD-*-alpha)
CPPFLAGS:= ${CPPFLAGS:C/-O[0-9]*/-O/g}
CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O/g}
.endif
# source code breaks strict aliasing in gcc>=2.95
.if !empty(CC_VERSION:Mgcc-[3-9]*) || !empty(CC_VERSION:Mgcc-2.95*)
CFLAGS+= -fno-strict-aliasing
.endif
post-configure:
cd ${WRKSRC} && ${LN} -s builds/unix/unix.mk config.mk
.if ${OPSYS} == "IRIX"
${MKDIR} ${WRKSRC}/.libs
.endif
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"