diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2007-09-06 22:27:52 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2007-09-06 22:27:52 +0000 |
commit | de6ccea84d9635879f04c46022b44200bb8be8bb (patch) | |
tree | 67f6f628b1a5426604fbf950482048f2c46ef5a5 /japanese/asterisk-sounds | |
parent | 2fd519b3e22a8df65f7d861fc654076ee095eacd (diff) | |
download | ports-de6ccea84d9635879f04c46022b44200bb8be8bb.tar.gz ports-de6ccea84d9635879f04c46022b44200bb8be8bb.zip |
Notes
Diffstat (limited to 'japanese/asterisk-sounds')
-rw-r--r-- | japanese/asterisk-sounds/Makefile | 35 | ||||
-rw-r--r-- | japanese/asterisk-sounds/distinfo | 3 | ||||
-rw-r--r-- | japanese/asterisk-sounds/pkg-descr | 5 | ||||
-rw-r--r-- | japanese/asterisk-sounds/pkg-message | 19 |
4 files changed, 62 insertions, 0 deletions
diff --git a/japanese/asterisk-sounds/Makefile b/japanese/asterisk-sounds/Makefile new file mode 100644 index 000000000000..f0236d573e04 --- /dev/null +++ b/japanese/asterisk-sounds/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: asterisk-sounds-jp +# Date created: 27 June 2007 +# Whom: Fumihiko Kimura <jfkimura@yahoo.co.jp> +# +# $FreeBSD$ +# + +PORTNAME= asterisk-sounds +PORTVERSION= 1.4 +CATEGORIES= japanese net +MASTER_SITES= ftp://ftp.voip-info.jp/asterisk/sounds/ +DISTNAME= ${PORTVERSION:S|.|_|}/${PORTNAME:S|sounds|sound|}-jp_${PORTVERSION:S|.||}_beta + +MAINTAINER= jfkimura@yahoo.co.jp +COMMENT= Japanese sound files for Asterisk + +RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk + +NO_BUILD= yes +ASTERISKSDIR= ${LOCALBASE}/share/asterisk/sounds + +do-install: + @-${MKDIR} ${ASTERISKSDIR} + @${CP} -pR ${WRKDIR}/jp ${ASTERISKSDIR} + @${MKDIR} ${DOCSDIR} + @${CP} -pv ${WRKDIR}/jp/README.txt ${DOCSDIR} + +post-install: + @cd ${WRKDIR} && ${FIND} ./jp -type f -o -type l | ${SED} -e 's,^\.,${ASTERISKSDIR:S|${LOCALBASE}/||},' > ${TMPPLIST} + @cd ${WRKDIR} && ${FIND} ./jp -type d -depth | ${SED} -e 's,^\.,@dirrm ${ASTERISKSDIR:S|${LOCALBASE}/||},' >> ${TMPPLIST} + @${ECHO} ${DOCSDIR:S|${LOCALBASE}/||}/README.txt >> ${TMPPLIST} + @${ECHO} "@dirrm" ${DOCSDIR:S|${LOCALBASE}/||} >> ${TMPPLIST} + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/japanese/asterisk-sounds/distinfo b/japanese/asterisk-sounds/distinfo new file mode 100644 index 000000000000..9ac1f47b7c2f --- /dev/null +++ b/japanese/asterisk-sounds/distinfo @@ -0,0 +1,3 @@ +MD5 (1_4/asterisk-sound-jp_14_beta.tar.gz) = f03267b41be8d9e3fe1051d87ed19d01 +SHA256 (1_4/asterisk-sound-jp_14_beta.tar.gz) = 15cde0b2de41a13dd009e517f2d28ac0859b07aad3979b120fe47bece66615df +SIZE (1_4/asterisk-sound-jp_14_beta.tar.gz) = 945915 diff --git a/japanese/asterisk-sounds/pkg-descr b/japanese/asterisk-sounds/pkg-descr new file mode 100644 index 000000000000..4ea8c4524b70 --- /dev/null +++ b/japanese/asterisk-sounds/pkg-descr @@ -0,0 +1,5 @@ +This is a Japanese sound files for Asterisk. +When you use Asterisk, you can use it in a limit, royalty-free. +Please refer to Japanese ReadMe.txt. + +WWW: http://voip-info.jp/ diff --git a/japanese/asterisk-sounds/pkg-message b/japanese/asterisk-sounds/pkg-message new file mode 100644 index 000000000000..76b44fdfbcc0 --- /dev/null +++ b/japanese/asterisk-sounds/pkg-message @@ -0,0 +1,19 @@ + +============================================================================= +[FYI] + There is 2 patch files for Japanese grammar of Asterisk to a ftp server. + + - set patch files into ports/asterisk/files + patch-apps::app_voicemail.c + patch-main::say.c + see ftp://ftp.voip-info.jp/asterisk/patch/ + + - recompile of Asterisk ports + + + You have to validate next two lines in asterisk.conf. + + [options] + languageprefix=yes + +============================================================================= |