Makefile 922 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. PORTNAME= mythes
  2. PORTVERSION= 2024.04.07
  3. CATEGORIES= german textproc
  4. MASTER_SITES= LOCAL/sunpoet/${PORTNAME}
  5. DISTNAME= Deutscher-Thesaurus-${PORTVERSION:C|\.||g}
  6. EXTRACT_SUFX= .oxt
  7. DIST_SUBDIR= ${PORTNAME}
  8. MAINTAINER= office@FreeBSD.org
  9. COMMENT= German thesaurus
  10. WWW= https://www.openthesaurus.de/
  11. LICENSE= LGPL21
  12. NO_ARCH= yes
  13. NO_BUILD= yes
  14. NO_WRKSUBDIR= yes
  15. PLIST_FILES= ${DATADIR}/th_de_DE_v2.idx \
  16. ${DATADIR}/th_de_DE_v2.dat
  17. DEALIASES= de_AT de_BE de_CH de_LI de_LU
  18. .for ALIAS in ${DEALIASES}
  19. PLIST_FILES+= ${DATADIR}/th_${ALIAS}_v2.idx \
  20. ${DATADIR}/th_${ALIAS}_v2.dat
  21. .endfor
  22. do-install:
  23. ${MKDIR} ${STAGEDIR}${DATADIR}/
  24. ${INSTALL_DATA} ${WRKSRC}/th_de_DE_v2.dat ${WRKSRC}/th_de_DE_v2.idx ${STAGEDIR}${DATADIR}/
  25. .for ALIAS in ${DEALIASES}
  26. ${LN} -s th_de_DE_v2.dat ${STAGEDIR}${DATADIR}/th_${ALIAS}_v2.dat
  27. ${LN} -s th_de_DE_v2.idx ${STAGEDIR}${DATADIR}/th_${ALIAS}_v2.idx
  28. .endfor
  29. .include <bsd.port.mk>