Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2010 17:38:19 GMT
From:      Sevan Janiyan <venture37@geeklan.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/142586: [patch] irc/dircproxy use $SUB_FILES to dynamically adjust pkg-message 
Message-ID:  <201001101738.o0AHcJMQ054378@www.freebsd.org>
Resent-Message-ID: <201001101740.o0AHe599055294@freefall.freebsd.org>

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

>Number:         142586
>Category:       ports
>Synopsis:       [patch] irc/dircproxy 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:40:04 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/irc/dircproxy/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile	5 Nov 2007 12:11:57 -0000	1.14
+++ Makefile	10 Jan 2010 17:32:30 -0000
@@ -18,8 +18,9 @@
 GNU_CONFIGURE=	yes
 
 MAN1=		dircproxy.1 dircproxy-crypt.1
+SUB_FILES=	pkg-message
 
 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	10 Mar 2001 19:49:24 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,5 +0,0 @@
-
-A default dircproxy configuration file has been installed as
-%%PREFIX%%/share/dircproxy/dircproxyrc.
-Please read this and the dircproxy(1) manpage to set up dircproxy.
-
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:32:30 -0000
@@ -0,0 +1,4 @@
+
+A default dircproxy configuration file has been installed as
+%%DATADIR%%/dircproxyrc.
+Please read this and the dircproxy(1) manpage to set up dircproxy.


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



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