summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2010-07-28 15:44:05 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2010-07-28 15:44:05 +0000
commite2a9c44f378433aac8881ac36bbf2ce8a93b31bb (patch)
treef23b76759aa7965721285e309ed7173cae8f46dd /japanese
parentFix a division by zero bug. (diff)
- Use $SUB_FILES to dynamically adjust pkg-message
Submitted by: tota Approved by: Fumihiko Kimura <jfkimura_AT_yahoo.co.jp> (maintainer)
Notes
Notes: svn path=/head/; revision=258389
Diffstat (limited to 'japanese')
-rw-r--r--japanese/asterisk-sounds/Makefile2
-rw-r--r--japanese/asterisk-sounds/files/pkg-message.in (renamed from japanese/asterisk-sounds/pkg-message)13
-rw-r--r--japanese/asterisk14-sounds/Makefile2
-rw-r--r--japanese/asterisk14-sounds/files/pkg-message.in (renamed from japanese/asterisk14-sounds/pkg-message)13
4 files changed, 18 insertions, 12 deletions
diff --git a/japanese/asterisk-sounds/Makefile b/japanese/asterisk-sounds/Makefile
index 274464a3aec9..1f441d06e609 100644
--- a/japanese/asterisk-sounds/Makefile
+++ b/japanese/asterisk-sounds/Makefile
@@ -22,6 +22,8 @@ RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk
NO_BUILD= yes
ASTERISKDIR= ${DATADIR}/${PKGNAMESUFFIX:S|-||}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+SUB_FILES= pkg-message
+SUB_LIST= PORTSDIR=${PORTSDIR}
post-extract:
${MV} ${WRKDIR}/jp/README.txt ${WRKDIR}
diff --git a/japanese/asterisk-sounds/pkg-message b/japanese/asterisk-sounds/files/pkg-message.in
index 71a9bec9527a..f81b1f59d144 100644
--- a/japanese/asterisk-sounds/pkg-message
+++ b/japanese/asterisk-sounds/files/pkg-message.in
@@ -2,17 +2,18 @@
[FYI]
To get natural word order in Japanese sentences
- you can patch to net/asterisk and reinstall it as below.
+ you can patch to %%PORTSDIR%%/net/asterisk and reinstall it as below.
For example,
1. Download app_voicemail.c.yymmdd-01.patch and say.c.yymmdd-01.patch from
ftp://ftp.voip-info.jp/asterisk/patch/1.4.X/
where 1.4.X is corresponding to PORTVERSION in
- ports/net/asterisk/Makefile.
- 2. Put them to ports/net/asterisk/files as patch-apps::app_voicemail.c and
- patch-main::say.c, respectively.
- 3. Reinstall net/asterisk.
- 4. Add the following options section to asterisk.conf.
+ %%PORTSDIR%%/net/asterisk/Makefile.
+ 2. Put them to %%PORTSDIR%%/net/asterisk/files as
+ patch-apps::app_voicemail.c and patch-main::say.c, respectively.
+ 3. Reinstall %%PORTSDIR%%/net/asterisk.
+ 4. Add the following options section to
+ %%LOCALBASE%%/etc/asterisk/asterisk.conf.
[options]
languageprefix=yes
diff --git a/japanese/asterisk14-sounds/Makefile b/japanese/asterisk14-sounds/Makefile
index 274464a3aec9..1f441d06e609 100644
--- a/japanese/asterisk14-sounds/Makefile
+++ b/japanese/asterisk14-sounds/Makefile
@@ -22,6 +22,8 @@ RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk
NO_BUILD= yes
ASTERISKDIR= ${DATADIR}/${PKGNAMESUFFIX:S|-||}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+SUB_FILES= pkg-message
+SUB_LIST= PORTSDIR=${PORTSDIR}
post-extract:
${MV} ${WRKDIR}/jp/README.txt ${WRKDIR}
diff --git a/japanese/asterisk14-sounds/pkg-message b/japanese/asterisk14-sounds/files/pkg-message.in
index 71a9bec9527a..f81b1f59d144 100644
--- a/japanese/asterisk14-sounds/pkg-message
+++ b/japanese/asterisk14-sounds/files/pkg-message.in
@@ -2,17 +2,18 @@
[FYI]
To get natural word order in Japanese sentences
- you can patch to net/asterisk and reinstall it as below.
+ you can patch to %%PORTSDIR%%/net/asterisk and reinstall it as below.
For example,
1. Download app_voicemail.c.yymmdd-01.patch and say.c.yymmdd-01.patch from
ftp://ftp.voip-info.jp/asterisk/patch/1.4.X/
where 1.4.X is corresponding to PORTVERSION in
- ports/net/asterisk/Makefile.
- 2. Put them to ports/net/asterisk/files as patch-apps::app_voicemail.c and
- patch-main::say.c, respectively.
- 3. Reinstall net/asterisk.
- 4. Add the following options section to asterisk.conf.
+ %%PORTSDIR%%/net/asterisk/Makefile.
+ 2. Put them to %%PORTSDIR%%/net/asterisk/files as
+ patch-apps::app_voicemail.c and patch-main::say.c, respectively.
+ 3. Reinstall %%PORTSDIR%%/net/asterisk.
+ 4. Add the following options section to
+ %%LOCALBASE%%/etc/asterisk/asterisk.conf.
[options]
languageprefix=yes