Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.5 2017/05/31 08:08:16 espie Exp $
  2. COMMENT= automated hinting process based on FreeType's autohinter #'
  3. V = 1.6
  4. REVISION = 0
  5. DISTNAME = ttfautohint-${V}
  6. CATEGORIES = graphics
  7. MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
  8. HOMEPAGE = http://www.freetype.org/ttfautohint/#download
  9. # FreeType License or GPLv2
  10. PERMIT_PACKAGE_CDROM = Yes
  11. MASTER_SITES = http://download.savannah.gnu.org/releases/freetype/
  12. MODULES = devel/gettext
  13. COMPILER = gcc
  14. WANTLIB += c freetype glib-2.0 graphite2 harfbuzz m pcre pthread
  15. WANTLIB += z ${LIBECXX}
  16. LIB_DEPENDS = devel/harfbuzz
  17. CONFIGURE_STYLE = gnu
  18. CONFIGURE_ARGS += --without-doc \
  19. --without-qt
  20. # gnulib problem: autoconf tests run with -std=gnu99, which hides the
  21. # max_align_t definition (like it should), but then some of the code gets
  22. # compiled with -std=gnu++11, which exposes the definition.
  23. #
  24. # https://lists.gnu.org/archive/html/bug-gnulib/2016-04/msg00003.html
  25. CONFIGURE_ENV = ac_cv_type_max_align_t=yes
  26. .include <bsd.port.mk>