Makefile 964 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.1.1.1 2015/08/26 14:16:07 sthen Exp $
  2. COMMENT = Microsoft ClearType fonts
  3. DISTNAME = PowerPointViewer.exe
  4. EXTRACT_SUFX =
  5. PKGNAME = msctfonts-1.0
  6. CATEGORIES = fonts
  7. # No redistribution
  8. PERMIT_PACKAGE_CDROM = No redistribution
  9. PERMIT_PACKAGE_FTP = No redistribution
  10. PERMIT_DISTFILES_FTP = No redistribution
  11. MASTER_SITES = http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/
  12. BUILD_DEPENDS = archivers/cabextract
  13. NO_BUILD = Yes
  14. NO_TEST = Yes
  15. PKG_ARCH = *
  16. INST_DIR = ${PREFIX}/share/fonts/msctfonts
  17. EXTRACT_CASES = *.exe) cabextract --lowercase --quiet \
  18. --directory=${WRKDIST} -F ppviewer.cab ${DISTDIR}/${DISTNAME} ;;
  19. post-extract:
  20. @cabextract --lowercase -F '*.TT[FC]' --directory=${WRKDIST} \
  21. ${WRKDIST}/ppviewer.cab
  22. @mv ${WRKDIST}/cambria.ttc ${WRKDIST}/cambria.ttf
  23. do-install:
  24. ${INSTALL_DATA_DIR} ${INST_DIR}
  25. ${INSTALL_DATA} ${WRKSRC}/*.ttf ${INST_DIR}
  26. .include <bsd.port.mk>