Makefile 787 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.2 2016/09/22 12:57:18 fcambus Exp $
  2. COMMENT = faithfully remade Amiga fonts
  3. GH_ACCOUNT = rewtnull
  4. GH_PROJECT = amigafonts
  5. GH_TAGNAME = 1.0
  6. REVISION = 0
  7. CATEGORIES = fonts
  8. HOMEPAGE = https://www.trueschool.se/html/fonts.html
  9. MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
  10. # CC BY-NC-SA 3.0
  11. PERMIT_PACKAGE_CDROM = Non-commercial
  12. PERMIT_PACKAGE_FTP = Yes
  13. NO_BUILD = Yes
  14. NO_TEST = Yes
  15. FONTDIR = ${PREFIX}/share/fonts/amigafonts
  16. DOCDIR = ${PREFIX}/share/doc/amigafonts
  17. do-patch:
  18. cd ${WRKDIST}/ttf && for i in `ls *.ttf`; do \
  19. mv $$i `echo $$i | sed -e 's/_v1.0//;s/_/-/'`; done
  20. do-install:
  21. ${INSTALL_DATA_DIR} ${FONTDIR} ${DOCDIR}
  22. ${INSTALL_DATA} ${WRKDIST}/ttf/*.ttf ${FONTDIR}
  23. ${INSTALL_DATA} ${WRKDIST}/README ${DOCDIR}
  24. .include <bsd.port.mk>