2013-01-27 06:55:20 +01:00
|
|
|
# Created by: trevor
|
2000-05-30 04:59:39 +02:00
|
|
|
|
|
|
|
PORTNAME= sphinx
|
2002-02-12 08:31:26 +01:00
|
|
|
PORTVERSION= 2.0.4
|
2014-05-14 03:57:56 +02:00
|
|
|
PORTREVISION= 3
|
2003-10-04 03:34:47 +02:00
|
|
|
CATEGORIES= audio accessibility
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF/cmu${PORTNAME}/${PORTNAME}2/0.4
|
2002-02-12 08:31:26 +01:00
|
|
|
DISTNAME= sphinx2-0.4
|
2000-05-30 04:59:39 +02:00
|
|
|
|
2006-02-11 22:03:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-01 15:34:33 +01:00
|
|
|
COMMENT= Speech recognition system
|
2000-05-30 04:59:39 +02:00
|
|
|
|
2014-05-14 03:57:56 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-08-14 12:08:25 +02:00
|
|
|
USE_LDCONFIG= yes
|
2002-02-12 08:31:26 +01:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2016-06-20 18:23:28 +02:00
|
|
|
USES= dos2unix gmake libtool shebangfix
|
|
|
|
DOS2UNIX_FILES= src/libsphinx2fe/fe_sigproc.c
|
2014-05-14 03:57:56 +02:00
|
|
|
SHEBANG_FILES= scripts/sphinx2-demo.in
|
2015-10-19 16:50:52 +02:00
|
|
|
perl_OLD_CMD= "@PERL@ -w"
|
2000-05-30 04:59:39 +02:00
|
|
|
|
2000-06-08 16:58:04 +02:00
|
|
|
# contains i386 sound code
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2003-10-24 06:31:58 +02:00
|
|
|
post-patch:
|
2007-12-10 23:29:47 +01:00
|
|
|
@${REINPLACE_CMD} -e 's:<malloc.h>:<stdlib.h>:g' \
|
|
|
|
${WRKSRC}/src/libsphinx2/CM_funcs.c \
|
|
|
|
${WRKSRC}/src/libsphinx2/hash.c \
|
|
|
|
${WRKSRC}/src/libsphinx2/list.c \
|
|
|
|
${WRKSRC}/src/libsphinx2/salloc.c
|
2002-02-12 08:31:26 +01:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
${ECHO_CMD} "*** WARNING ***" > ${PKGMESSAGE}
|
|
|
|
${ECHO_CMD} "The sphinx 2 port/package has not had" >> ${PKGMESSAGE}
|
|
|
|
${ECHO_CMD} "proper testing or source review by the" >> ${PKGMESSAGE}
|
|
|
|
${ECHO_CMD} "FreeBSD maintainer." >> ${PKGMESSAGE}
|
|
|
|
|
2014-05-14 03:57:56 +02:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsphinx2*.so
|
2002-02-12 08:31:26 +01:00
|
|
|
|
2007-12-10 23:29:47 +01:00
|
|
|
.include <bsd.port.mk>
|