freebsd-ports/hungarian/ispell/Makefile
Gabor Kovesdan 625746c35d - Fix UTF-8 bug
- Fix bash specific solution in the code

PR:		ports/116790
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
2007-10-06 17:18:31 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: magyarispell
# Date created: 20.03.2002
# Whom: mohacsi
#
# $FreeBSD$
#
PORTNAME= ispell
PORTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= hungarian textproc
#MASTER_SITES= http://www.szofi.hu/gnu/magyarispell/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= magyarispell
DISTNAME= magyarispell-${PORTVERSION:S/.R.1/-RC1/}
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:
${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>