mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
69 lines
1.8 KiB
Makefile
69 lines
1.8 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
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -liconv
|
|
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>
|