1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 34ebb0c9c14e0a392cdd5ea055c92489ad88d55ae148b2f1cfded0f3f63f2b5b
10 PKG_DESCR
:= font utility
11 PKG_SECTION
:= x11
/fonts
12 PKG_URL
:= http
://www.x.org
/
13 PKG_SITES
:= http
://www.x.org
/releases
/individual
/font
/
15 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
17 include ${ADK_TOPDIR}/mk
/package.mk
19 $(eval
$(call PKG_template
,FONT_UTIL
,font-util
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 # XXX: Push the mapping files to a place where we can find them
22 # again when compiling the actual fonts. This is ugly as hell,
23 # especially as all font packages still need patching to avoid
24 # calling pkg-config (which we don't provide) in order to
25 # automatically find the mappings.
27 ${INSTALL_DIR} ${STAGING_TARGET_DIR}/usr
/share
/fonts
/X11
/util
28 ${CP} ${WRKBUILD}/map-
* \
29 ${STAGING_TARGET_DIR}/usr
/share
/fonts
/X11
/util
32 ${INSTALL_DIR} ${IDIR_FONT_UTIL}/usr
/bin
33 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/ucs2any \
34 ${IDIR_FONT_UTIL}/usr
/bin
35 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/bdftruncate \
36 ${IDIR_FONT_UTIL}/usr
/bin
37 ${INSTALL_DIR} ${IDIR_FONT_UTIL}/usr
/share
/fonts
/X11
/util
38 ${CP} ${WRKINST}/usr
/share
/fonts
/X11
/util
/* \
39 ${IDIR_FONT_UTIL}/usr
/share
/fonts
/X11
/util
41 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk