aboutsummaryrefslogtreecommitdiff
path: root/irc/weechat
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-05-07 09:07:00 +0000
committerClement Laforet <clement@FreeBSD.org>2005-05-07 09:07:00 +0000
commit3d5ba0370201743ca6d2cdda842a0b79ddffb0f2 (patch)
tree3a3740e3cfb374aeccf1de073a6c78cc7d286692 /irc/weechat
parent342de57e30ef47dab433317df6f0d2b23d6dce37 (diff)
downloadports-3d5ba0370201743ca6d2cdda842a0b79ddffb0f2.tar.gz
ports-3d5ba0370201743ca6d2cdda842a0b79ddffb0f2.zip
Notes
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