From az@waterwall.inec.ru  Fri Apr 22 08:27:03 2005
Return-Path: <az@waterwall.inec.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7111316A4CE
	for <freebsd-gnats-submit@freebsd.org>; Fri, 22 Apr 2005 08:27:03 +0000 (GMT)
Received: from waterwall.inec.ru (waterwall.inec.ru [213.148.3.225])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7F27843D31
	for <freebsd-gnats-submit@freebsd.org>; Fri, 22 Apr 2005 08:27:02 +0000 (GMT)
	(envelope-from az@waterwall.inec.ru)
Received: from waterwall.inec.ru (root@localhost)
  by waterwall.inec.ru (8.13.1/8.12.6) with SMTP id j3M8S9WU064293
    for <freebsd-gnats-submit@freebsd.org>; Fri, 22 Apr 2005 12:28:09 +0400 (MSD)
Received: from waterwall.inec.ru (localhost.inec.ru [127.0.0.1])
  by localhost (8.13.1/8.12.6) with ESMTP id j3M8S8f8064283
    for <FreeBSD-gnats-submit@freebsd.org>; Fri, 22 Apr 2005 12:28:08 +0400 (MSD)
Received: from localhost (localhost.inec.ru [127.0.0.1])
	by localhost (Postfix) with SMTP id EB31F59F13
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 22 Apr 2005 12:28:08 +0400 (MSD)
Received: from waterwall.inec.ru (localhost.inec.ru [127.0.0.1])
	by waterwall.inec.ru (Postfix) with ESMTP id AAP4D4268B598DDF4
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 22 Apr 2005 12:28:08 +0400 (MSD)
Received: (from root@localhost)
	by waterwall.inec.ru (8.13.1/8.12.6/Submit) id j3M8Rw0O064233;
	Fri, 22 Apr 2005 12:27:58 +0400 (MSD)
Message-Id: <200504220827.j3M8Rw0O064233@waterwall.inec.ru>
Date: Fri, 22 Apr 2005 12:27:58 +0400 (MSD)
From: Andrej Zverev <az@inec.ru>
Reply-To: Andrej Zverev <az@inec.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [update] irc/weechat to 0.1.1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         80237
>Category:       ports
>Synopsis:       [update] irc/weechat to 0.1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    clement
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 22 08:30:24 GMT 2005
>Closed-Date:    Sat May 07 09:07:54 GMT 2005
>Last-Modified:  Sat May 07 09:07:54 GMT 2005
>Originator:     Andrej Zverev
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD az.inec.ru 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Thu Mar 31 12:08:50 MSD 2005 az@az.inec.ru:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Update to version 0.1.1
	Add NLS switch
	ChangeLog:
	See http://savannah.nongnu.org/cgi-bin/viewcvs/*checkout*/weechat/weechat/ChangeLog?rev=1.117
	for more details
	
>How-To-Repeat:
	
>Fix:
	Apply this patch
	Thanks
	

--- weechat.diff begins here ---
diff -Nru weechat.orig/Makefile weechat/Makefile
--- weechat.orig/Makefile	Fri Jan 28 16:06:59 2005
+++ weechat/Makefile	Fri Apr 22 11:39:10 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	weechat
-PORTVERSION=	0.0.9
+PORTVERSION=	0.1.1
 CATEGORIES=	irc
 MASTER_SITES=	http://weechat.flashtux.org/download/
 
@@ -15,7 +15,6 @@
 
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-USE_GETTEXT=	yes
 
 CFLAGS+=		-I${LOCALBASE}/include
 CONFIGURE_ENV+=		LIBS="-L${LOCALBASE}/lib -lintl"
@@ -23,7 +22,19 @@
 
 MAN1=		weechat-curses.1
 
-PLIST_FILES=	bin/weechat-curses share/locale/fr/LC_MESSAGES/weechat.mo
+PLIST_FILES=	bin/weechat-curses
+
+.for lang in fr es
+PLIST_FILES+=	%%NLS%%share/locale/${lang}/LC_MESSAGES/weechat.mo
+.endfor
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT=	yes
+PLIST_SUB+=	NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+=	NLS="@comment "
+.endif
 
 pre-configure:
 	@${CP} ${LOCALBASE}/share/gettext/config.rpath ${WRKSRC}
diff -Nru weechat.orig/distinfo weechat/distinfo
--- weechat.orig/distinfo	Fri Jan 28 16:06:59 2005
+++ weechat/distinfo	Fri Apr 22 10:30:54 2005
@@ -1,2 +1,2 @@
-MD5 (weechat-0.0.9.tar.bz2) = eae12f480ddf8c7269d01e24f84e384f
-SIZE (weechat-0.0.9.tar.bz2) = 325505
+MD5 (weechat-0.1.1.tar.bz2) = 9656e9dd8d3315b975061d1df6f10e36
+SIZE (weechat-0.1.1.tar.bz2) = 362678
--- weechat.diff ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: novel->clement 
Responsible-Changed-By: novel 
Responsible-Changed-When: Fri Apr 22 11:17:23 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80237 
State-Changed-From-To: open->closed 
State-Changed-By: clement 
State-Changed-When: Sat May 7 09:07:25 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

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