diff options
author | Andrej Zverev <az@FreeBSD.org> | 2007-01-28 13:00:10 +0000 |
---|---|---|
committer | Andrej Zverev <az@FreeBSD.org> | 2007-01-28 13:00:10 +0000 |
commit | 6ca80aba06734719a3f43a3c25fa85135ae3ef12 (patch) | |
tree | 4f823dc8b345e401764b752918a5a3805a6ebf6c /irc/weechat | |
parent | - Update to 200701272342 (diff) |
- Add aspell support [1]
- bump portrevision
[1] Requested by: Romain Tartiere <romain-tartiere (at) astase.com>
Diffstat (limited to 'irc/weechat')
-rw-r--r-- | irc/weechat/Makefile | 12 | ||||
-rw-r--r-- | irc/weechat/pkg-plist | 4 |
2 files changed, 15 insertions, 1 deletions
diff --git a/irc/weechat/Makefile b/irc/weechat/Makefile index 1bccbf81eed6..8d0c7f0068fc 100644 --- a/irc/weechat/Makefile +++ b/irc/weechat/Makefile @@ -7,6 +7,7 @@ PORTNAME= weechat PORTVERSION= 0.2.3 +PORTREVISION= 1 CATEGORIES= irc MASTER_SITES= http://flashcode.free.fr/flashtux/weechat/ \ http://weechat.flashtux.org/download/ @@ -20,7 +21,7 @@ USE_AUTOTOOLS= autoconf:259 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --disable-lua --disable-aspell +CONFIGURE_ARGS= --disable-lua MAN1= weechat-curses.1 @@ -45,6 +46,15 @@ USE_GETTEXT= yes PLIST_SUB+= NLS="" .endif +.if defined(WITH_ASPELL) +CONFIGURE_ARGS+= --enable-aspell +BUILD_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell +PLIST_SUB+= ASPELL="" +.else +CONFIGURE_ARGS+= --disable-aspell +PLIST_SUB+= ASPELL="@comment " +.endif + .if defined(WITH_PYTHON) CONFIGURE_ARGS+= --enable-python USE_PYTHON= yes diff --git a/irc/weechat/pkg-plist b/irc/weechat/pkg-plist index e7a0d01dd588..eb111777a0e4 100644 --- a/irc/weechat/pkg-plist +++ b/irc/weechat/pkg-plist @@ -1,4 +1,8 @@ bin/weechat-curses +%%ASPELL%%lib/weechat/plugins/aspell.so.0 +%%ASPELL%%lib/weechat/plugins/aspell.so +%%ASPELL%%lib/weechat/plugins/aspell.la +%%ASPELL%%lib/weechat/plugins/aspell.a %%CHARSET%%lib/weechat/plugins/charset.so.0 %%CHARSET%%lib/weechat/plugins/charset.so %%CHARSET%%lib/weechat/plugins/charset.la |