aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--irc/weechat-devel/Makefile12
-rw-r--r--irc/weechat-devel/pkg-plist4
-rw-r--r--irc/weechat/Makefile12
-rw-r--r--irc/weechat/pkg-plist4
4 files changed, 30 insertions, 2 deletions
diff --git a/irc/weechat-devel/Makefile b/irc/weechat-devel/Makefile
index 1bccbf81eed6..8d0c7f0068fc 100644
--- a/irc/weechat-devel/Makefile
+++ b/irc/weechat-devel/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-devel/pkg-plist b/irc/weechat-devel/pkg-plist
index e7a0d01dd588..eb111777a0e4 100644
--- a/irc/weechat-devel/pkg-plist
+++ b/irc/weechat-devel/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
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