From chinsan.tw@gmail.com  Sat Jul  8 23:58:50 2006
Return-Path: <chinsan.tw@gmail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C316516A4DF
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  8 Jul 2006 23:58:50 +0000 (UTC)
	(envelope-from chinsan.tw@gmail.com)
Received: from smtp2.bc.hgc.com.tw (smtp2.bc.hgc.com.tw [203.133.1.156])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6F84B43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  8 Jul 2006 23:58:50 +0000 (GMT)
	(envelope-from chinsan.tw@gmail.com)
Received: from smtp2.bc.hgc.com.tw (61-63-0-host123.kbtelecom.net.tw [61.63.0.123])
	by smtp2.bc.hgc.com.tw (Postfix) with SMTP id C21B12E970
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  9 Jul 2006 07:58:49 +0800 (CST)
Received: by smtp2.bc.hgc.com.tw (sSMTP sendmail emulation); Sun,  9 Jul 2006 07:46:56 +0800
Message-Id: <20060708235849.C21B12E970@smtp2.bc.hgc.com.tw>
Date: Sun,  9 Jul 2006 07:46:56 +0800
From: chinsan <chinsan.tw@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] textproc/sdcv: Add instruction for using sdcv
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         99946
>Category:       ports
>Synopsis:       [MAINTAINER] textproc/sdcv: Add instruction for using sdcv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 09 00:00:33 GMT 2006
>Closed-Date:    Sun Jul 09 01:20:27 GMT 2006
>Last-Modified:  Sun Jul 09 01:20:27 GMT 2006
>Originator:     chinsan
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Taiwan
>Environment:
System: FreeBSD BSD6.giga.hgc.com.tw 6.1-STABLE FreeBSD 6.1-STABLE #4: Fri Jun  9 14:02:41 CST
>Description:
- Add instruction for using sdcv

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

Removed file(s):
- files/patch-configure

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

--- sdcv-0.4.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/sdcv/Makefile /usr/home/chinsan/project/sdcv/Makefile
--- /usr/ports/textproc/sdcv/Makefile	Thu Jul  6 03:29:51 2006
+++ /usr/home/chinsan/project/sdcv/Makefile	Sun Jul  9 07:43:51 2006
@@ -20,6 +20,8 @@
 USE_AUTOTOOLS=	libtool:15
 USE_GNOME=	glib20
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+PKGMESSAGE=	${WRKDIR}/pkg-message
+SUB_FILES=	pkg-message
 
 .if !defined(WITHOUT_NLS)
 USE_GETTEXT=	yes
@@ -61,5 +63,8 @@
 	@${REINPLACE_CMD} -e 's, getopt.h,,g; s,@USE_NLS@,yes,g' \
 		${WRKSRC}/src/Makefile.in
 .endif
+
+post-install:
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/textproc/sdcv/files/patch-configure /usr/home/chinsan/project/sdcv/files/patch-configure
--- /usr/ports/textproc/sdcv/files/patch-configure	Thu Jul  6 03:29:51 2006
+++ /usr/home/chinsan/project/sdcv/files/patch-configure	Thu Jan  1 08:00:00 1970
@@ -1,11 +0,0 @@
---- configure.orig	Mon Apr 24 18:57:24 2006
-+++ configure	Fri May  5 17:24:17 2006
-@@ -5745,6 +5745,8 @@
- 
- cat >>confdefs.h <<\_ACEOF
- #define HAVE_GETTEXT 1
-+USE_NLS=yes
-+#define ENABLE_NLS 1
- _ACEOF
- 
- 
diff -ruN --exclude=CVS /usr/ports/textproc/sdcv/files/pkg-message.in /usr/home/chinsan/project/sdcv/files/pkg-message.in
--- /usr/ports/textproc/sdcv/files/pkg-message.in	Thu Jan  1 08:00:00 1970
+++ /usr/home/chinsan/project/sdcv/files/pkg-message.in	Sun Jul  9 07:38:46 2006
@@ -0,0 +1,14 @@
+**************************************************************************
+sdcv is now installed. 
+you have to fetch the dictionaries to make it work correctly.
+
+1. Make directory for dictionaries files :
+
+	# mkdir -p %%PREFIX%%/share/stardict/dict
+
+
+2. Please put your dictionary file at :
+
+ 	%%PREFIX%%/share/stardict/dict/
+
+************************************************************************** 
--- sdcv-0.4.2.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Sun Jul 9 00:06:07 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99946 
State-Changed-From-To: open->closed 
State-Changed-By: itetcu 
State-Changed-When: Sun Jul 9 01:20:24 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99946 
>Unformatted:
