pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/kitty kitty: Deal with the PLIST thing properly. P...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae447c7ecc6b
branches:  trunk
changeset: 387985:ae447c7ecc6b
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Nov 28 19:28:37 2018 +0000

description:
kitty: Deal with the PLIST thing properly. Pointed out by leot.

diffstat:

 x11/kitty/Makefile |  10 ++--------
 x11/kitty/PLIST    |   2 +-
 2 files changed, 3 insertions(+), 9 deletions(-)

diffs (40 lines):

diff -r 56eecf5e8107 -r ae447c7ecc6b x11/kitty/Makefile
--- a/x11/kitty/Makefile        Wed Nov 28 19:09:19 2018 +0000
+++ b/x11/kitty/Makefile        Wed Nov 28 19:28:37 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/11/28 19:09:19 nia Exp $
+# $NetBSD: Makefile,v 1.3 2018/11/28 19:28:37 nia Exp $
 
 DISTNAME=      kitty-0.12.3
 CATEGORIES=    x11
@@ -30,13 +30,6 @@
 
 REPLACE_PYTHON+=       kitty/launcher/kitty
 
-PLIST_AWK+=            -f ../../lang/python/plist-python.awk
-PLIST_AWK_ENV+=                PYVERS="${PYVERSSUFFIX:S/.//}"
-PRINT_PLIST_AWK+=      /^[^@]/ && /[^\/]+\.py[co]$$/ {
-PRINT_PLIST_AWK+=      gsub(/__pycache__\//, "")
-PRINT_PLIST_AWK+=      gsub(/opt-1\.pyc$$/, "pyo")
-PRINT_PLIST_AWK+=      gsub(/\.cpython-${_PYTHON_VERSION}/, "")}
-
 INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
 
 do-build:
@@ -68,6 +61,7 @@
 .include "../../x11/libXrandr/buildlink3.mk"
 .include "../../x11/libxkbcommon/buildlink3.mk"
 .include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"
 BUILDLINK_TRANSFORM+=  opt:-ldl:${BUILDLINK_LDADD.dl:Q}
diff -r 56eecf5e8107 -r ae447c7ecc6b x11/kitty/PLIST
--- a/x11/kitty/PLIST   Wed Nov 28 19:09:19 2018 +0000
+++ b/x11/kitty/PLIST   Wed Nov 28 19:28:37 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/11/28 19:09:19 nia Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/11/28 19:28:37 nia Exp $
 bin/kitty
 lib/kitty/__main__.py
 lib/kitty/__main__.pyo



Home | Main Index | Thread Index | Old Index