1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Update to version 0.1.1

- Add NLS switch

PR:             ports/80237
Submitted by:   Andrej Zverev <az@inec.ru>
This commit is contained in:
Clement Laforet 2005-05-07 09:07:00 +00:00
parent 342de57e30
commit 3d5ba03702
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134755
4 changed files with 32 additions and 10 deletions

View File

@ -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}

View File

@ -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

View File

@ -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}

View File

@ -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