1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/ukrainian/hunspell/Makefile
2021-04-06 16:31:07 +02:00

35 lines
849 B
Makefile

PORTNAME= hunspell
PORTVERSION= 1.8.0
PORTREVISION= 1
CATEGORIES= ukrainian textproc
MASTER_SITES= SF/ispell-uk/spell-uk/${PORTVERSION}
DISTNAME= spell-uk-${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Ukrainian hunspell dictionaries
LICENSE= GPLv2 LGPL21
LICENSE_COMB= dual
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPL
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL
ALL_TARGET= myspell
NO_ARCH= yes
USE_PERL5= build
USES= gmake iconv:build shebangfix perl5 tar:tgz
SHEBANG_FILES= bin/*.pl
PLIST_FILES= %%DATADIR%%/uk_UA.aff \
%%DATADIR%%/uk_UA.dic
post-patch:
@${REINPLACE_CMD} -e "s,/bin/true,/usr/bin/true,g" ${WRKSRC}/src/Dictionary/Makefile
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
cd ${WRKSRC}/dist/my${DISTNAME}/ && ${INSTALL_DATA} uk_UA.aff uk_UA.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>