summaryrefslogtreecommitdiff
path: root/ukrainian/mythes/Makefile
blob: 63c66e9061d77d551f246cb2fbc5f22cc724a533 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

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>