fmt: update to 11.1.2
[oi-userland.git] / components / x11 / libXfont / Makefile
bloba75c2f2e0507f86c966554f3172cc46f9001132c
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
16 X11_CATEGORY=LIB
17 include ../../../make-rules/shared-macros.mk
18 include $(WS_MAKE_RULES)/x11.mk
20 COMPONENT_NAME= libXfont
21 COMPONENT_VERSION= 1.5.4
22 COMPONENT_REVISION= 2
23 COMPONENT_FMRI= x11/library/libxfont
24 COMPONENT_SUMMARY= libXfont - library for X servers and utilities to access font files
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:1a7f7490774c87f2052d146d1e0e64518d32e6848184a18654e8d0bb57883242
27 COMPONENT_LICENSE_FILE = COPYING
29 include $(WS_MAKE_RULES)/common.mk
31 COMPONENT_PREP_ACTION = (cd $(@D) && PATH="$(PATH)" autoreconf -f -i)
33 LD_OPTIONS += -M $(COMPONENT_DIR)/mapfile-vers
35 CONFIGURE_LIBDIR.32 = /usr/lib/xorg
36 CONFIGURE_LIBDIR.64 = /usr/lib/xorg/$(MACH64)
38 CONFIGURE_OPTIONS += --enable-freetype
39 CONFIGURE_OPTIONS += --enable-fc
40 CONFIGURE_OPTIONS += --enable-builtins
41 CONFIGURE_OPTIONS += --with-bzip2
42 CONFIGURE_OPTIONS += --disable-static
43 CONFIGURE_OPTIONS += --with-pkgconfigdir=$(PKG_CONFIG_PATH.$(BITS))
44 CONFIGURE_OPTIONS += LIB_MAN_SUFFIX=3xfont
46 # Build dependencies
47 REQUIRED_PACKAGES += x11/library/xtrans
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES += compress/bzip2
51 REQUIRED_PACKAGES += library/zlib
52 REQUIRED_PACKAGES += system/library
53 REQUIRED_PACKAGES += system/library/freetype-2
54 REQUIRED_PACKAGES += system/library/math
55 REQUIRED_PACKAGES += x11/library/libfontenc