aboutsummaryrefslogtreecommitdiff
path: root/audio/linux-mbrola
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-06-18 22:07:37 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-06-18 22:07:37 +0000
commitc4731fb747fdaa8294419a243568f051eeb5c7ea (patch)
tree68757748102c37086e3d9d89dcc875b5b0361bec /audio/linux-mbrola
parentd307b3905680695483a6179e8739078789550a95 (diff)
downloadports-c4731fb747fdaa8294419a243568f051eeb5c7ea.tar.gz
ports-c4731fb747fdaa8294419a243568f051eeb5c7ea.zip
Notes
Diffstat (limited to 'audio/linux-mbrola')
-rw-r--r--audio/linux-mbrola/Makefile46
-rw-r--r--audio/linux-mbrola/pkg-descr5
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/