aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/tomoe/Makefile
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2013-10-19 10:00:14 +0800
committerume <ume@FreeBSD.org>2013-10-19 10:00:14 +0800
commitaf9cb5735fc96d592f67373a387566198a5849cd (patch)
tree8ad1284c34f1d763f65e5a0fb47a3105bca93ece /japanese/tomoe/Makefile
parent759e8d1328c072e9317d72323a024c7bbd58f964 (diff)
downloadfreebsd-ports-gnome-af9cb5735fc96d592f67373a387566198a5849cd.tar.gz
freebsd-ports-gnome-af9cb5735fc96d592f67373a387566198a5849cd.tar.zst
freebsd-ports-gnome-af9cb5735fc96d592f67373a387566198a5849cd.zip
use opt_USE OPTIONS helper.
Diffstat (limited to 'japanese/tomoe/Makefile')
-rw-r--r--japanese/tomoe/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/japanese/tomoe/Makefile b/japanese/tomoe/Makefile
index 270aabee5a3d..4049fb17a98d 100644
--- a/japanese/tomoe/Makefile
+++ b/japanese/tomoe/Makefile
@@ -49,24 +49,16 @@ DICT_RUBY_CONFIGURE_ENABLE= dict-ruby
EST_DESC= Enable Hyper Estraier dictionary module
EST_CONFIGURE_WITH= est
MYSQL_DESC= Enable MySQL dictionary module
+MYSQL_USE= MYSQL=yes
MYSQL_CONFIGURE_WITH= mysql
PYTHON_DESC= Enable Python module
+PYTHON_USE= PYTHON=yes GNOME=pygtk2
PYTHON_CONFIGURE_OFF= --with-python=no
UNIHAN_DESC= Enable Unihan database dictionary module
UNIHAN_CONFIGURE_ENABLE= unihan
.include <bsd.port.pre.mk>
-.if ${PORT_OPTIONS:MMYSQL}
-USE_MYSQL= yes
-.endif
-
-.if ${PORT_OPTIONS:MPYTHON}
-USE_PYTHON= yes
-.include "${PORTSDIR}/Mk/bsd.python.mk"
-USE_GNOME+= pygtk2
-.endif
-
.if ${PORT_OPTIONS:MUNIHAN}
.if ${OSVERSION} >= 700042
BROKEN= Broken with Unihan with gcc 4.2