ports/142402: [patch] arabic/khotot use $SUB_FILES to dynamically adjust pkg-message

Sevan Janiyan venture37 at geeklan.co.uk
Thu Jan 7 04:00:14 UTC 2010


>Number:         142402
>Category:       ports
>Synopsis:       [patch] arabic/khotot 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:   Thu Jan 07 04:00:13 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/arabic/khotot/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	19 Aug 2009 19:50:29 -0000	1.7
+++ Makefile	7 Jan 2010 03:47:09 -0000
@@ -29,6 +29,7 @@
 .endif
 
 NO_BUILD=	yes
+SUB_FILES=	pkg-message
 
 pre-everything::
 	@${ECHO_MSG} ""
@@ -53,7 +54,6 @@
 	# This is a meta-port, the do-install target is not needed
 
 post-install:
-	@${CAT} ${PKGMESSAGE} | ${SED} "s|LOCALBASE|${LOCALBASE}|g" \
-		${PKGDIR}/pkg-message
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	19 Apr 2008 17:46:06 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-------------------------------------------------------------------
- To get XFree86 to recognize your new fonts you will need to
- add a line to your XF86Config file. Please consult XF86Config(5)
- for more information on where to find the configuration file.
-
- Add the following line to the "Files" section and restart XFree86.
-
- FontPath "LOCALBASE/lib/X11/fonts/ae_fonts_mono"
- FontPath "LOCALBASE/lib/X11/fonts/ae_fonts1/AAHS"
- FontPath "LOCALBASE/lib/X11/fonts/ae_fonts1/AGA"
- FontPath "LOCALBASE/lib/X11/fonts/ae_fonts1/FS"
- FontPath "LOCALBASE/lib/X11/fonts/ae_fonts1/Kasr"
- FontPath "LOCALBASE/lib/X11/fonts/ae_fonts1/MCS"
- FontPath "LOCALBASE/lib/X11/fonts/ae_fonts1/Shmookh"
- FontPath "LOCALBASE/lib/X11/fonts/kacst_fonts"
-------------------------------------------------------------------
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	7 Jan 2010 03:47:09 -0000
@@ -0,0 +1,16 @@
+------------------------------------------------------------------
+ To get XFree86 to recognize your new fonts you will need to
+ add a line to your XF86Config file. Please consult XF86Config(5)
+ for more information on where to find the configuration file.
+
+ Add the following line to the "Files" section and restart XFree86.
+
+ FontPath "%%PREFIX%%/lib/X11/fonts/ae_fonts_mono"
+ FontPath "%%PREFIX%%/lib/X11/fonts/ae_fonts1/AAHS"
+ FontPath "%%PREFIX%%/lib/X11/fonts/ae_fonts1/AGA"
+ FontPath "%%PREFIX%%/lib/X11/fonts/ae_fonts1/FS"
+ FontPath "%%PREFIX%%/lib/X11/fonts/ae_fonts1/Kasr"
+ FontPath "%%PREFIX%%/lib/X11/fonts/ae_fonts1/MCS"
+ FontPath "%%PREFIX%%/lib/X11/fonts/ae_fonts1/Shmookh"
+ FontPath "%%PREFIX%%/lib/X11/fonts/kacst_fonts"
+------------------------------------------------------------------


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



More information about the freebsd-ports-bugs mailing list