# New ports collection makefile for:	festogi-italian
# Date created:        			2005-02-15
# Whom:					Dario Freni
#
# $FreeBSD$
#

PORTNAME=	festogi-italian
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	audio accessibility
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	it-festival
DISTNAME=	Italian-FESTIVAL
DIST_SUBDIR=	festival

MAINTAINER=	saturnero@gufi.org
COMMENT=	Italian support for Festival

RUN_DEPENDS=	${LOCALBASE}/share/festival/lib/ogi_token.scm:${PORTSDIR}/audio/festival+OGI

NO_BUILD=	yes
USE_ZIP=yes

WRKSRC=		${WRKDIR}/festival
FHOME=		${PREFIX}/share/festival

post-extract:
	@${UNZIP_CMD} -qq -d ${WRKDIR} ${WRKDIR}/italian_scm.zip
	@${CHMOD} -R 644 ${WRKSRC}
	@${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
	@${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${CHMOD} 644

do-install:
	${MKDIR} ${FHOME}
	(cd ${WRKSRC} && ${CP} -pPR * ${FHOME})

.include <bsd.port.mk>