aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2013-10-19 02:00:14 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2013-10-19 02:00:14 +0000
commit1f4ddabe7cb760781414e64b6fb1dde35d93b2be (patch)
tree8ad1284c34f1d763f65e5a0fb47a3105bca93ece /japanese
parentf7d6f604d7b11922a1f4047842512e02af7afb79 (diff)
downloadports-1f4ddabe7cb760781414e64b6fb1dde35d93b2be.tar.gz
ports-1f4ddabe7cb760781414e64b6fb1dde35d93b2be.zip
use opt_USE OPTIONS helper.
Notes
Notes: svn path=/head/; revision=330824
Diffstat (limited to 'japanese')
-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