Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2010 19:16:01 GMT
From:      Sevan Janiyan <venture37@geeklan.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/142539: [patch] graphics/inventor use $SUB_FILES to dynamically adjust pkg-message
Message-ID:  <201001091916.o09JG17V055377@www.freebsd.org>
Resent-Message-ID: <201001091920.o09JK2II046469@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         142539
>Category:       ports
>Synopsis:       [patch] graphics/inventor 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:   Sat Jan 09 19:20:02 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/graphics/inventor/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile	18 Jul 2009 11:10:53 -0000	1.17
+++ Makefile	9 Jan 2010 19:08:03 -0000
@@ -145,11 +145,13 @@
 	SoXtExaminerViewer.3iv SoXtFlyViewer.3iv SoXtFullViewer.3iv \
 	SoXtPlaneViewer.3iv SoXtViewer.3iv SoXtWalkViewer.3iv
 
+SUB_FILES=	pkg-message
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ;\
 			      s|%%CXX%%|${CXX}|g ; \
 			      s|%%CXXFLAGS%%|${CXXFLAGS}|g'  ${WRKSRC}/make/ivcommondefs
 post-install:
-	@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	30 Jan 2005 09:04:51 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
-
-*******************************************************************************
-
-Please set the environment variable FL_FONT_PATH to the directory where your
-TrueType fonts are installed. If you do not set this variable, Open Inventor(TM)
-will use %%PREFIX%%/lib/X11/fonts/TTF as default.
-
-Open Inventor (TM) needs the following TrueType fonts:
-
-    - Times-Roman
-    - Helvetica
-    - Utopia-Regular
-
-You should make symbolic links of the TrueType fonts to the OpenInventor (TM)
-font names if they are not available:
-
-    # cd %%PREFIX%%/lib/X11/fonts/TTF
-    # ln -s times.ttf Times-Roman
-    # ln -s arial.ttf Helvetica
-    # ln -s cour.ttf Utopia-Regular
-
-*******************************************************************************
-
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	9 Jan 2010 19:08:03 -0000
@@ -0,0 +1,23 @@
+
+*******************************************************************************
+
+Please set the environment variable FL_FONT_PATH to the directory where your
+TrueType fonts are installed. If you do not set this variable, Open Inventor(TM)
+will use %%PREFIX%%/lib/X11/fonts/TTF as default.
+
+Open Inventor (TM) needs the following TrueType fonts:
+
+    - Times-Roman
+    - Helvetica
+    - Utopia-Regular
+
+You should make symbolic links of the TrueType fonts to the OpenInventor (TM)
+font names if they are not available:
+
+    # cd %%PREFIX%%/lib/X11/fonts/TTF
+    # ln -s times.ttf Times-Roman
+    # ln -s arial.ttf Helvetica
+    # ln -s cour.ttf Utopia-Regular
+
+*******************************************************************************
+


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001091916.o09JG17V055377>