aboutsummaryrefslogtreecommitdiffstats
path: root/korean/hunspell/Makefile
blob: d98b710580b729ec9e3ba35a642fa0d7128d4307 (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
35
# $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

USE_GMAKE=      yes
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}

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

.include <bsd.port.mk>