When using PLIST_FILES substitution is not necessary and recommended not to use, the direct use of make(1) variables, works perfectly fine.
29 lines
783 B
Makefile
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>
|