diff options
author | Clement Laforet <clement@FreeBSD.org> | 2005-05-07 09:07:00 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2005-05-07 09:07:00 +0000 |
commit | 3d5ba0370201743ca6d2cdda842a0b79ddffb0f2 (patch) | |
tree | 3a3740e3cfb374aeccf1de073a6c78cc7d286692 /irc/weechat | |
parent | Update to 0.10.9. (diff) |
- Update to version 0.1.1
- Add NLS switch
PR: ports/80237
Submitted by: Andrej Zverev <az@inec.ru>
Notes
Notes:
svn path=/head/; revision=134755
Diffstat (limited to 'irc/weechat')
-rw-r--r-- | irc/weechat/Makefile | 17 | ||||
-rw-r--r-- | irc/weechat/distinfo | 4 |
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 |