pkgsrc-WIP-changes archive

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

glide: clean-up the package



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Fri Oct 30 14:43:36 2020 +0100
Changeset:	f4a31a36f305978bab0492b32406023362432c2c

Modified Files:
	glide/Makefile
	glide/distinfo
Removed Files:
	glide/patches/patch-scripts_meson__post__install.py

Log Message:
glide: clean-up the package

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f4a31a36f305978bab0492b32406023362432c2c

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

diffstat:
 glide/Makefile                                      |  9 +++++++--
 glide/distinfo                                      |  1 -
 glide/patches/patch-scripts_meson__post__install.py | 12 ------------
 3 files changed, 7 insertions(+), 15 deletions(-)

diffs:
diff --git a/glide/Makefile b/glide/Makefile
index ff86f6f543..758c6c2b2e 100644
--- a/glide/Makefile
+++ b/glide/Makefile
@@ -16,7 +16,13 @@ USE_TOOLS+=			pkg-config
 PYTHON_VERSIONS_ACCEPTED=	37
 PYTHON_FOR_BUILD_ONLY=		tool
 
-PYTHON_VERSIONED_DEPENDENCIES+= setuptools:tool
+REPLACE_PYTHON+=	scripts/meson_post_install.py
+
+SUBST_CLASSES+=		prefix
+SUBST_MESSAGE.prefix=	Fixing paths.
+SUBST_STAGE.prefix=	pre-configure
+SUBST_FILES.prefix+=	scripts/meson_post_install.py
+SUBST_SED.prefix+=	-e 's,/usr/bin,${PREFIX},g'
 
 INSTALLATION_DIRS=	bin share
 
@@ -34,5 +40,4 @@ INSTALLATION_DIRS=	bin share
 .include "../../devel/atk/buildlink3.mk"
 .include "../../graphics/gdk-pixbuf2/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/glide/distinfo b/glide/distinfo
index 9edda068ca..578b5cf4cc 100644
--- a/glide/distinfo
+++ b/glide/distinfo
@@ -888,4 +888,3 @@ SHA1 (ws2_32-sys-0.2.1.crate) = dae41c117c3746c05852b6ce72f17954e6d6dd8b
 RMD160 (ws2_32-sys-0.2.1.crate) = 883038c3ec6db615e0c96f0788f1a24892a855b2
 SHA512 (ws2_32-sys-0.2.1.crate) = 18356861fc595efe7d0180afb8ce7649da35a4f9ba456271d2068679ab258a861af32a2e016e241fbfbf5f6ef0eb33127b26eabfc11428af39506538faa4821f
 Size (ws2_32-sys-0.2.1.crate) = 4697 bytes
-SHA1 (patch-scripts_meson__post__install.py) = d95d410ef50781e38b3d7e00c2dc5c337bcd5eed
diff --git a/glide/patches/patch-scripts_meson__post__install.py b/glide/patches/patch-scripts_meson__post__install.py
deleted file mode 100644
index 6f8865995f..0000000000
--- a/glide/patches/patch-scripts_meson__post__install.py
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
-try fix
-
---- scripts/meson_post_install.py.orig	2020-09-25 18:46:41.000000000 +0000
-+++ scripts/meson_post_install.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python3
-+#!/usr/pkg/bin/env python3.7
- 
- import os
- import subprocess


Home | Main Index | Thread Index | Old Index