summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inputmethod/ibus-hangul/Makefile12
-rw-r--r--inputmethod/ibus-hangul/PLIST8
-rw-r--r--inputmethod/ibus-hangul/PLIST.py277
-rw-r--r--inputmethod/ibus-hangul/PLIST.py37
4 files changed, 26 insertions, 8 deletions
diff --git a/inputmethod/ibus-hangul/Makefile b/inputmethod/ibus-hangul/Makefile
index bc847f557d5..20bc6f0e3bf 100644
--- a/inputmethod/ibus-hangul/Makefile
+++ b/inputmethod/ibus-hangul/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2019/04/25 07:33:00 maya Exp $
+# $NetBSD: Makefile,v 1.19 2019/05/11 07:19:43 mef Exp $
#
DISTNAME= ibus-hangul-1.5.0
@@ -16,6 +16,16 @@ USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= pkg-config gmake msgfmt intltool
+.include "../../lang/python/application.mk"
+
+PLIST_SUBST+= PYPKGPREFIX_NO=${PYPKGPREFIX:S/py//}
+
+.if !empty(PYPKGPREFIX:Mpy27)
+PLIST_SRC= ${PKGDIR}/PLIST ${PKGDIR}/PLIST.py27
+.else
+PLIST_SRC= ${PKGDIR}/PLIST ${PKGDIR}/PLIST.py3
+.endif
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
BUILDLINK_API_DEPENDS.libhangul+= libhangul>=0.1.0
diff --git a/inputmethod/ibus-hangul/PLIST b/inputmethod/ibus-hangul/PLIST
index 6416dcc4e87..edc1f7fbfbc 100644
--- a/inputmethod/ibus-hangul/PLIST
+++ b/inputmethod/ibus-hangul/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2014/11/07 11:56:04 obache Exp $
+@comment $NetBSD: PLIST,v 1.6 2019/05/11 07:19:43 mef Exp $
bin/ibus-setup-hangul
libexec/ibus-engine-hangul
libexec/ibus-setup-hangul
@@ -7,14 +7,8 @@ share/ibus-hangul/data/symbol.txt
share/ibus-hangul/icons/ibus-hangul.png
share/ibus-hangul/icons/ibus-hangul.svg
share/ibus-hangul/setup/config.py
-share/ibus-hangul/setup/config.pyc
-share/ibus-hangul/setup/config.pyo
share/ibus-hangul/setup/keycapturedialog.py
-share/ibus-hangul/setup/keycapturedialog.pyc
-share/ibus-hangul/setup/keycapturedialog.pyo
share/ibus-hangul/setup/main.py
-share/ibus-hangul/setup/main.pyc
-share/ibus-hangul/setup/main.pyo
share/ibus-hangul/setup/setup.ui
share/ibus/component/hangul.xml
share/icons/hicolor/64x64/apps/ibus-hangul.png
diff --git a/inputmethod/ibus-hangul/PLIST.py27 b/inputmethod/ibus-hangul/PLIST.py27
new file mode 100644
index 00000000000..49b0dfa4d7d
--- /dev/null
+++ b/inputmethod/ibus-hangul/PLIST.py27
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST.py27,v 1.1 2019/05/11 07:19:43 mef Exp $
+share/ibus-hangul/setup/config.pyc
+share/ibus-hangul/setup/config.pyo
+share/ibus-hangul/setup/keycapturedialog.pyc
+share/ibus-hangul/setup/keycapturedialog.pyo
+share/ibus-hangul/setup/main.pyc
+share/ibus-hangul/setup/main.pyo
diff --git a/inputmethod/ibus-hangul/PLIST.py3 b/inputmethod/ibus-hangul/PLIST.py3
new file mode 100644
index 00000000000..b86ac5e2744
--- /dev/null
+++ b/inputmethod/ibus-hangul/PLIST.py3
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST.py3,v 1.1 2019/05/11 07:19:43 mef Exp $
+share/ibus-hangul/setup/__pycache__/config.cpython-${PYPKGPREFIX_NO}.opt-1.pyc
+share/ibus-hangul/setup/__pycache__/config.cpython-${PYPKGPREFIX_NO}.pyc
+share/ibus-hangul/setup/__pycache__/keycapturedialog.cpython-${PYPKGPREFIX_NO}.opt-1.pyc
+share/ibus-hangul/setup/__pycache__/keycapturedialog.cpython-${PYPKGPREFIX_NO}.pyc
+share/ibus-hangul/setup/__pycache__/main.cpython-${PYPKGPREFIX_NO}.opt-1.pyc
+share/ibus-hangul/setup/__pycache__/main.cpython-${PYPKGPREFIX_NO}.pyc