diff options
-rw-r--r-- | irc/weechat-devel/Makefile | 17 | ||||
-rw-r--r-- | irc/weechat-devel/distinfo | 4 | ||||
-rw-r--r-- | irc/weechat/Makefile | 17 | ||||
-rw-r--r-- | irc/weechat/distinfo | 4 |
4 files changed, 32 insertions, 10 deletions
diff --git a/irc/weechat-devel/Makefile b/irc/weechat-devel/Makefile index 00b15a2fc6fd..b8139a13c32f 100644 --- a/irc/weechat-devel/Makefile +++ b/irc/weechat-devel/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-devel/distinfo b/irc/weechat-devel/distinfo index fc81a9405920..dfcfba94a2cd 100644 --- a/irc/weechat-devel/distinfo +++ b/irc/weechat-devel/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 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 |