Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2005 12:27:58 +0400 (MSD)
From:      Andrej Zverev <az@inec.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/80237: [update] irc/weechat to 0.1.1
Message-ID:  <200504220827.j3M8Rw0O064233@waterwall.inec.ru>
Resent-Message-ID: <200504220830.j3M8UP5V077512@freefall.freebsd.org>

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

>Number:         80237
>Category:       ports
>Synopsis:       [update] irc/weechat to 0.1.1
>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:   Fri Apr 22 08:30:24 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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