summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ibus-anthy/Makefile3
-rw-r--r--japanese/ibus-skk/Makefile3
-rw-r--r--japanese/kana-no-quiz/Makefile5
-rw-r--r--japanese/libtomoe-gtk/Makefile2
-rw-r--r--japanese/mailman/Makefile3
-rw-r--r--japanese/py-mecab/Makefile4
-rw-r--r--japanese/py-tegaki-gtk/Makefile4
-rw-r--r--japanese/py-tegaki/Makefile4
-rw-r--r--japanese/py-zinnia/Makefile4
-rw-r--r--japanese/tegaki-recognize/Makefile4
10 files changed, 16 insertions, 20 deletions
diff --git a/japanese/ibus-anthy/Makefile b/japanese/ibus-anthy/Makefile
index 719335fb8245..2739109497b3 100644
--- a/japanese/ibus-anthy/Makefile
+++ b/japanese/ibus-anthy/Makefile
@@ -18,8 +18,7 @@ LIB_DEPENDS= libanthy.so:${PORTSDIR}/japanese/anthy \
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/pynotify/_pynotify.so:${PORTSDIR}/devel/py-notify
GNU_CONFIGURE= yes
-USES= libtool gettext gmake pkgconfig
-USE_PYTHON= yes
+USES= libtool gettext gmake pkgconfig python
USE_GNOME= pygtk2
LOCALBASE_REPLACE_FILES= \
diff --git a/japanese/ibus-skk/Makefile b/japanese/ibus-skk/Makefile
index 070bc3f524d4..98b47c2cbf74 100644
--- a/japanese/ibus-skk/Makefile
+++ b/japanese/ibus-skk/Makefile
@@ -14,8 +14,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/skk/SKK-JISYO.L:${PORTSDIR}/japanese/skk-jisyo
LIB_DEPENDS= libskk.so:${PORTSDIR}/japanese/libskk \
libibus-1.0.so:${PORTSDIR}/textproc/ibus
-USE_PYTHON= yes
-USES= gettext gmake pkgconfig
+USES= gettext gmake pkgconfig python
USE_GNOME= intltool
GNU_CONFIGURE= yes
CONFIGURE_ENV+= DATADIRNAME=share
diff --git a/japanese/kana-no-quiz/Makefile b/japanese/kana-no-quiz/Makefile
index ccb2fe49c240..f3862f995956 100644
--- a/japanese/kana-no-quiz/Makefile
+++ b/japanese/kana-no-quiz/Makefile
@@ -20,9 +20,8 @@ NO_BUILD= yes
RM_FILES= CHANGES.txt FAL.txt GPL.txt
RM_OPTS= -f
-USES= gettext
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
+USES= gettext python
+USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= Kana-no-quiz
WRKSRC= "${WRKDIR}/Kana no quiz-${DISTVERSION}"
diff --git a/japanese/libtomoe-gtk/Makefile b/japanese/libtomoe-gtk/Makefile
index 1308fe4e2336..49fe6aa63f87 100644
--- a/japanese/libtomoe-gtk/Makefile
+++ b/japanese/libtomoe-gtk/Makefile
@@ -31,7 +31,7 @@ PLIST_SUB+= GUCHARMAP="@comment "
#.endif
.if exists(${LOCALBASE}/libdata/pkgconfig/pytomoe.pc)
-USE_PYTHON= yes
+USES+= python
CONFIGURE_ENV+= PYTHON_VERSION=${PYTHON_VERSION:S;python;;} \
pyexecdir=${PYTHON_SITELIBDIR}
PLIST_SUB+= PYTHON=""
diff --git a/japanese/mailman/Makefile b/japanese/mailman/Makefile
index e81018c40e52..e4279ad02bb7 100644
--- a/japanese/mailman/Makefile
+++ b/japanese/mailman/Makefile
@@ -23,8 +23,7 @@ CONFLICTS= mailman-2.1.*
PORTSCOUT= limit:.*\.j\d+$$
USE_AUTOTOOLS= autoconf
-USES= gettext tar:tgz
-USE_PYTHON= 2
+USES= gettext python:2 tar:tgz
USE_RC_SUBR= mailman
GNU_CONFIGURE_PREFIX= ${MAILMANDIR}
diff --git a/japanese/py-mecab/Makefile b/japanese/py-mecab/Makefile
index 3ae88172f2bd..936675b11ed6 100644
--- a/japanese/py-mecab/Makefile
+++ b/japanese/py-mecab/Makefile
@@ -16,8 +16,8 @@ LICENSE_COMB= dual
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS= libmecab.so:${PORTSDIR}/japanese/mecab
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
+USES= python
+USE_PYTHON= distutils
PYDISTUTILS_EGGINFO= ${PORTNAME}_python-${PKGVERSION}-${PYTHON_VERSION:S/thon//}.egg-info
pre-patch:
diff --git a/japanese/py-tegaki-gtk/Makefile b/japanese/py-tegaki-gtk/Makefile
index c9ba3db5a364..cf69fbda3658 100644
--- a/japanese/py-tegaki-gtk/Makefile
+++ b/japanese/py-tegaki-gtk/Makefile
@@ -17,8 +17,8 @@ LICENSE= GPLv2
LIB_DEPENDS= libzinnia.so:${PORTSDIR}/japanese/zinnia
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/tegaki/engine.py:${PORTSDIR}/japanese/py-tegaki
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USES= python
+USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= ${PORTNAME}_pygtk
.include <bsd.port.mk>
diff --git a/japanese/py-tegaki/Makefile b/japanese/py-tegaki/Makefile
index d1e3dbe10c75..e67311ecdddc 100644
--- a/japanese/py-tegaki/Makefile
+++ b/japanese/py-tegaki/Makefile
@@ -16,8 +16,8 @@ LICENSE= GPLv2
LIB_DEPENDS= libzinnia.so:${PORTSDIR}/japanese/zinnia
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/zinnia.py:${PORTSDIR}/japanese/py-zinnia
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USES= python
+USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= ${PORTNAME}_python
.include <bsd.port.mk>
diff --git a/japanese/py-zinnia/Makefile b/japanese/py-zinnia/Makefile
index c1df8a96356a..bfa8a3628f72 100644
--- a/japanese/py-zinnia/Makefile
+++ b/japanese/py-zinnia/Makefile
@@ -16,8 +16,8 @@ RUN_DEPENDS= zinnia:${PORTSDIR}/japanese/zinnia
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYING
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
+USES= python
+USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= ${PORTNAME}_python
PYDISTUTILS_PKGVERSION= 0.0.0
diff --git a/japanese/tegaki-recognize/Makefile b/japanese/tegaki-recognize/Makefile
index 0cf263f39540..5d083a8aee18 100644
--- a/japanese/tegaki-recognize/Makefile
+++ b/japanese/tegaki-recognize/Makefile
@@ -18,8 +18,8 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/tegakigtk/recognizer.py:${PORTSDIR}/japanese/p
OPTIONS_DEFINE= DOCS
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
+USES= python:2
+USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= ${PORTNAME}_recognize
post-install: