openbsd-ports/audio/flite/Makefile

46 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2019/07/12 21:02:13 sthen Exp $
BROKEN-m88k= out of memory compiling cmu_us_kal_diphone.c
BROKEN-mips64= GCC hangs compiling cmu_us_kal_diphone.c
BROKEN-mips64el= GCC hangs compiling cmu_us_kal_diphone.c
COMMENT= text to speech utility
VERSION= 1.2
DISTNAME= flite-${VERSION}-release
PKGNAME= flite-${VERSION}
REVISION= 6
SHARED_LIBS= flite 1.2 \
flite_cmu_time_awb 1.2 \
flite_cmu_us_kal 1.2 \
flite_cmu_us_kal16 1.2 \
flite_cmulex 1.2 \
flite_usenglish 1.2
MAKE_FLAGS= LIBlibflite.so_VERSION=${LIBflite_VERSION} \
LIBlibflite_cmu_time_awb.so_VERSION=${LIBflite_cmu_time_awb_VERSION} \
LIBlibflite_cmu_us_kal.so_VERSION=${LIBflite_cmu_us_kal_VERSION} \
LIBlibflite_cmu_us_kal16.so_VERSION=${LIBflite_cmu_us_kal16_VERSION} \
LIBlibflite_cmulex.so_VERSION=${LIBflite_cmulex_VERSION} \
LIBlibflite_usenglish.so_VERSION=${LIBflite_usenglish_VERSION}
CATEGORIES= audio
HOMEPAGE= http://www.cmuflite.org/
PERMIT_PACKAGE= Yes
WANTLIB= c m sndio
MASTER_SITES= http://www.speech.cs.cmu.edu/flite/packed/flite-${VERSION}/
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS= --enable-shared --with-audio=sndio
USE_GMAKE= Yes
NO_TEST= Yes
post-extract:
cp ${FILESDIR}/au_sndio.c ${WRKSRC}/src/audio
.include <bsd.port.mk>