aboutsummaryrefslogtreecommitdiffstats
path: root/korean/hunspell/Makefile
blob: 7d5935172fd2983a1a29e61351fcfca95de4b705 (plain) (blame)
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
30
31
32
33
34
# $FreeBSD$

PORTNAME=   hunspell
PORTVERSION=    0.5.6
CATEGORIES= korean textproc
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}
DISTNAME=   ${PORTNAME}-dict-ko-${PORTVERSION}

MAINTAINER= jkim@FreeBSD.org
COMMENT=    Korean hunspell dictionaries

LICENSE=    GPLv2 LGPL21 MPL
LICENSE_COMB=   dual

BUILD_DEPENDS+= py*-lxml>=0:${PORTSDIR}/devel/py-lxml

USES=       gmake
USE_PYTHON_BUILD=   yes
USE_XZ=         yes

PLIST_FILES=    %%DATADIR%%/ko_KR.aff \
        %%DATADIR%%/ko_KR.dic
PLIST_DIRSTRY=  %%DATADIR%%

PROJECTHOST=    spellcheck-ko

MAKE_ENV+=  PYTHON=${PYTHON_CMD}

do-install:
    ${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/ko.aff ${STAGEDIR}${DATADIR}/ko_KR.aff
    ${INSTALL_DATA} ${WRKSRC}/ko.dic ${STAGEDIR}${DATADIR}/ko_KR.dic

.include <bsd.port.mk>