aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authoranray <anray@FreeBSD.org>2006-06-27 14:16:11 +0800
committeranray <anray@FreeBSD.org>2006-06-27 14:16:11 +0800
commit795633d4bd1689663bde3b26b3b12ffb5fa81d27 (patch)
treef5fce5012a737e7eddc562e791fd7cc43ab8e9fd /net-im
parentbeb29957b41bf028c8db6bbdd970c170f8f9ebaf (diff)
downloadfreebsd-ports-gnome-795633d4bd1689663bde3b26b3b12ffb5fa81d27.tar.gz
freebsd-ports-gnome-795633d4bd1689663bde3b26b3b12ffb5fa81d27.tar.zst
freebsd-ports-gnome-795633d4bd1689663bde3b26b3b12ffb5fa81d27.zip
OPTIONify.
PR: ports/99511 Submitted by: Arseny Nasokin
Diffstat (limited to 'net-im')
-rw-r--r--net-im/kf/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-im/kf/Makefile b/net-im/kf/Makefile
index 0a6934c25b83..224b6790cd04 100644
--- a/net-im/kf/Makefile
+++ b/net-im/kf/Makefile
@@ -27,12 +27,17 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+OPTIONS=GTKSPELL "Spell checking support" on \
+ NLS "Native Language Support" on
+
+.include <bsd.port.pre.mk>
+
.ifndef(WITHOUT_GTKSPELL)
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell
CONFIGURE_ARGS+= --enable-gtkspell
.endif
-.if !defined(WITHOUT_NLS)
+.ifndef(WITHOUT_NLS)
USE_GETTEXT= yes
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB= NLS=""
@@ -41,4 +46,4 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>