Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 ${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 util
  9. PKG_SECTION:= x11/apps
  10. PKG_URL:= http://www.x.org/
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,FONT_UTIL,font-util,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. # XXX: Push the mapping files to a place where we can find them
  15. # again when compiling the actual fonts. This is ugly as hell,
  16. # especially as all font packages still need patching to avoid
  17. # calling pkg-config (which we don't provide) in order to
  18. # automatically find the mappings.
  19. post-build:
  20. ${INSTALL_DIR} ${STAGING_DIR}/usr/share/fonts/X11/util
  21. ${CP} ${WRKBUILD}/map-* \
  22. ${STAGING_DIR}/usr/share/fonts/X11/util
  23. font-util-install:
  24. ${INSTALL_DIR} ${IDIR_FONT_UTIL}/usr/bin
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/ucs2any \
  26. ${IDIR_FONT_UTIL}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/bdftruncate \
  28. ${IDIR_FONT_UTIL}/usr/bin
  29. ${INSTALL_DIR} ${IDIR_FONT_UTIL}/usr/share/fonts/X11/util
  30. ${CP} ${WRKINST}/usr/share/fonts/X11/util/* \
  31. ${IDIR_FONT_UTIL}/usr/share/fonts/X11/util
  32. include ${TOPDIR}/mk/pkg-bottom.mk