Makefile 814 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.3 2017/01/22 08:31:44 bentley Exp $
  2. COMMENT = collection of Japanese sans-serif fonts
  3. V = 062
  4. DISTNAME = mplus-TESTFLIGHT-$V
  5. PKGNAME = mplus-fonts-$V
  6. CATEGORIES = fonts x11 japanese
  7. HOMEPAGE = https://mplus-fonts.osdn.jp/
  8. # "Unlimited permission is granted to use, copy, and distribute them,
  9. # with or without modification, either commercially or noncommercially."
  10. PERMIT_PACKAGE_CDROM = Yes
  11. MASTER_SITES = ${MASTER_SITE_OSDN_JP:=mplus-fonts/62344/}
  12. EXTRACT_SUFX = .tar.xz
  13. NO_BUILD = Yes
  14. NO_TEST = Yes
  15. PKG_ARCH = *
  16. FONTDIR = ${PREFIX}/share/fonts/mplus-fonts
  17. DOCDIR = ${PREFIX}/share/doc/mplus-fonts
  18. do-install:
  19. ${INSTALL_DATA_DIR} ${FONTDIR} ${DOCDIR}
  20. ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTDIR}
  21. ${INSTALL_DATA} ${WRKSRC}/[RL]* ${DOCDIR}
  22. .include <bsd.port.mk>