From freebsd@unixfreunde.de  Tue May 23 21:05:10 2006
Return-Path: <freebsd@unixfreunde.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ABD8516B008;
	Tue, 23 May 2006 21:05:10 +0000 (UTC)
	(envelope-from freebsd@unixfreunde.de)
Received: from unixfreunde.net (unixfreunde.de [85.214.35.254])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B1F0A43D58;
	Tue, 23 May 2006 21:05:04 +0000 (GMT)
	(envelope-from freebsd@unixfreunde.de)
Received: by unixfreunde.net (Postfix, from userid 65534)
	id 77F3C50666; Tue, 23 May 2006 23:05:07 +0200 (CEST)
Received: from mwilke.ath.cx (p548D26F4.dip0.t-ipconnect.de [84.141.38.244])
	by unixfreunde.net (Postfix) with ESMTP id 2A58650643;
	Tue, 23 May 2006 23:05:07 +0200 (CEST)
Message-Id: <1148418303.69563@mwilke.ath.cx>
Date: Tue, 23 May 2006 23:05:03 +0200
From: "Martin Wilke" <freebsd@unixfreunde.de>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Cc: anray@FreeBSD.org
Subject: [patch]net-im/kf
X-Send-Pr-Version: gtk-send-pr 0.4.7 
X-GNATS-Notify:

>Number:         97728
>Category:       ports
>Synopsis:       [patch]net-im/kf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    anray
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 23 21:10:26 GMT 2006
>Closed-Date:    Tue May 23 21:26:38 GMT 2006
>Last-Modified:  Tue May 23 21:26:38 GMT 2006
>Originator:     Martin Wilke
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 7.0-CURRENT #142: Thu May 18 07:57:01 CEST 2006
    splash@mwilke.ath.cx:/usr/obj/usr/src/sys/BSDBOX



>Description:


- change mirror
- maintainer cc'd
- pkg-plist fixed (portlint -A)

Fix: http://people.freebsd.org/~fenner/portsurvey/net-im.html#kf


>How-To-Repeat:





>Fix:


--- kf.diff begins here ---
diff -ruN /usr/ports/net-im/kf/Makefile ports/net-im/kf/Makefile
--- /usr/ports/net-im/kf/Makefile	Fri Feb 24 20:24:57 2006
+++ ports/net-im/kf/Makefile	Tue May 23 19:31:35 2006
@@ -8,7 +8,8 @@
 PORTNAME=	kf
 PORTVERSION=	0.5.4.1
 CATEGORIES=	net-im
-MASTER_SITES=	http://files.jabberstudio.org/kf/
+MASTER_SITES=	http://jabberstudio.rediris.es/kf/ \
+		http://freebsd.unixfreunde.de/sources/
 
 MAINTAINER=	anray@FreeBSD.org
 COMMENT=	A simple Jabber client using the GTK+ 2.0 toolkit
@@ -27,6 +28,15 @@
 .ifndef(WITHOUT_GTKSPELL)
 LIB_DEPENDS+=	gtkspell.0:${PORTSDIR}/textproc/gtkspell2
 CONFIGURE_ARGS+=	--enable-gtkspell
+.endif
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT=		yes
+CONFIGURE_ARGS+=	--enable-nls
+PLIST_SUB=		NLS=""
+.else
+CONFIGURE_ARGS+=	--disable-nls
+PLIST_SUB=		NLS="@comment "
 .endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/net-im/kf/pkg-plist ports/net-im/kf/pkg-plist
--- /usr/ports/net-im/kf/pkg-plist	Sun Jan 22 10:54:59 2006
+++ ports/net-im/kf/pkg-plist	Tue May 23 19:41:25 2006
@@ -114,16 +114,15 @@
 %%DATADIR%%/unavailable.png
 %%DATADIR%%/unavailable_desc.png
 %%DATADIR%%/unknown.png
-%%DATADIR%%/vcard.png
 %%DATADIR%%/vcard.glade
 %%DATADIR%%/vcard.glade.h
+%%DATADIR%%/vcard.png
 %%DATADIR%%/www.png
 %%DATADIR%%/xa.png
-share/applications/kf.desktop
-share/locale/bg/LC_MESSAGES/kf.mo
-share/locale/pl/LC_MESSAGES/kf.mo
-share/locale/ru/LC_MESSAGES/kf.mo
-share/pixmaps/kf.png
+%%NLS%%share/locale/bg/LC_MESSAGES/kf.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/kf.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/kf.mo
+%%NLS%%share/pixmaps/kf.png
 @dirrm %%DATADIR%%/emoticons
 @dirrm %%DATADIR%%
 @dirrmtry share/applications
--- kf.diff ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->anray 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue May 23 21:16:10 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97728 
State-Changed-From-To: open->closed 
State-Changed-By: anray 
State-Changed-When: Tue May 23 21:26:36 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

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