diff options
author | pav <pav@FreeBSD.org> | 2008-06-19 06:07:37 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2008-06-19 06:07:37 +0800 |
commit | 2d7061c5d0d327787270a108e6459ce36d47e324 (patch) | |
tree | b887fd312e6fdbc4a1b0c3b37a2b948ede410c55 /audio | |
parent | 330cef566ece1e3f8a6e932f33addbc464a5cd6d (diff) | |
download | freebsd-ports-gnome-2d7061c5d0d327787270a108e6459ce36d47e324.tar.gz freebsd-ports-gnome-2d7061c5d0d327787270a108e6459ce36d47e324.tar.zst freebsd-ports-gnome-2d7061c5d0d327787270a108e6459ce36d47e324.zip |
- Make this a standalone port instead of audio/mbrola slave
Diffstat (limited to 'audio')
-rw-r--r-- | audio/linux-mbrola/Makefile | 46 | ||||
-rw-r--r-- | audio/linux-mbrola/pkg-descr | 5 |
2 files changed, 45 insertions, 6 deletions
diff --git a/audio/linux-mbrola/Makefile b/audio/linux-mbrola/Makefile index f3e2b0fcbba1..635dfe8d05b1 100644 --- a/audio/linux-mbrola/Makefile +++ b/audio/linux-mbrola/Makefile @@ -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 + +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 -MASTERDIR= ${.CURDIR}/../mbrola -.include "${MASTERDIR}/Makefile" +.include <bsd.port.post.mk> diff --git a/audio/linux-mbrola/pkg-descr b/audio/linux-mbrola/pkg-descr new file mode 100644 index 000000000000..a5bf08c20e67 --- /dev/null +++ b/audio/linux-mbrola/pkg-descr @@ -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/ |