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
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
17 include ..
/..
/..
/make-rules
/shared-macros.mk
18 include $(WS_MAKE_RULES
)/x11.mk
20 COMPONENT_NAME
= libXfont
21 COMPONENT_VERSION
= 1.5.4
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
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