pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/inputmethod/ibus-array (inputmethod/ibus-array) Suppor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a07425a8b333
branches:  trunk
changeset: 395634:a07425a8b333
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat May 11 06:35:31 2019 +0000

description:
(inputmethod/ibus-array) Supporting PLIST variation for py 27 36 37

diffstat:

 inputmethod/ibus-array/Makefile |  14 ++++++++++++--
 inputmethod/ibus-array/PLIST    |   6 +-----
 2 files changed, 13 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r e376a8739ab1 -r a07425a8b333 inputmethod/ibus-array/Makefile
--- a/inputmethod/ibus-array/Makefile   Sat May 11 04:24:14 2019 +0000
+++ b/inputmethod/ibus-array/Makefile   Sat May 11 06:35:31 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2019/04/25 07:33:00 maya Exp $
+# $NetBSD: Makefile,v 1.29 2019/05/11 06:35:31 mef Exp $
 
 DISTNAME=      ibus-array-0.1.0
 PKGREVISION=   12
@@ -20,6 +20,16 @@
 
 WRKSRC=                ${WRKDIR}
 
+.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
+
 pre-configure:
        ${RUN}cd ${WRKSRC};${PKGSRC_SETENV} ${CONFIGURE_ENV} ./autogen.sh
 
@@ -31,5 +41,5 @@
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../inputmethod/ibus/buildlink3.mk"
-.include "../../lang/python/application.mk"
+
 .include "../../mk/bsd.pkg.mk"
diff -r e376a8739ab1 -r a07425a8b333 inputmethod/ibus-array/PLIST
--- a/inputmethod/ibus-array/PLIST      Sat May 11 04:24:14 2019 +0000
+++ b/inputmethod/ibus-array/PLIST      Sat May 11 06:35:31 2019 +0000
@@ -1,13 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2015/01/20 11:24:33 obache Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/05/11 06:35:31 mef Exp $
 libexec/ibus-engine-array
 libexec/ibus-setup-array
 share/ibus-array/icons/ibus-array.png
 share/ibus-array/setup/config.py
-share/ibus-array/setup/config.pyc
-share/ibus-array/setup/config.pyo
 share/ibus-array/setup/main.py
-share/ibus-array/setup/main.pyc
-share/ibus-array/setup/main.pyo
 share/ibus-array/tables/array.db
 share/ibus/component/array.xml
 share/locale/zh_TW/LC_MESSAGES/ibus-array.mo



Home | Main Index | Thread Index | Old Index