| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/audio/julius/ |
Upload File : |
PORTNAME= julius
PORTVERSION= 4.1.2
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= OSDN/julius
MAINTAINER= numisemis@yahoo.com
COMMENT= Large Vocabulary Continuous Speech Recognition Engine
WWW= http://julius.sourceforge.jp/en_index.php
BUILD_DEPENDS= ja-p5-Jcode>=0:japanese/p5-Jcode
RUN_DEPENDS= ja-p5-Jcode>=0:japanese/p5-Jcode
GNU_CONFIGURE= yes
USES= iconv perl5 shebangfix
SHEBANG_FILES= jclient-perl/jclient.pl
CONFLICTS_INSTALL= generate # bin/generate bin/julius
CONFIGURE_ENV= ac_cv_path_PERL=${PERL}
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -Wno-return-type
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
post-configure:
@${FIND} ${WRKSRC} -type f -name Makefile | ${XARGS} ${REINPLACE_CMD} -E \
-e "s|INSTALL=(\.\./)+|INSTALL=install|" \
-e "s|install -s|install|; s|-m 555|-m 755|g" \
-e "s,\{(bin|lib|include|man)dir,\(DESTDIR\)$$&,g" \
-e "/(INSTALL|install)/ s,\{exec_prefix,\(DESTDIR\)$$&,g"
@${REINPLACE_CMD} -E -e "s|man1/ja|ja/man1|" \
-e "s| /usr/local| ${STAGEDIR}${PREFIX}|g" \
${WRKSRC}/man/Makefile
post-install:
.for file in accept_check adinrec adintool dfa_determinize dfa_minimize \
generate-ngram generate jcontrol julius mkbingram mkbinhmm mkbinhmmlist mkfa \
mkss nextword
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
.endfor
.include <bsd.port.mk>