1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Free and portable TrueType font rendering engine
8 HOMEPAGE= https://www.freetype.org/
12 SITES[main]= http://savannah.nongnu.org/download/freetype/
13 DISTFILE[1]= freetype-2.13.2.tar.xz:main
15 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= LCD_FILTERING PNG TAB_VALIDATION TT_SZ_METRICS V38
22 OPTIONS_STANDARD= LCD_FILTERING PNG TAB_VALIDATION TT_SZ_METRICS V38
24 OPTGROUP_UNLIMITED= SUBPIX_HINT
25 OPTDESCR[SUBPIX_HINT]= Subpixel hinting support
26 OPTGROUP[SUBPIX_HINT]= V38 V40
27 OPT_ON[all]= LCD_FILTERING V40
29 EXRUN[dev]= zlib:dev:standard
32 USES= cpe gmake libtool zlib pkgconfig bz2
34 LICENSE= GPLv2+:primary CUSTOM1:primary
35 LICENSE_TERMS= primary:{{WRKSRC}}/LICENSE.TXT
36 LICENSE_NAME= CUSTOM1:"The FreeType Project license"
37 LICENSE_FILE= GPLv2+:{{WRKSRC}}/docs/GPLv2.TXT
38 CUSTOM1:{{WRKSRC}}/docs/FTL.TXT
43 FPC_EQUIVALENT= print/freetype2
46 CONFIGURE_WRKSRC= {{WRKSRC}}/builds/unix
47 CONFIGURE_ARGS= --without-harfbuzz
53 [V40].DESCRIPTION= v40 mode (minimal, fast, AKA ClearType hinting)
54 [V40].MAKEFILE_ON= SUBPIXEL_HINTING_MODE+=2
56 [LCD_FILTERING].DESCRIPTION= Sub-pixel rendering (patented)
57 [LCD_FILTERING].CFLAGS_ON= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING
59 [TT_SZ_METRICS].DESCRIPTION= TrueType-like size metrics for V40 auto-hinting
61 [PNG].DESCRIPTION= PNG compressed OpenType embedded bitmaps support
62 [PNG].CONFIGURE_WITH_BOTH= png
65 [V38].DESCRIPTION= v38 mode (Infinality code)
66 [V38].MAKEFILE_ON= SUBPIXEL_HINTING_MODE+=1
68 [TAB_VALIDATION].DESCRIPTION= TrueType GX/AAT and OpenType table validation
71 .if defined(SUBPIXEL_HINTING_MODE)
72 ${REINPLACE_CMD} -i'.hinting.bak1' \
73 -e 's|^\(#define TT_CONFIG_OPTION_SUBPIXEL_HINTING\).*|\1 \
74 ${SELECTED_MODE:sh}|' \
75 ${WRKSRC}/include/freetype/config/ftoption.h
77 ${REINPLACE_CMD} -i'.hinting.bak2' \
78 -e 's|^\(#define TT_CONFIG_OPTION_SUBPIXEL_HINTING.*\)|/* \1 */|' \
79 ${WRKSRC}/include/freetype/config/ftoption.h
82 post-patch-TT_SZ_METRICS-ON:
83 ${REINPLACE_CMD} -i'.metrics.bak' \
84 -e 's|.*\(#define AF_CONFIG_OPTION_TT_SIZE_METRICS\).*|\1|' \
85 ${WRKSRC}/include/freetype/config/ftoption.h
87 post-patch-TAB_VALIDATION-ON:
88 ${REINPLACE_CMD} -e '/valid$$/s|#.*\(AUX_MODULES\)|\1|' \
92 ${INSTALL_SCRIPT} ${WRKSRC}/builds/unix/freetype-config \
93 ${STAGEDIR}${PREFIX}/bin/
94 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfreetype.${LIBEXT}
95 (cd ${WRKSRC}/docs && \
96 ${COPYTREE_SHARE} "reference CHANGES formats.txt LICENSE.TXT raster.txt" ${STAGEDIR}${STD_DOCDIR})
99 ${REINPLACE_CMD} -i'.debug.bak' \
100 -e 's|.*\(#define FT_DEBUG_LEVEL_TRACE\).*|\1|' \
101 -e 's|.*\(#define FT_DEBUG_MEMORY\).*|\1|' \
102 ${WRKSRC}/include/freetype/config/ftoption.h
105 (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
106 ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} setup)
109 ${REINPLACE_CMD} -e '/_XOPEN_SOURCE/d; /_POSIX_C_SOURCE/d' \
110 ${WRKSRC}/src/dlg/dlg*.c
112 [FILE:255:descriptions/desc.primary]
113 FreeType is a freely available software library to render fonts.
115 It is written in C, designed to be small, efficient, highly customizable,
116 and portable while capable of producing high-quality output (glyph images)
117 of most vector and bitmap font formats.
121 12991c4e55c506dd7f9b765933e62fd2be2e06d421505d7950a132e4f1bb484d 2501764 freetype-2.13.2.tar.xz
124 [FILE:63:manifests/plist.primary]
126 libfreetype.so.%%SOMAJOR%%
127 libfreetype.so.%%SOVERSION%%
130 [FILE:823:manifests/plist.dev]
132 include/freetype2/ft2build.h
133 include/freetype2/freetype/
180 include/freetype2/freetype/config/
192 lib/pkgconfig/freetype2.pc
193 share/aclocal/freetype2.m4
196 [FILE:2725:manifests/plist.docs]
201 share/doc/freetype/reference/
206 ft2-bitmap_handling.html
208 ft2-cache_subsystem.html
210 ft2-character_mapping.html
212 ft2-color_management.html
213 ft2-computations.html
214 ft2-debugging_apis.html
215 ft2-error_code_values.html
216 ft2-error_enumerations.html
217 ft2-face_creation.html
218 ft2-font_formats.html
219 ft2-font_testing_macros.html
221 ft2-glyph_management.html
222 ft2-glyph_retrieval.html
223 ft2-glyph_stroker.html
224 ft2-glyph_variants.html
225 ft2-gx_validation.html
227 ft2-header_file_macros.html
228 ft2-header_inclusion.html
231 ft2-information_retrieval.html
232 ft2-layer_management.html
233 ft2-lcd_rendering.html
234 ft2-library_setup.html
235 ft2-list_processing.html
237 ft2-mac_specific.html
238 ft2-module_management.html
239 ft2-multiple_masters.html
240 ft2-ot_svg_driver.html
241 ft2-ot_validation.html
242 ft2-other_api_data.html
243 ft2-outline_processing.html
244 ft2-parameter_tags.html
249 ft2-quick_advance.html
252 ft2-sizes_management.html
253 ft2-sizing_and_scaling.html
255 ft2-system_interface.html
256 ft2-t1_cid_driver.html
257 ft2-truetype_engine.html
258 ft2-truetype_tables.html
260 ft2-type1_tables.html
261 ft2-user_allocation.html
262 ft2-winfnt_fonts.html
266 share/doc/freetype/reference/assets/images/favicon.png
267 share/doc/freetype/reference/assets/javascripts/
268 bundle.82b56eb2.min.js
269 bundle.82b56eb2.min.js.map
270 share/doc/freetype/reference/assets/javascripts/lunr/
273 share/doc/freetype/reference/assets/javascripts/lunr/min/
292 lunr.stemmer.support.min.js
298 share/doc/freetype/reference/assets/javascripts/workers/
299 search.477d984a.min.js
300 search.477d984a.min.js.map
301 share/doc/freetype/reference/assets/stylesheets/
302 main.ca7ac06f.min.css
303 main.ca7ac06f.min.css.map
304 palette.f1a3b89f.min.css
305 palette.f1a3b89f.min.css.map
306 share/doc/freetype/reference/images/favico.ico
307 share/doc/freetype/reference/javascripts/extra.js
308 share/doc/freetype/reference/search/search_index.json
309 share/doc/freetype/reference/stylesheets/extra.css
312 [FILE:863:patches/patch-builds_unix_detect.mk]
313 --- builds/unix/detect.mk.orig 2023-02-27 05:39:44 UTC
314 +++ builds/unix/detect.mk
315 @@ -22,6 +22,9 @@ ifeq ($(PLATFORM),ansi)
316 $(wildcard /usr/sbin/init) \
317 $(wildcard /dev/null) \
318 $(wildcard /hurd/auth))
319 + # FreeBSD is "unix" so just mandate this to fix the build in
320 + # jails that do not have init (see PR#113470).
325 @@ -86,10 +89,10 @@ ifeq ($(PLATFORM),unix)
327 ifneq ($(have_Makefile),)
328 # we are building FT2 not in the src tree
329 - $(TOP_DIR)/builds/unix/configure $(value CFG)
330 +# $(TOP_DIR)/builds/unix/configure $(value CFG)
333 - ./configure $(value CFG)
335 +# ./configure $(value CFG)
341 [FILE:739:files/pkg-message-primary]
342 The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
343 the default, emulating a modern version of ClearType. This change inevitably
344 leads to different rendering results, and you might change port's options to
345 adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
348 The environment variable "FREETYPE_PROPERTIES" can be used to control the
349 driver properties. Example:
351 FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
352 cff:no-stem-darkening=1 \
355 This allows to select, say, the subpixel hinting mode at runtime for a given
358 The controllable properties are listed in the section "Controlling FreeType
359 Modules" in the reference's table of contents.
362 [FILE:115:files/special.mk]
365 for m in ${SUBPIXEL_HINTING_MODE}; \
366 do r=$$(($$r | $$m)); \