- Use $SUB_FILES to dynamically adjust pkg-message

Submitted by:	tota
Approved by:	Fumihiko Kimura <jfkimura_AT_yahoo.co.jp> (maintainer)
This commit is contained in:
TAKATSU Tomonari 2010-07-28 15:44:05 +00:00
parent 3fc67c541d
commit e2a9c44f37
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258389
4 changed files with 18 additions and 12 deletions

View file

@ -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}

View file

@ -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

View file

@ -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}

View file

@ -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