Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # $OpenBSD: Makefile,v 1.6 2015/03/31 09:45:09 ajacoutot Exp $
  2. COMMENT-main= improved artwiz fonts
  3. COMMENT-de= improved artwiz fonts (german pack)
  4. COMMENT-se= improved artwiz fonts (swedish pack)
  5. V= 1.3
  6. NAME= artwiz-aleczapka
  7. DISTNAME= ${NAME}-en-${V}
  8. PKGNAME-main= ${NAME}-${V}
  9. PKGNAME-de= ${NAME}-de-${V}
  10. PKGNAME-se= ${NAME}-se-${V}
  11. CATEGORIES= fonts x11
  12. USE_X11 = Yes
  13. REVISION-main= 6
  14. REVISION-de= 4
  15. REVISION-se= 4
  16. HOMEPAGE= http://artwizaleczapka.sourceforge.net/
  17. MAINTAINER= Patrick Keshishian <pkeshish@gmail.com>
  18. # GPL
  19. PERMIT_PACKAGE_CDROM= Yes
  20. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=artwizaleczapka/}
  21. EXTRACT_SUFX= .tar.bz2
  22. NO_BUILD= Yes
  23. NO_TEST= Yes
  24. PKG_ARCH= *
  25. INST_DIR= ${PREFIX}/share/fonts/artwiz-aleczapka
  26. DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
  27. ${NAME}-de-${V}${EXTRACT_SUFX} \
  28. ${NAME}-se-${V}${EXTRACT_SUFX}
  29. MULTI_PACKAGES= -main -de -se
  30. RUN_DEPENDS-de= ${BASE_PKGPATH}>=${V}
  31. RUN_DEPENDS-se= ${BASE_PKGPATH}>=${V}
  32. do-install:
  33. ${X11BASE}/bin/mkfontdir ${WRKSRC}
  34. egrep '\.pcf' ${WRKSRC}/fonts.dir | \
  35. grep '\-artwiz-' | \
  36. sed 's/\.pcf//g' > ${WRKSRC}/fonts.alias
  37. ${INSTALL_DATA_DIR} ${INST_DIR}
  38. ${INSTALL_DATA} ${WRKDIR}/${NAME}-en-${V}/*.pcf ${INST_DIR}
  39. ${INSTALL_DATA} ${WRKDIR}/${NAME}-de-${V}/*.de.pcf ${INST_DIR}
  40. ${INSTALL_DATA} ${WRKDIR}/${NAME}-se-${V}/*.se.pcf ${INST_DIR}
  41. ${INSTALL_DATA} ${WRKBUILD}/fonts.alias ${INST_DIR}/fonts.alias-artwiz
  42. .include <bsd.port.mk>