freebsd-ports/textproc/sv-hunspell/Makefile
Baptiste Daroussin c82d9248b0 hunspell: avoid plist substitution
When using PLIST_FILES substitution is not necessary and recommended not
to use, the direct use of make(1) variables, works perfectly fine.
2021-08-09 08:39:07 +02:00

29 lines
783 B
Makefile

PORTNAME= hunspell
PORTVERSION= 2.40
CATEGORIES= textproc
MASTER_SITES= https://extensions.libreoffice.org/extensions/swedish-spelling-dictionary-den-stora-svenska-ordlistan/${PORTVERSION}/@@download/file/ \
LOCAL/sunpoet/${PORTNAME}
PKGNAMEPREFIX= sv-
DISTNAME= ooo_swedish_dict_${PORTVERSION:R}-${PORTVERSION:E}
EXTRACT_SUFX= .oxt
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Swedish hunspell dictionaries
LICENSE= LGPL3
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= ${DATADIR}/sv_FI.aff \
${DATADIR}/sv_FI.dic \
${DATADIR}/sv_SE.aff \
${DATADIR}/sv_SE.dic
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
cd ${WRKSRC}/dictionaries/ && ${INSTALL_DATA} sv_FI.aff sv_FI.dic sv_SE.aff sv_SE.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>