diff options
author | tota <tota@FreeBSD.org> | 2010-07-28 23:44:05 +0800 |
---|---|---|
committer | tota <tota@FreeBSD.org> | 2010-07-28 23:44:05 +0800 |
commit | fea41a1e467052511b3517aa289f8734201ade5a (patch) | |
tree | 0f232a887a507a09a4505e232bb5816a99ac8e09 /japanese | |
parent | ac8699b226da89b00a75d50aab78952b16ab3a90 (diff) | |
download | freebsd-ports-gnome-fea41a1e467052511b3517aa289f8734201ade5a.tar.gz freebsd-ports-gnome-fea41a1e467052511b3517aa289f8734201ade5a.tar.zst freebsd-ports-gnome-fea41a1e467052511b3517aa289f8734201ade5a.zip |
- Use $SUB_FILES to dynamically adjust pkg-message
Submitted by: tota
Approved by: Fumihiko Kimura <jfkimura_AT_yahoo.co.jp> (maintainer)
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/asterisk-sounds/Makefile | 2 | ||||
-rw-r--r-- | japanese/asterisk-sounds/files/pkg-message.in (renamed from japanese/asterisk-sounds/pkg-message) | 13 | ||||
-rw-r--r-- | japanese/asterisk14-sounds/Makefile | 2 | ||||
-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 |