ports/142584: [patch] hebrew/hspell use $SUB_FILES to dynamically adjust pkg-message

Sevan Janiyan venture37 at geeklan.co.uk
Sun Jan 10 17:30:02 UTC 2010


>Number:         142584
>Category:       ports
>Synopsis:       [patch] hebrew/hspell use $SUB_FILES to dynamically adjust pkg-message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 10 17:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sevan Janiyan
>Release:        
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/hebrew/hspell/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	24 Jan 2009 19:12:31 -0000	1.9
+++ Makefile	10 Jan 2010 17:16:22 -0000
@@ -22,8 +22,10 @@
 
 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 <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	1 Dec 2004 20:15:49 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -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 .
-
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in	10 Jan 2010 17:16:22 -0000
@@ -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 .
+


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list