freebsd-ports/audio/festlex-ogi/Makefile
Marcelo Araujo 8ce52f5a2f - Mark as RESTRICTED. The License is limited to non-commercial use.
- Distfile was rerolled to fix the DISTDIR.
- Bump PORTREVISION.

Reported by:	QAT
2009-04-08 01:28:05 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: festlex-ogi
# Date created: 2000-06-19
# Whom: Trevor Johnson
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.8 2000/02/15 09:26:12 agc Exp $
# $FreeBSD$
#
PORTNAME= festlex-ogi
PORTVERSION= 2.2
PORTREVISION= 2
CATEGORIES= audio accessibility
MASTER_SITES= # ${MASTER_SITE_FESTIVAL_OGI}
DISTNAME= OGIlexicon-2.2
MAINTAINER= araujo@FreeBSD.org
COMMENT= Composite pronunciation dictionary from ogi.edu for Festival
RUN_DEPENDS= festival:${PORTSDIR}/audio/festival \
${LOCALBASE}/share/festival/lib/dicts/wsj.wp39.poslexR:${PORTSDIR}/audio/festlex-poslex
RESTRICTED= no-commercial-use
WRKSRC= ${WRKDIR}/festival
NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE= distfile can only be fetched if you accept the license. Go to https://www.cslu.ogi.edu/tts/download/data/OGIlexicon-2.2.tar.gz and put ${DISTFILE} into ${DISTDIR}
.endif
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
do-install:
${MKDIR} ${FHOME}
cd ${WRKSRC} && ${CP} -pPR * ${FHOME}
.include <bsd.port.post.mk>