pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/kitty



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Nov 28 19:28:37 UTC 2018

Modified Files:
        pkgsrc/x11/kitty: Makefile PLIST

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/x11/kitty/Makefile pkgsrc/x11/kitty/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/kitty/Makefile
diff -u pkgsrc/x11/kitty/Makefile:1.2 pkgsrc/x11/kitty/Makefile:1.3
--- pkgsrc/x11/kitty/Makefile:1.2       Wed Nov 28 19:09:19 2018
+++ pkgsrc/x11/kitty/Makefile   Wed Nov 28 19:28:37 2018
@@ -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 @@ PYTHON_VERSIONS_INCOMPATIBLE=        27 34
 
 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 @@ do-install:
 .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}
Index: pkgsrc/x11/kitty/PLIST
diff -u pkgsrc/x11/kitty/PLIST:1.2 pkgsrc/x11/kitty/PLIST:1.3
--- pkgsrc/x11/kitty/PLIST:1.2  Wed Nov 28 19:09:19 2018
+++ pkgsrc/x11/kitty/PLIST      Wed Nov 28 19:28:37 2018
@@ -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