1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/ukrainian/mythes/Makefile
Po-Chuan Hsieh 72664fc2b4
*/*mythes: Avoid using %% in Makefile
Use ${DATAIDR} instead of %%DATADIR%%
2021-09-19 14:00:49 +08:00

29 lines
709 B
Makefile

PORTNAME= mythes
PORTVERSION= 1.8.0
CATEGORIES= ukrainian textproc
MASTER_SITES= SF/ispell-uk/spell-uk/${PORTVERSION}
DISTNAME= spell-uk-${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Ukrainian thesaurus
LICENSE= LGPL21 GPLv2
LICENSE_COMB= dual
NO_ARCH= yes
USES= perl5 tar:tgz
USE_PERL5= build
PLIST_FILES= ${DATADIR}/th_uk_UA.dat \
${DATADIR}/th_uk_UA.idx
do-build:
@${PERL} ${WRKSRC}/bin/th_gen_idx.pl < ${WRKSRC}/src/thesaurus/th_uk_UA.dat > ${WRKSRC}/src/thesaurus/th_uk_UA.idx
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/src/thesaurus/th_uk_UA.dat ${WRKSRC}/src/thesaurus/th_uk_UA.idx ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>