Makefile 1.4 KB

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