mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Fix build with clang [1]
- Fix shebangs in perl scripts - Merge binaries stripping to one loop - Support staging PR: port/186655 [1] Submitted by: maintainer MFH: 2014Q1
This commit is contained in:
parent
7cc8a2c56c
commit
edbcd992e0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345516
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= julius
|
PORTNAME= julius
|
||||||
PORTVERSION= 4.1.2
|
PORTVERSION= 4.1.2
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= audio
|
CATEGORIES= audio
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
|
||||||
MASTER_SITE_SUBDIR= julius/37582
|
MASTER_SITE_SUBDIR= julius/37582
|
||||||
@ -13,53 +14,30 @@ COMMENT= Large Vocabulary Continuous Speech Recognition Engine
|
|||||||
BUILD_DEPENDS= ja-p5-Jcode>=0:${PORTSDIR}/japanese/p5-Jcode
|
BUILD_DEPENDS= ja-p5-Jcode>=0:${PORTSDIR}/japanese/p5-Jcode
|
||||||
RUN_DEPENDS= ja-p5-Jcode>=0:${PORTSDIR}/japanese/p5-Jcode
|
RUN_DEPENDS= ja-p5-Jcode>=0:${PORTSDIR}/japanese/p5-Jcode
|
||||||
|
|
||||||
MANCOMPRESSED= no
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USES= iconv
|
USES= iconv perl5 shebangfix
|
||||||
NO_STAGE= yes
|
SHEBANG_FILES= jclient-perl/jclient.pl
|
||||||
|
|
||||||
|
CONFIGURE_ENV= ac_cv_path_PERL=${PERL}
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
|
CFLAGS+= -Wno-return-type
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
||||||
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:
|
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 \
|
||||||
@${FIND} ${WRKSRC} -type f -name Makefile | ${XARGS} ${REINPLACE_CMD} -E -e "s|install -s|install|"
|
-e "s|INSTALL=(\.\./)+|INSTALL=install|" \
|
||||||
@${REINPLACE_CMD} -E -e "s|man1/ja|ja/man1|" ${WRKSRC}/man/Makefile
|
-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:
|
post-install:
|
||||||
@${STRIP_CMD} ${PREFIX}/bin/accept_check
|
.for file in accept_check adinrec adintool dfa_determinize dfa_minimize \
|
||||||
@${STRIP_CMD} ${PREFIX}/bin/adinrec
|
generate-ngram generate jcontrol julius mkbingram mkbinhmm mkbinhmmlist mkfa \
|
||||||
@${STRIP_CMD} ${PREFIX}/bin/adintool
|
mkss nextword
|
||||||
@${STRIP_CMD} ${PREFIX}/bin/dfa_determinize
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
|
||||||
@${STRIP_CMD} ${PREFIX}/bin/dfa_minimize
|
.endfor
|
||||||
@${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>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
@mode 555
|
||||||
bin/accept_check
|
bin/accept_check
|
||||||
bin/adinrec
|
bin/adinrec
|
||||||
bin/adintool
|
bin/adintool
|
||||||
@ -20,6 +21,7 @@ bin/mkgshmm
|
|||||||
bin/mkss
|
bin/mkss
|
||||||
bin/nextword
|
bin/nextword
|
||||||
bin/yomi2voca.pl
|
bin/yomi2voca.pl
|
||||||
|
@mode
|
||||||
include/julius/acconfig.h
|
include/julius/acconfig.h
|
||||||
include/julius/beam.h
|
include/julius/beam.h
|
||||||
include/julius/callback.h
|
include/julius/callback.h
|
||||||
@ -59,5 +61,41 @@ include/sent/util.h
|
|||||||
include/sent/vocabulary.h
|
include/sent/vocabulary.h
|
||||||
lib/libjulius.a
|
lib/libjulius.a
|
||||||
lib/libsent.a
|
lib/libsent.a
|
||||||
|
man/ja/man1/accept_check.1.gz
|
||||||
|
man/ja/man1/adinrec.1.gz
|
||||||
|
man/ja/man1/adintool.1.gz
|
||||||
|
man/ja/man1/dfa_determinize.1.gz
|
||||||
|
man/ja/man1/dfa_minimize.1.gz
|
||||||
|
man/ja/man1/generate-ngram.1.gz
|
||||||
|
man/ja/man1/generate.1.gz
|
||||||
|
man/ja/man1/gram2sapixml.pl.1.gz
|
||||||
|
man/ja/man1/jclient.pl.1.gz
|
||||||
|
man/ja/man1/jcontrol.1.gz
|
||||||
|
man/ja/man1/julius.1.gz
|
||||||
|
man/ja/man1/mkbingram.1.gz
|
||||||
|
man/ja/man1/mkbinhmm.1.gz
|
||||||
|
man/ja/man1/mkbinhmmlist.1.gz
|
||||||
|
man/ja/man1/mkdfa.pl.1.gz
|
||||||
|
man/ja/man1/mkgshmm.1.gz
|
||||||
|
man/ja/man1/mkss.1.gz
|
||||||
|
man/ja/man1/nextword.1.gz
|
||||||
|
man/man1/accept_check.1.gz
|
||||||
|
man/man1/adinrec.1.gz
|
||||||
|
man/man1/adintool.1.gz
|
||||||
|
man/man1/dfa_determinize.1.gz
|
||||||
|
man/man1/dfa_minimize.1.gz
|
||||||
|
man/man1/generate-ngram.1.gz
|
||||||
|
man/man1/generate.1.gz
|
||||||
|
man/man1/gram2sapixml.pl.1.gz
|
||||||
|
man/man1/jclient.pl.1.gz
|
||||||
|
man/man1/jcontrol.1.gz
|
||||||
|
man/man1/julius.1.gz
|
||||||
|
man/man1/mkbingram.1.gz
|
||||||
|
man/man1/mkbinhmm.1.gz
|
||||||
|
man/man1/mkbinhmmlist.1.gz
|
||||||
|
man/man1/mkdfa.pl.1.gz
|
||||||
|
man/man1/mkgshmm.1.gz
|
||||||
|
man/man1/mkss.1.gz
|
||||||
|
man/man1/nextword.1.gz
|
||||||
@dirrm include/julius
|
@dirrm include/julius
|
||||||
@dirrm include/sent
|
@dirrm include/sent
|
||||||
|
Loading…
Reference in New Issue
Block a user