Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2010 21:59:41 GMT
From:      Sevan Janiyan <venture37@geeklan.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        matusita@FreeBSD.org
Subject:   ports/142615: [PATCH] japanese/ja-dbskkd-cdb: use $SUB_FILES to dynamically adjust pkg-message 
Message-ID:  <201001102159.o0ALxfov001678@newbie.thingamajig-systems.co.uk>
Resent-Message-ID: <201001102220.o0AMK1xf002474@freefall.freebsd.org>

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

>Number:         142615
>Category:       ports
>Synopsis:       [PATCH] japanese/ja-dbskkd-cdb: 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 22:20:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sevan Janiyan
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD newbie.thingamajig-systems.co.uk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC
>Description:
use $SUB_FILES to dynamically adjust pkg-message instead of invoking sed manually

Added file(s):
- files/pkg-message.in

Removed file(s):
- pkg-message

Port maintainer (matusita@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- ja-dbskkd-cdb-2.00.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/dbskkd-cdb/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile	10 Feb 2009 17:04:26 -0000	1.19
+++ Makefile	10 Jan 2010 21:56:36 -0000
@@ -19,6 +19,7 @@
 RUN_DEPENDS=	${SKKJISYOCDB}:${PORTSDIR}/japanese/skk-jisyo-cdb
 
 PLIST_FILES=	libexec/dbskkd-cdb
+SUB_FILES=	pkg-message
 
 SKKDIR?=	share/skk
 SKKJISYO_TYPE?=	L
@@ -51,6 +52,6 @@
 	${INSTALL_SCRIPT} ${WRKSRC}/${docs} ${DOCSDIR}
 .endfor
 .endif
-	@${SED} 's|/usr/local|${PREFIX}|' ${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	10 Feb 2009 17:04:26 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,8 +0,0 @@
-
-Note:
-Dbskkd-cdb is designed to run with inetd or daemontools.  Example config
-for both superdaemons are available at /usr/local/share/doc/dbskkd-cdb.
-
-Also note that dbskkd-cdb no longer required to run 'root' (1.71dev does),
-nor chroot(8) to the dictionary directory.
-
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 21:56:36 -0000
@@ -0,0 +1,8 @@
+
+Note:
+Dbskkd-cdb is designed to run with inetd or daemontools.  Example config
+for both superdaemons are available at %%DOCSDIR%%.
+
+Also note that dbskkd-cdb no longer required to run 'root' (1.71dev does),
+nor chroot(8) to the dictionary directory.
+
--- ja-dbskkd-cdb-2.00.patch ends here ---

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



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