Skip site navigation (1)Skip section navigation (2)
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:   ports/97728: [patch]net-im/kf
Message-ID:  <1148418303.69563@mwilke.ath.cx>
Resent-Message-ID: <200605232110.k4NLAQTp079148@freefall.freebsd.org>

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

>Number:         97728
>Category:       ports
>Synopsis:       [patch]net-im/kf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 23 21:10:26 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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