From 0c5d130ac86d2468043d16e3b901b29fff341bda Mon Sep 17 00:00:00 2001 From: pgollucci Date: Sun, 31 Jan 2010 03:43:42 +0000 Subject: - use $SUB_FILES to dynamically adjust pkg-message PR: ports/142584 Submitted by: Sevan Janiyan Approved by: maintainer timeout (onatan@gmail.com; > 2 weeks) --- hebrew/hspell/Makefile | 4 +++- hebrew/hspell/files/pkg-message.in | 18 ++++++++++++++++++ hebrew/hspell/pkg-message | 18 ------------------ 3 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 hebrew/hspell/files/pkg-message.in delete mode 100644 hebrew/hspell/pkg-message (limited to 'hebrew/hspell') diff --git a/hebrew/hspell/Makefile b/hebrew/hspell/Makefile index eb1868d46f50..3fa2e0a4ef6c 100644 --- a/hebrew/hspell/Makefile +++ b/hebrew/hspell/Makefile @@ -22,8 +22,10 @@ CFLAGS+= -fPIC MAN1= hspell.1 MAN3= hspell.3 +SUB_FILES= pkg-message +SUB_LIST= PORTSDIR=${PORTSDIR} post-install: - @${SED} -e "s:%%PORTSDIR%%:${PORTSDIR}:g" ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include diff --git a/hebrew/hspell/files/pkg-message.in b/hebrew/hspell/files/pkg-message.in new file mode 100644 index 000000000000..757d32298ea3 --- /dev/null +++ b/hebrew/hspell/files/pkg-message.in @@ -0,0 +1,18 @@ + +The recommended usage of this port is first to teach your terminal to display +hebrew fonts, like this: + +vidcontrol < /dev/ttyv0 -f 8x16 iso08-8x16.fnt + +or set this in /etc/rc.conf: + +font8x16=iso08-8x16.fnt + +Then, it would be wise to install bidiv from %%PORTSDIR%%/textproc/bidiv +and run Hspell: + +hspell file.txt | bidiv + +Plus, Hspell can use Ispell as a slave (option -i or executable hspell-i). +Ispell can be found in %%PORTSDIR%%/textproc/ispell . + diff --git a/hebrew/hspell/pkg-message b/hebrew/hspell/pkg-message deleted file mode 100644 index 757d32298ea3..000000000000 --- a/hebrew/hspell/pkg-message +++ /dev/null @@ -1,18 +0,0 @@ - -The recommended usage of this port is first to teach your terminal to display -hebrew fonts, like this: - -vidcontrol < /dev/ttyv0 -f 8x16 iso08-8x16.fnt - -or set this in /etc/rc.conf: - -font8x16=iso08-8x16.fnt - -Then, it would be wise to install bidiv from %%PORTSDIR%%/textproc/bidiv -and run Hspell: - -hspell file.txt | bidiv - -Plus, Hspell can use Ispell as a slave (option -i or executable hspell-i). -Ispell can be found in %%PORTSDIR%%/textproc/ispell . - -- cgit