Makefile.inc 784 B

1234567891011121314151617181920212223242526272829303132
  1. # $OpenBSD: Makefile.inc,v 1.1.1.1 2015/09/22 06:47:32 ajacoutot Exp $
  2. COMMENT= ${LANG} hyphenation rules
  3. DESCR= ${.CURDIR}/../DESCR
  4. DIC ?= hyph_$$(basename ${.CURDIR}).dic
  5. NO_BUILD= Yes
  6. NO_TEST= Yes
  7. PKG_ARCH= *
  8. PKGNAME ?= ${DISTNAME:S/hyph_/hyphen-i18n-/}
  9. SUBST_VARS= LANG
  10. WRKDIST= ${WRKDIR}
  11. CATEGORIES += textproc textproc/hyphen
  12. # LGPLv2.1, LGPLv3, GPLv2, GPLv3, MPL
  13. PERMIT_PACKAGE_CDROM= Yes
  14. DIST_SUBDIR= hyphen
  15. MASTER_SITES= ${MASTER_SITE_FREEBSD_LOCAL:=sunpoet/hyphen/}
  16. EXTRACT_SUFX= .zip
  17. RUN_DEPENDS += textproc/hyphen
  18. do-install:
  19. ${INSTALL_DATA_DIR} ${PREFIX}/share/hyphen
  20. ${INSTALL_DATA} ${WRKSRC}/${DIC} ${PREFIX}/share/hyphen/
  21. .if defined(LANG_ALIASES)
  22. . for a in ${LANG_ALIASES}
  23. ln -s ${DIC} ${PREFIX}/share/hyphen/hyph_${a}.dic
  24. . endfor
  25. .endif