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/8346e626efb4
branches:  trunk
changeset: 333634:8346e626efb4
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 8ec2a71fe624 -r 8346e626efb4 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 8ec2a71fe624 -r 8346e626efb4 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