summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2012-06-11 05:26:57 +0000
committerarved <arved@FreeBSD.org>2012-06-11 05:26:57 +0000
commitb1679478210de76a7d57257e84f54f50d8f5f80d (patch)
treeed4b1cf594d8a49d68a5203e9b38d5ad55c5aba3
parent8ebc81f1d915d06e7c8d82d87c7762f3fefcee1c (diff)
downloadFreeBSD-ports-b1679478210de76a7d57257e84f54f50d8f5f80d.zip
FreeBSD-ports-b1679478210de76a7d57257e84f54f50d8f5f80d.tar.gz
convert to new options framework
-rw-r--r--textproc/gnome-translate/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/gnome-translate/Makefile b/textproc/gnome-translate/Makefile
index 66e4827..7ed7118 100644
--- a/textproc/gnome-translate/Makefile
+++ b/textproc/gnome-translate/Makefile
@@ -26,11 +26,13 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -Wl,-export-dynamic
-OPTIONS= LANGUAGE_DETECTION "language detection" on
+OPTIONS_DEFINE= LANGUAGE_DETECTION
+LANGUAGE_DETECTION_DESC= language detection
+OPTIONS_DEFAULT= LANGUAGE_DETECTION
.include <bsd.port.pre.mk>
-.if defined(WITHOUT_LANGUAGE_DETECTION)
+.if ${PORT_OPTIONS:MLANGUAGE_DETECTION}
CONFIGURE_ARGS+= --disable-language-detection
.else
LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
OpenPOWER on IntegriCloud