5 # Description of options (taken from configure --help):
6 # debug include memory manager debugging
7 # freetype build and install the `grub-mkfont' utility
10 PKG_OPTIONS_VAR
= PKG_OPTIONS.grub2
11 PKG_SUPPORTED_OPTIONS
= debug freetype
12 PKG_SUGGESTED_OPTIONS
= freetype
14 .
include "../../mk/bsd.options.mk"
18 UNIFONT
= unifont-5.1
.20080820.pcf
19 SITES.
${UNIFONT}.gz
= http
://unifoundry.com
/
21 post-extract
: do-move-unifont
22 .PHONY
: do-move-unifont
24 .if
!empty
(PKG_OPTIONS
:Mdebug
)
25 CONFIGURE_ARGS
+= --enable-mm-debug
27 CONFIGURE_ARGS
+= --disable-mm-debug
30 .if
!empty
(PKG_OPTIONS
:Mfreetype
)
31 CONFIGURE_ARGS
+= --enable-grub-mkfont
33 DISTFILES
+= ${UNIFONT}.gz
34 BUILD_DEPENDS
+= dejavu-ttf
>=2.30:..
/..
/fonts
/dejavu-ttf
36 ${MV} ${WRKDIR}/${UNIFONT} ${WRKSRC}/unifont.pcf
37 .
include "../../graphics/freetype2/buildlink3.mk"
39 CONFIGURE_ARGS
+= --disable-grub-mkfont