ports/114067: [new port] japanese/asterisk-sounds-jp Japanese sound files for Asterisk

Fumihiko Kimura jfkimura at yahoo.co.jp
Wed Jun 27 14:00:16 UTC 2007


>Number:         114067
>Category:       ports
>Synopsis:       [new port] japanese/asterisk-sounds-jp   Japanese sound files for Asterisk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 27 14:00:15 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Fumihiko Kimura
>Release:        FreeBSD 6.2-RELEASE-p4 i386
>Organization:
>Environment:
>Description:

This is a Japanese sound files for Asterisk(PBX).

It increases by MS Eri Takeda of a voice actor to do Japanese utterance.
And sound files is limited to a purpose to use Asterisk PBX can take advantage of it in royalty-free freely.

>How-To-Repeat:

	check:	Asterisk 1.4.4 and 1.4.5

>Fix:

=== begin  ===
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	./asterisk-sound-jp
#	./asterisk-sound-jp/pkg-message
#	./asterisk-sound-jp/pkg-descr
#	./asterisk-sound-jp/distinfo
#	./asterisk-sound-jp/Makefile
#
echo c - ./asterisk-sound-jp
mkdir -p ./asterisk-sound-jp > /dev/null 2>&1
echo x - ./asterisk-sound-jp/pkg-message
sed 's/^X//' >./asterisk-sound-jp/pkg-message << 'END-of-./asterisk-sound-jp/pkg-message'
X
X=============================================================================
X[FYI]
X There is 2 patch files for Japanese grammar of Asterisk to a ftp server.
X
X - set patch files into  ports/asterisk/files 
X	patch-apps::app_voicemail.c
X	patch-main::say.c
X   see ftp://ftp.voip-info.jp/asterisk/patch/
X 
X - recompile of Asterisk ports
X
X
X You have to validate next two lines in asterisk.conf. 
X
X [options]
X languageprefix=yes
X
X=============================================================================
END-of-./asterisk-sound-jp/pkg-message
echo x - ./asterisk-sound-jp/pkg-descr
sed 's/^X//' >./asterisk-sound-jp/pkg-descr << 'END-of-./asterisk-sound-jp/pkg-descr'
XThis is a Japanese sound files for Asterisk.
XWhen you use Asterisk, you can use it in a limit, royalty-free.
XPlease refer to Japanese ReadMe.txt.
X
XWWW: http://voip-info.jp/
END-of-./asterisk-sound-jp/pkg-descr
echo x - ./asterisk-sound-jp/distinfo
sed 's/^X//' >./asterisk-sound-jp/distinfo << 'END-of-./asterisk-sound-jp/distinfo'
XMD5 (1_4/asterisk-sound-jp_14_beta.tar.gz) = f03267b41be8d9e3fe1051d87ed19d01
XSHA256 (1_4/asterisk-sound-jp_14_beta.tar.gz) = 15cde0b2de41a13dd009e517f2d28ac0859b07aad3979b120fe47bece66615df
XSIZE (1_4/asterisk-sound-jp_14_beta.tar.gz) = 945915
END-of-./asterisk-sound-jp/distinfo
echo x - ./asterisk-sound-jp/Makefile
sed 's/^X//' >./asterisk-sound-jp/Makefile << 'END-of-./asterisk-sound-jp/Makefile'
X# New ports collection makefile for:	asterisk-sounds-jp
X# Date created:				27 June 2007
X# Whom:		Fumihiko Kimura <jfkimura at yahoo.co.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	asterisk-sounds-jp
XPORTVERSION=	1.4
XCATEGORIES=	japanese net
XMASTER_SITES=	ftp://ftp.voip-info.jp/asterisk/sounds/
XDISTNAME=	${PORTVERSION:S|.|_|}/${PORTNAME:S|sounds|sound|}_${PORTVERSION:S|.||}_beta
X
XMAINTAINER=	jfkimura at yahoo.co.jp
XCOMMENT=	Japanese sound files for Asterisk
X
XRUN_DEPENDS=	asterisk:${PORTSDIR}/net/asterisk
X
XNO_BUILD=	yes
XASTERISKSDIR=	${LOCALBASE}/share/asterisk/sounds
X
Xdo-install:
X	@-${MKDIR} ${ASTERISKSDIR}
X	@${CP} -pR ${WRKDIR}/jp ${ASTERISKSDIR}
X	@${MKDIR} ${DOCSDIR}
X	@${CP} -pv ${WRKDIR}/jp/README.txt ${DOCSDIR}
X
Xpost-install:
X	@cd ${WRKDIR} && ${FIND} ./jp -type f -o -type l | ${SED} -e 's,^\.,${ASTERISKSDIR:S|${LOCALBASE}/||},' > ${TMPPLIST}
X	@cd ${WRKDIR} && ${FIND} ./jp -type d -depth  | ${SED} -e 's,^\., at dirrm ${ASTERISKSDIR:S|${LOCALBASE}/||},' >> ${TMPPLIST}
X	@${ECHO} ${DOCSDIR:S|${LOCALBASE}/||}/README.txt >> ${TMPPLIST}
X	@${ECHO} "@dirrm" ${DOCSDIR:S|${LOCALBASE}/||}  >> ${TMPPLIST}
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-./asterisk-sound-jp/Makefile
exit
=== ended  ===

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list