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/d306696b6444
branches:  trunk
changeset: 325985:d306696b6444
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 f1d32062b0c9 -r d306696b6444 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 f1d32062b0c9 -r d306696b6444 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