freebsd-ports/audio/linux-mbrola/Makefile
Thomas Abthorpe 49626f567a - Strip header at request of original creator
Submitted by:	trevor
With hat:	portmgr
2013-01-27 05:55:20 +00:00

45 lines
1.1 KiB
Makefile

# Created by: trevor
# $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-*
NO_BUILD= yes
ONLY_FOR_ARCHS= 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_CMD} ${EXTRACT_BEFORE_ARGS} \
${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.zip -d ${WRKSRC}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mbrola-linux-i386 ${PREFIX}/bin/mbrola
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>