From hige@higesoft.rim.or.jp  Tue Jul 11 08:47:33 2000
Return-Path: <hige@higesoft.rim.or.jp>
Received: from ns.rim.or.jp (ns.rim.or.jp [202.247.128.2])
	by hub.freebsd.org (Postfix) with ESMTP id D87E237B583
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 11 Jul 2000 08:47:27 -0700 (PDT)
	(envelope-from hige@higesoft.rim.or.jp)
Received: from rayearth.rim.or.jp (uucp@rayearth.rim.or.jp [202.247.130.242])
	by ns.rim.or.jp (8.9.3/3.6W-RIMNET-98-06-09) with ESMTP id AAA62392
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Jul 2000 00:47:26 +0900 (JST)
Received: (from uucp@localhost) by rayearth.rim.or.jp (8.8.8/3.5Wpl2-uucp1/RIMNET) with UUCP
	id AAA18707 for FreeBSD-gnats-submit@freebsd.org; Wed, 12 Jul 2000 00:47:25 +0900 (JST)
Received: (from hige@localhost)
	by higesoft.rim.or.jp (8.9.3/3.7W) id XAA21821;
	Tue, 11 Jul 2000 23:44:26 +0900 (JST)
Message-Id: <200007111444.XAA21821@higesoft.rim.or.jp>
Date: Tue, 11 Jul 2000 23:44:26 +0900 (JST)
From: hige@higesoft.rim.or.jp
Reply-To: hige@higesoft.rim.or.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update : japanese/kebook-i18n 
X-Send-Pr-Version: 3.2

>Number:         19851
>Category:       ports
>Synopsis:       Update: japanese/kebook-i18n
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 11 08:50:00 PDT 2000
>Closed-Date:    Tue Jul 11 19:46:55 PDT 2000
>Last-Modified:  Tue Jul 11 19:47:54 PDT 2000
>Originator:     SUZUKI Mitsuhiro
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
None
>Environment:
>Description:
Updates for kebook-0.3.5 and slight problems.

>How-To-Repeat:
>Fix:
diff -urN kebook-i18n.old/Makefile kebook-i18n/Makefile
--- kebook-i18n.old/Makefile	Tue Jul 11 18:46:48 2000
+++ kebook-i18n/Makefile	Tue Jul 11 18:50:28 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=      kebook
-PORTVERSION=   0.3.4
+PORTVERSION=   0.3.5
 CATEGORIES=    japanese kde
 MASTER_SITES=  http://www.os.rim.or.jp/~s_mitu/library/kebook/ \
 		ftp://ftp.kde.gr.jp/pub/kde/unstable/contrib/
@@ -19,21 +19,24 @@
 		kdecore.2:${PORTSDIR}/x11/kdelibs11-i18n \
 		kfm.2:${PORTSDIR}/x11/kdebase11-i18n \
 		eb.3:${PORTSDIR}/japanese/eb
+BUILD_DEPENDS=	msgfmt:${PORTSDIR}/devel/gettext
 
 USE_BZIP2=      yes
 USE_GMAKE=      yes
 USE_NEWGCC=     yes
 USE_LIBTOOL=    yes
 
-CONFIGURE_ARGS= "--with-qt-includes=${QTDIR}/include/X11/qt" \
-		"--with-eb-includes=$(LOCALBASE)/include" \
-		"--with-eb-libraries=$(LOCALBASE)/lib" \
+CONFIGURE_ARGS= "--with-qt-dir=${QTDIR}" \
+		"--with-qt-includes=${QTDIR}/include/X11/qt" \
+		"--with-qt-libraries=${QTDIR}/lib" \
+		"--with-eb-includes=${LOCALBASE}/include" \
+		"--with-eb-libraries=${LOCALBASE}/lib" \
 		"--with-extra-includes=${LOCALBASE}/include" \
 		"--with-extra-libs=${LOCALBASE}/lib"
-CONFIGURE_ENV=	CPPFLAGS=-I$(LOCALBASE)/include \
-		LDFLAGS=-L$(LOCALBASE)/lib \
-		X_EXTRA_LIBS="-lxpg4" \
+CONFIGURE_ENV=	CPPFLAGS=-I${LOCALBASE}/include \
+		LDFLAGS=-L${LOCALBASE}/lib \
 		QTDIR=${QTDIR}
+
 CXXFLAGS?=      ${CFLAGS}
 
 DOCDIR=         share/apps/kebook/doc
@@ -45,6 +48,12 @@
 QTDIR?=         ${X11BASE}
 .endif
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 400020 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500005 )
+CONFIGURE_ENV+=	X_EXTRA_LIBS="-lxpg4"
+.endif
+
 post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${PREFIX}/${DOCDIR}
@@ -53,4 +62,4 @@
 	done
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN kebook-i18n.old/files/md5 kebook-i18n/files/md5
--- kebook-i18n.old/files/md5	Tue Jul 11 18:46:47 2000
+++ kebook-i18n/files/md5	Thu Jun 22 05:29:47 2000
@@ -1 +1 @@
-MD5 (kebook-0.3.4.tar.bz2) = 9b19aeef4b392e356a1f65a186f86d47
+MD5 (kebook-0.3.5.tar.bz2) = 7f3207b900294695d357dbbcec5249f8
diff -urN kebook-i18n.old/pkg/DESCR kebook-i18n/pkg/DESCR
--- kebook-i18n.old/pkg/DESCR	Tue Jul 11 18:46:48 2000
+++ kebook-i18n/pkg/DESCR	Tue Jun 27 03:12:17 2000
@@ -1,5 +1,6 @@
-KEBook is a KDE application with which you look up words
-in your CD-ROM books of EB, EBG, EBXA, EBXA-C, S-EBXA and EPWING formats.
+KEBook is a KDE application which lets you look up words in electronic
+books on CD-ROM. It supports the EB, EBG, EBXA, EBXA-C, S-EBXA, and
+EPWING formats.
 
 WWW: http://www.os.rim.or.jp/~s_mitu/library/mysofts.html#kebook
 

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: kevlo 
State-Changed-When: Tue Jul 11 19:46:55 PDT 2000 
State-Changed-Why:  
Patch applied, thanks. 

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