aboutsummaryrefslogtreecommitdiffstats
path: root/hungarian/ispell/Makefile
blob: cbf05726d7c03feffad7ab67d9a0ead34d2fedcb (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
36
37
38
# New ports collection makefile for:    magyarispell
# Date created:         20.03.2002
# Whom:                 mohacsi
#
# $FreeBSD$
#

PORTNAME=   ispell
PORTVERSION=    1.6.1
CATEGORIES= hungarian textproc
#MASTER_SITES=  http://www.szofi.hu/gnu/magyarispell/
MASTER_SITES=   SF/magyar${PORTNAME}/Magyar%20Ispell/${PORTVERSION}
DISTNAME=   magyarispell-${PORTVERSION}

MAINTAINER= janos.mohacsi@bsd.hu
COMMENT=    Hungarian dictionary for ispell

BUILD_DEPENDS=  ispell:${PORTSDIR}/textproc/ispell \
        gm4:${PORTSDIR}/devel/m4
RUN_DEPENDS=    ispell:${PORTSDIR}/textproc/ispell

USE_GMAKE=  yes
DOCSDIR=    ${PREFIX}/share/doc/hu-ispell
DOCS=       OLVASSEL README GYIK ChangeLog

do-install:
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/tmp/magyar4ispell.hash ${DATADIR}/magyar.hash
    ${INSTALL_DATA} ${WRKSRC}/tmp/magyar4ispell.dict ${DATADIR}/magyar.dict
    ${INSTALL_DATA} ${WRKSRC}/tmp/magyar.aff ${DATADIR}
    ${LN} -sf ${DATADIR}/magyar.hash ${DATADIR}/hungarian.hash
    ${INSTALL_SCRIPT} ${FILESDIR}/ispell-hu.sh ${PREFIX}/bin/ispell-hu
.ifndef(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>