Makefile.inc 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. # $OpenBSD: Makefile.inc,v 1.6 2016/12/01 14:13:12 stsp Exp $
  2. LANGS = af am bg ca cs cy da de el eo es fo fr ga gd gl he hr hu \
  3. id it ku la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk \
  4. sl sv sw tet tl tn uk yi zu
  5. HOMEPAGE = http://www.vim.org/
  6. VERSION = 8.0
  7. P = ${VERSION:C/[\.]//g}
  8. CATEGORIES = editors
  9. MASTER_SITES = http://ftp.vim.org/pub/vim/runtime/spell/ \
  10. ftp://ftp.vim.org/pub/vim/runtime/spell/
  11. DIST_SUBDIR = vim-spell
  12. EXTRACT_ONLY =
  13. DISTNAME = vim-spell-${VERSION}
  14. # GPLv2+, LGPL, GFDL
  15. PERMIT_PACKAGE_CDROM = Yes
  16. LANG_NAME-af = Afrikaans
  17. DISTFILES-af = af.latin1.spl af.utf-8.spl
  18. LANG_NAME-am = Amharic
  19. DISTFILES-am = am.utf-8.spl
  20. LANG_NAME-bg = Bulgarian
  21. DISTFILES-bg = bg.cp1251.spl bg.utf-8.spl
  22. LANG_NAME-ca = Catalan
  23. DISTFILES-ca = ca.latin1.spl ca.utf-8.spl
  24. LANG_NAME-cs = Czech
  25. DISTFILES-cs = cs.cp1250.spl cs.iso-8859-2.spl cs.utf-8.spl
  26. LANG_NAME-cy = Welsh
  27. DISTFILES-cy = cy.iso-8859-14.spl cy.utf-8.spl
  28. LANG_NAME-da = Danish
  29. DISTFILES-da = da.latin1.spl da.utf-8.spl
  30. LANG_NAME-de = German
  31. DISTFILES-de = de.latin1.spl de.utf-8.spl
  32. LANG_NAME-el = Greek
  33. DISTFILES-el = el.iso-8859-7.spl el.utf-8.spl
  34. LANG_NAME-eo = Esperanto
  35. DISTFILES-eo = eo.iso-8859-3.spl eo.utf-8.spl
  36. LANG_NAME-es = Spanish
  37. DISTFILES-es = es.latin1.spl es.utf-8.spl
  38. LANG_NAME-fo = Faroese
  39. DISTFILES-fo = fo.latin1.spl fo.utf-8.spl
  40. LANG_NAME-fr = French
  41. DISTFILES-fr = fr.latin1.spl fr.utf-8.spl
  42. LANG_NAME-ga = Irish
  43. DISTFILES-ga = ga.latin1.spl ga.utf-8.spl
  44. LANG_NAME-gd = Scottish Gaelic
  45. DISTFILES-gd = gd.latin1.spl gd.utf-8.spl
  46. LANG_NAME-gl = Galician
  47. DISTFILES-gl = gl.latin1.spl gl.utf-8.spl
  48. LANG_NAME-he = Hebrew
  49. DISTFILES-he = he.iso-8859-8.spl he.utf-8.spl
  50. LANG_NAME-hr = Croation
  51. DISTFILES-hr = hr.cp1250.spl hr.iso-8859-2.spl hr.utf-8.spl
  52. LANG_NAME-hu = Hungarian
  53. DISTFILES-hu = hu.cp1250.spl hu.iso-8859-2.spl hu.utf-8.spl
  54. LANG_NAME-id = Indonesian
  55. DISTFILES-id = id.latin1.spl id.utf-8.spl
  56. LANG_NAME-it = Italian
  57. DISTFILES-it = it.latin1.spl it.utf-8.spl
  58. LANG_NAME-ku = Kurdish
  59. DISTFILES-ku = ku.iso-8859-9.spl ku.utf-8.spl
  60. LANG_NAME-la = Latin
  61. DISTFILES-la = la.latin1.spl la.utf-8.spl
  62. LANG_NAME-lt = Lithuanian
  63. DISTFILES-lt = lt.iso-8859-13.spl lt.utf-8.spl
  64. LANG_NAME-lv = Latvian
  65. DISTFILES-lv = lv.iso-8859-13.spl lv.utf-8.spl
  66. LANG_NAME-mg = Malagasy
  67. DISTFILES-mg = mg.latin1.spl mg.utf-8.spl
  68. LANG_NAME-mi = Maori
  69. DISTFILES-mi = mi.iso-8859-4.spl mi.utf-8.spl
  70. LANG_NAME-ms = Malay
  71. DISTFILES-ms = ms.latin1.spl ms.utf-8.spl
  72. LANG_NAME-nb = Norwegian (Bokmal)
  73. DISTFILES-nb = nb.latin1.spl nb.utf-8.spl
  74. LANG_NAME-nl = Dutch
  75. DISTFILES-nl = nl.latin1.spl nl.utf-8.spl
  76. LANG_NAME-nn = Norwegian (Nynorsk)
  77. DISTFILES-nn = nn.latin1.spl nn.utf-8.spl
  78. LANG_NAME-ny = Chichewa
  79. DISTFILES-ny = ny.ascii.spl ny.iso-8859-14.spl ny.utf-8.spl
  80. LANG_NAME-pl = Polish
  81. DISTFILES-pl = pl.cp1250.spl pl.iso-8859-2.spl pl.utf-8.spl
  82. LANG_NAME-pt = Portuguese
  83. DISTFILES-pt = pt.latin1.spl pt.utf-8.spl
  84. LANG_NAME-ro = Romanian
  85. DISTFILES-ro = ro.cp1250.spl ro.iso-8859-2.spl ro.utf-8.spl
  86. LANG_NAME-ru = Russian
  87. DISTFILES-ru = ru.cp1251.spl ru.koi8-r.spl ru.utf-8.spl
  88. LANG_NAME-rw = Kinyarwanda
  89. DISTFILES-rw = rw.latin1.spl rw.utf-8.spl
  90. LANG_NAME-sk = Slovak
  91. DISTFILES-sk = sk.cp1250.spl sk.iso-8859-2.spl sk.utf-8.spl
  92. LANG_NAME-sl = Slovenian
  93. DISTFILES-sl = sl.cp1250.spl sl.iso-8859-2.spl sl.utf-8.spl
  94. LANG_NAME-sv = Swedish
  95. DISTFILES-sv = sv.latin1.spl sv.utf-8.spl
  96. LANG_NAME-sw = Kiswahili
  97. DISTFILES-sw = sw.latin1.spl sw.utf-8.spl
  98. LANG_NAME-tet = Tetum
  99. DISTFILES-tet = tet.latin1.spl tet.utf-8.spl
  100. LANG_NAME-tl = Tagalog
  101. DISTFILES-tl = tl.latin1.spl tl.utf-8.spl
  102. LANG_NAME-tn = Setswana
  103. DISTFILES-tn = tn.cp1250.spl tn.iso-8859-2.spl tn.utf-8.spl
  104. LANG_NAME-uk = Ukrainian
  105. DISTFILES-uk = uk.koi8-u.spl uk.utf-8.spl
  106. LANG_NAME-yi = Yiddish
  107. DISTFILES-yi = yi-tr.utf-8.spl yi.latin1.spl yi.utf-8.spl
  108. LANG_NAME-zu = Zulu
  109. DISTFILES-zu = zu.ascii.spl zu.latin1.spl zu.utf-8.spl
  110. .for i in ${LANGS}
  111. SUPDISTFILES += ${DISTFILES-$i}
  112. .endfor
  113. DISTFILES = ${DISTFILES-$L}
  114. LANG_NAME = ${LANG_NAME-$L}
  115. DISTNAME = vim-spell-$L-${VERSION}
  116. COMMENT = ${LANG_NAME} spell-check files for Vim
  117. PKGDIR = ${.CURDIR}/../pkg
  118. PLIST = ${PKGDIR}/PLIST-$L
  119. CHECKSUM_FILE = ${.CURDIR}/../distinfo
  120. NO_BUILD = Yes
  121. RUN_DEPENDS = editors/vim
  122. SUBST_VARS = LANG_NAME P
  123. do-install:
  124. ${INSTALL_DATA_DIR} ${PREFIX}/share/vim/vim${P}/spell
  125. .for f in ${DISTFILES}
  126. ${INSTALL_DATA} ${FULLDISTDIR}/${f} ${PREFIX}/share/vim/vim${P}/spell
  127. .endfor