1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Make this a standalone port instead of audio/mbrola slave

This commit is contained in:
Pav Lucistnik 2008-06-18 22:07:37 +00:00
parent d307b39056
commit c4731fb747
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215139
2 changed files with 45 additions and 6 deletions

View File

@ -5,20 +5,54 @@
# $FreeBSD$
#
PORTNAME= mbrola
PORTVERSION= 3.0.1
CATEGORIES= audio accessibility linux
MASTER_SITES= http://tcts.fpms.ac.be/synthesis/mbrola/bin/pclinux/ \
http://www.festvox.org/mbrola/bin/pclinux/
PKGNAMEPREFIX= linux-
DISTNAME= mbr301h
DIST_SUBDIR= mbrola-linux
MAINTAINER= ports@FreeBSD.org
COMMENT= MBROLA speech synthesizer for Linux
RUN_DEPENDS= ${LOCALBASE}/share/mbrolavox:${PORTSDIR}/audio/mbrolavox
CONFLICTS= mbrola-*
DIST_SUBDIR= mbrola-linux
MASTERDIR= ${PORTSDIR}/audio/mbrola
MD5_FILE= ${.CURDIR}/distinfo
ONLY_FOR_ARCHS= alpha i386
NO_BUILD= yes
ONLY_FOR_ARCHS= alpha amd64 i386
USE_LINUX= yes
USE_ZIP= yes
RESTRICTED= for non-commercial, non-military applications only
WRKSRC= ${WRKDIR}/mbr301h
PLIST= ${WRKDIR}/plist
MASTERDIR= ${.CURDIR}/../mbrola
.include "${MASTERDIR}/Makefile"
PLIST_DIRS= share/doc/mbrola
PLIST_FILES= bin/mbrola
.if !defined(NOPORTDOCS)
PLIST_FILES+= share/doc/mbrola/readme.txt
.endif
do-extract:
@${MKDIR} ${WRKSRC}
@unzip -qo ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.zip -d ${WRKSRC}
do-patch:
@${RM} -f ${WRKSRC}/mbrola-FreeBSD-i386-aout
.include <bsd.port.pre.mk>
do-install:
.if (${ARCH} == "alpha")
@${INSTALL_PROGRAM} ${WRKSRC}/mbrola-linux-alpha ${PREFIX}/bin/mbrola
.else
@${INSTALL_PROGRAM} ${WRKSRC}/mbrola-linux-i386 ${PREFIX}/bin/mbrola
.endif
@${CHMOD} +x ${PREFIX}/bin/mbrola
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,5 @@
This is a binary port of the MBROLA speech synthesizer, which uses
"a time-domain algorithm with outstanding diphone smoothing
capabilities." It requires Linux compatibility.
WWW: http://www.tcts.fpms.ac.be/synthesis/