pkgsrc-WIP-changes archive

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

wip/zim: removed obsolete SUBSTs from Makefile, implemented recommendations from pkglint



Module Name:	pkgsrc-wip
Committed By:	Matthias Petermann <mp%petermann-it.de@localhost>
Pushed By:	mp
Date:		Sat Jun 6 12:00:22 2020 +0200
Changeset:	8d5adcb79bf0237c236327ef3ac3d86f784d6051

Modified Files:
	zim/Makefile

Log Message:
wip/zim: removed obsolete SUBSTs from Makefile, implemented recommendations from pkglint

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

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

diffstat:
 zim/Makefile | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diffs:
diff --git a/zim/Makefile b/zim/Makefile
index 47a745777e..b66403850e 100644
--- a/zim/Makefile
+++ b/zim/Makefile
@@ -1,8 +1,9 @@
 # $NetBSD: $
 
 DISTNAME=	zim-0.72.1
+PKGREVISION=	1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=	editors
+CATEGORIES=	wip editors
 MASTER_SITES=	http://zim-wiki.org/downloads/
 
 MAINTAINER=	mp%petermann-it.de@localhost
@@ -18,15 +19,9 @@ DEPENDS+=	xdg-utils-[0-9]*:../../misc/xdg-utils
 
 USE_LANGUAGES=	# none
 
-REPLACE_PYTHON=	${WRKSRC}/zim.py
+REPLACE_PYTHON=	zim.py
 PYTHON_VERSIONS_ACCEPTED=	37
 
-SUBST_CLASSES+=		data-path
-SUBST_STAGE.data-path=	pre-configure
-SUBST_FILES.data-path=	tests/config.py
-SUBST_FILES.data-path+=	zim/config/basedirs.py
-SUBST_SED.data-path=	-e 's,/usr/local/share/,${PREFIX}/share/,'
-
 SUBST_CLASSES+=			man-path
 SUBST_STAGE.man-path=		pre-configure
 SUBST_FILES.man-path+=		setup.py


Home | Main Index | Thread Index | Old Index