freebsd-ports/audio/julius/Makefile
Dmitry Marakasov 5512251ff4 "Julius" is an open-source high-performance large vocabulary
continuous speech recognition (LVCSR) decoder software for
speech-related researchers and developers.  Based on word N-gram and
triphone context-dependent HMM, it can perform almost real-time
decoding on most current PCs with small amount of memory.

WWW: http://julius.sourceforge.jp/en_index.php

PR:		135153
Submitted by:	Simun Mikecin <numisemis@yahoo.com>
2009-06-01 23:32:04 +00:00

69 lines
1.9 KiB
Makefile

# New ports collection makefile for: julius
# Date created: 28 May 2009
# Whom: numisemis at yahoo dot com
#
# $FreeBSD$
#
PORTNAME= julius
PORTVERSION= 4.1.2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= julius/37582
MAINTAINER= numisemis@yahoo.com
COMMENT= Large Vocabulary Continuous Speech Recognition Engine
BUILD_DEPENDS= ${SITE_PERL}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
RUN_DEPENDS= ${SITE_PERL}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
MANCOMPRESSED= no
GNU_CONFIGURE= yes
USE_ICONV= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -liconv" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
MANLANG= "" ja
MAN1= accept_check.1 \
adinrec.1 \
adintool.1 \
dfa_determinize.1 \
dfa_minimize.1 \
generate-ngram.1 \
generate.1 \
gram2sapixml.pl.1 \
jclient.pl.1 \
jcontrol.1 \
julius.1 \
mkbingram.1 \
mkbinhmm.1 \
mkbinhmmlist.1 \
mkdfa.pl.1 \
mkgshmm.1 \
mkss.1 \
nextword.1
post-configure:
@${FIND} ${WRKSRC} -type f -name Makefile | ${XARGS} ${REINPLACE_CMD} -E -e "s|INSTALL=(\.\./)+|INSTALL=install -o root -g wheel|"
@${FIND} ${WRKSRC} -type f -name Makefile | ${XARGS} ${REINPLACE_CMD} -E -e "s|install -s|install|"
@${REINPLACE_CMD} -E -e "s|man1/ja|ja/man1|" ${WRKSRC}/man/Makefile
post-install:
@${STRIP_CMD} ${PREFIX}/bin/accept_check
@${STRIP_CMD} ${PREFIX}/bin/adinrec
@${STRIP_CMD} ${PREFIX}/bin/adintool
@${STRIP_CMD} ${PREFIX}/bin/dfa_determinize
@${STRIP_CMD} ${PREFIX}/bin/dfa_minimize
@${STRIP_CMD} ${PREFIX}/bin/generate-ngram
@${STRIP_CMD} ${PREFIX}/bin/generate
@${STRIP_CMD} ${PREFIX}/bin/jcontrol
@${STRIP_CMD} ${PREFIX}/bin/julius
@${STRIP_CMD} ${PREFIX}/bin/mkbingram
@${STRIP_CMD} ${PREFIX}/bin/mkbinhmm
@${STRIP_CMD} ${PREFIX}/bin/mkbinhmmlist
@${STRIP_CMD} ${PREFIX}/bin/mkfa
@${STRIP_CMD} ${PREFIX}/bin/mkss
@${STRIP_CMD} ${PREFIX}/bin/nextword
.include <bsd.port.mk>