# New ports collection makefile for:	it-hyphen
# Date created:		2011-07-21
# Whom:			Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD: ports/textproc/it-hyphen/Makefile,v 1.6 2011/08/17 18:03:40 sunpoet Exp $
#

PORTNAME=	hyphen
PORTVERSION=	2007.11.26
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	LOCAL/sunpoet/${PORTNAME}/
PKGNAMEPREFIX=	it-
DISTNAME=	hyph_it_IT-${PORTVERSION:C/\.//g}
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	office@FreeBSD.org
COMMENT=	Italian hyphenation rules

LICENSE=	LGPL21

USE_ZIP=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

PLIST_FILES=	%%DATADIR%%/hyph_it_CH.dic \
		%%DATADIR%%/hyph_it_IT.dic
PLIST_DIRSTRY=	%%DATADIR%%

do-install:
	${MKDIR} ${DATADIR}/
	${INSTALL_DATA} ${WRKSRC}/hyph_it_IT.dic ${DATADIR}/
	${LN} -s hyph_it_IT.dic ${DATADIR}/hyph_it_CH.dic

.include <bsd.port.mk>
