aboutsummaryrefslogtreecommitdiffstats
path: root/irc/weechat
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-05-07 17:07:00 +0800
committerclement <clement@FreeBSD.org>2005-05-07 17:07:00 +0800
commit9ead3d05344a646c12f7422b82ddd3b1650b55eb (patch)
tree50cd5b6c82f488375bb51b3b85420084dc8ffc8e /irc/weechat
parent1d6b47f4bd22b8f9ad450785afbf5727c719e9b7 (diff)
downloadfreebsd-ports-gnome-9ead3d05344a646c12f7422b82ddd3b1650b55eb.tar.gz
freebsd-ports-gnome-9ead3d05344a646c12f7422b82ddd3b1650b55eb.tar.zst
freebsd-ports-gnome-9ead3d05344a646c12f7422b82ddd3b1650b55eb.zip
- Update to version 0.1.1
- Add NLS switch PR: ports/80237 Submitted by: Andrej Zverev <az@inec.ru>
Diffstat (limited to 'irc/weechat')
-rw-r--r--irc/weechat/Makefile17
-rw-r--r--irc/weechat/distinfo4
2 files changed, 16 insertions, 5 deletions
diff --git a/irc/weechat/Makefile b/irc/weechat/Makefile
index 00b15a2fc6fd..b8139a13c32f 100644
--- a/irc/weechat/Makefile
+++ b/irc/weechat/Makefile
@@ -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 @@ COMMENT= A lightweight and user friendly ncurse based IRC client
USE_BZIP2= yes
GNU_CONFIGURE= yes
-USE_GETTEXT= yes
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lintl"
@@ -23,7 +22,19 @@ CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE}
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 --git a/irc/weechat/distinfo b/irc/weechat/distinfo
index fc81a9405920..dfcfba94a2cd 100644
--- a/irc/weechat/distinfo
+++ b/irc/weechat/distinfo
@@ -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