# New ports collection makefile for:    magyarispell
# Date created:         20.03.2002
# Whom:                 mohacsi
#
# $FreeBSD: ports/hungarian/ispell/Makefile,v 1.3 2003/02/21 12:17:12 knu Exp $
#

PORTNAME=	ispell
PORTVERSION=	0.92
CATEGORIES=	hungarian textproc
MASTER_SITES=	http://www.szofi.hu/gnu/magyarispell/
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

do-install:
	cd ${WRKSRC} && \
		${INSTALL_DATA} magyar.hash magyar.dict magyar.aff \
		${PREFIX}/share/ispell
	${INSTALL_SCRIPT} ${FILESDIR}/ispell-hu.sh ${PREFIX}/bin/ispell-hu
	${MKDIR} ${PREFIX}/share/doc/hu-ispell
	${INSTALL_MAN} ${WRKSRC}/OLVASSEL ${WRKSRC}/README ${PREFIX}/share/doc/hu-ispell

.include <bsd.port.mk>
