Ravenports generated: 10 Feb 2024 22:55
[ravenports.git] / bucket_83 / freetype
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               freetype
4 VERSION=                2.13.2
5 KEYWORDS=               print
6 VARIANTS=               standard
7 SDESC[standard]=        Free and portable TrueType font rendering engine
8 HOMEPAGE=               https://www.freetype.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            http://savannah.nongnu.org/download/freetype/
13 DISTFILE[1]=            freetype-2.13.2.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         dev
18                         docs
19
20 OPTIONS_AVAILABLE=      LCD_FILTERING PNG TAB_VALIDATION TT_SZ_METRICS V38
21                         V40 DEBUG
22 OPTIONS_STANDARD=       LCD_FILTERING PNG TAB_VALIDATION TT_SZ_METRICS V38
23                         V40 DEBUG
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
28
29 EXRUN[dev]=             zlib:dev:standard
30                         bzip2:dev:standard
31
32 USES=                   cpe gmake libtool zlib pkgconfig bz2
33
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
39 LICENSE_SCHEME=         dual
40
41 CPE_PRODUCT=            freetype
42 CPE_VENDOR=             freetype
43 FPC_EQUIVALENT=         print/freetype2
44
45 MUST_CONFIGURE=         gnu
46 CONFIGURE_WRKSRC=       {{WRKSRC}}/builds/unix
47 CONFIGURE_ARGS=         --without-harfbuzz
48
49 MAKE_ENV=               TOP=""
50
51 SOVERSION=              6.20.1
52
53 [V40].DESCRIPTION=                      v40 mode (minimal, fast, AKA ClearType hinting)
54 [V40].MAKEFILE_ON=                      SUBPIXEL_HINTING_MODE+=2
55
56 [LCD_FILTERING].DESCRIPTION=            Sub-pixel rendering (patented)
57 [LCD_FILTERING].CFLAGS_ON=              -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING
58
59 [TT_SZ_METRICS].DESCRIPTION=            TrueType-like size metrics for V40 auto-hinting
60
61 [PNG].DESCRIPTION=                      PNG compressed OpenType embedded bitmaps support
62 [PNG].CONFIGURE_WITH_BOTH=              png
63 [PNG].USES_ON=                          png
64
65 [V38].DESCRIPTION=                      v38 mode (Infinality code)
66 [V38].MAKEFILE_ON=                      SUBPIXEL_HINTING_MODE+=1
67
68 [TAB_VALIDATION].DESCRIPTION=           TrueType GX/AAT and OpenType table validation
69
70 post-patch:
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
76 .else
77         ${REINPLACE_CMD} -i'.hinting.bak2' \
78                 -e 's|^\(#define TT_CONFIG_OPTION_SUBPIXEL_HINTING.*\)|/* \1 */|' \
79                 ${WRKSRC}/include/freetype/config/ftoption.h
80 .endif
81
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
86
87 post-patch-TAB_VALIDATION-ON:
88         ${REINPLACE_CMD} -e '/valid$$/s|#.*\(AUX_MODULES\)|\1|' \
89                 ${WRKSRC}/modules.cfg
90
91 post-install:
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})
97
98 post-patch-DEBUG-ON:
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
103
104 post-configure:
105         (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
106                 ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} setup)
107
108 post-patch-sunos:
109         ${REINPLACE_CMD} -e '/_XOPEN_SOURCE/d; /_POSIX_C_SOURCE/d' \
110                 ${WRKSRC}/src/dlg/dlg*.c
111
112 [FILE:255:descriptions/desc.primary]
113 FreeType is a freely available software library to render fonts.
114
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.
118
119
120 [FILE:101:distinfo]
121 12991c4e55c506dd7f9b765933e62fd2be2e06d421505d7950a132e4f1bb484d      2501764 freetype-2.13.2.tar.xz
122
123
124 [FILE:63:manifests/plist.primary]
125 lib/
126  libfreetype.so.%%SOMAJOR%%
127  libfreetype.so.%%SOVERSION%%
128
129
130 [FILE:823:manifests/plist.dev]
131 bin/freetype-config
132 include/freetype2/ft2build.h
133 include/freetype2/freetype/
134  freetype.h
135  ftadvanc.h
136  ftbbox.h
137  ftbdf.h
138  ftbitmap.h
139  ftbzip2.h
140  ftcache.h
141  ftchapters.h
142  ftcid.h
143  ftcolor.h
144  ftdriver.h
145  fterrdef.h
146  fterrors.h
147  ftfntfmt.h
148  ftgasp.h
149  ftglyph.h
150  ftgxval.h
151  ftgzip.h
152  ftimage.h
153  ftincrem.h
154  ftlcdfil.h
155  ftlist.h
156  ftlogging.h
157  ftlzw.h
158  ftmac.h
159  ftmm.h
160  ftmodapi.h
161  ftmoderr.h
162  ftotval.h
163  ftoutln.h
164  ftparams.h
165  ftpfr.h
166  ftrender.h
167  ftsizes.h
168  ftsnames.h
169  ftstroke.h
170  ftsynth.h
171  ftsystem.h
172  fttrigon.h
173  fttypes.h
174  ftwinfnt.h
175  otsvg.h
176  t1tables.h
177  ttnameid.h
178  tttables.h
179  tttags.h
180 include/freetype2/freetype/config/
181  ftconfig.h
182  ftheader.h
183  ftmodule.h
184  ftoption.h
185  ftstdlib.h
186  integer-types.h
187  mac-support.h
188  public-macros.h
189 lib/
190  libfreetype.a
191  libfreetype.so
192 lib/pkgconfig/freetype2.pc
193 share/aclocal/freetype2.m4
194
195
196 [FILE:2725:manifests/plist.docs]
197 share/doc/freetype/
198  CHANGES
199  formats.txt
200  raster.txt
201 share/doc/freetype/reference/
202  404.html
203  ft2-auto_hinter.html
204  ft2-basic_types.html
205  ft2-bdf_fonts.html
206  ft2-bitmap_handling.html
207  ft2-bzip2.html
208  ft2-cache_subsystem.html
209  ft2-cff_driver.html
210  ft2-character_mapping.html
211  ft2-cid_fonts.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
220  ft2-gasp_table.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
226  ft2-gzip.html
227  ft2-header_file_macros.html
228  ft2-header_inclusion.html
229  ft2-incremental.html
230  ft2-index.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
236  ft2-lzw.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
245  ft2-pcf_driver.html
246  ft2-pfr_fonts.html
247  ft2-preamble.html
248  ft2-properties.html
249  ft2-quick_advance.html
250  ft2-raster.html
251  ft2-sfnt_names.html
252  ft2-sizes_management.html
253  ft2-sizing_and_scaling.html
254  ft2-svg_fonts.html
255  ft2-system_interface.html
256  ft2-t1_cid_driver.html
257  ft2-truetype_engine.html
258  ft2-truetype_tables.html
259  ft2-tt_driver.html
260  ft2-type1_tables.html
261  ft2-user_allocation.html
262  ft2-winfnt_fonts.html
263  index.html
264  sitemap.xml
265  sitemap.xml.gz
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/
271  tinyseg.js
272  wordcut.js
273 share/doc/freetype/reference/assets/javascripts/lunr/min/
274  lunr.ar.min.js
275  lunr.da.min.js
276  lunr.de.min.js
277  lunr.du.min.js
278  lunr.es.min.js
279  lunr.fi.min.js
280  lunr.fr.min.js
281  lunr.hi.min.js
282  lunr.hu.min.js
283  lunr.it.min.js
284  lunr.ja.min.js
285  lunr.jp.min.js
286  lunr.multi.min.js
287  lunr.nl.min.js
288  lunr.no.min.js
289  lunr.pt.min.js
290  lunr.ro.min.js
291  lunr.ru.min.js
292  lunr.stemmer.support.min.js
293  lunr.sv.min.js
294  lunr.th.min.js
295  lunr.tr.min.js
296  lunr.vi.min.js
297  lunr.zh.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
310
311
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).
321 +  is_unix := true
322    ifneq ($(is_unix),)
323  
324      PLATFORM := unix
325 @@ -86,10 +89,10 @@ ifeq ($(PLATFORM),unix)
326    ifdef must_configure
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)
331      else
332 -             cd builds/unix; \
333 -               ./configure $(value CFG)
334 +#            cd builds/unix; \
335 +#              ./configure $(value CFG)
336      endif
337    endif
338  
339
340
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
346 variable).
347
348 The environment variable "FREETYPE_PROPERTIES" can be used to control the
349 driver properties. Example:
350
351 FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
352         cff:no-stem-darkening=1 \
353         autofitter:warping=1
354
355 This allows to select, say, the subpixel hinting mode at runtime for a given
356 application.
357
358 The controllable properties are listed in the section "Controlling FreeType
359 Modules" in the reference's table of contents.
360
361
362 [FILE:115:files/special.mk]
363 SELECTED_MODE=  \
364         r=0; \
365         for m in ${SUBPIXEL_HINTING_MODE}; \
366                 do r=$$(($$r | $$m)); \
367         done; \
368         ${ECHO_CMD} $$r
369