mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
42e885fc3f
This fixes 7 ports. Approved by: portmgr (implicit)
41 lines
1022 B
Makefile
41 lines
1022 B
Makefile
# Created by: trevor
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= festlex-ogi
|
|
PORTVERSION= 2.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio accessibility
|
|
MASTER_SITES= # ${MASTER_SITE_FESTIVAL_OGI}
|
|
DISTNAME= OGIlexicon-2.2
|
|
|
|
MAINTAINER= ports@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
|
|
NO_STAGE= yes
|
|
|
|
FHOME= ${PREFIX}/share/festival
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
|
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>
|