From 6df26760a8406df719934d3da6e853c7d06e5de8 Mon Sep 17 00:00:00 2001 From: sthen Date: Sat, 20 Feb 2021 13:26:33 +0000 Subject: [PATCH] py-docutils: post-install renames scripts from foo.py to foo --- textproc/py-docutils/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/textproc/py-docutils/Makefile b/textproc/py-docutils/Makefile index 1c9a61693bf..5520a604263 100644 --- a/textproc/py-docutils/Makefile +++ b/textproc/py-docutils/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.28 2021/02/20 13:20:17 sthen Exp $ +# $OpenBSD: Makefile,v 1.29 2021/02/20 13:26:33 sthen Exp $ COMMENT = process plaintext documentation into other formats @@ -23,4 +23,7 @@ FLAVORS = python3 FLAVOR = python3 MODPY_PYTEST = Yes +post-install: + for i in ${PREFIX}/bin/*; do mv $${i} $${i%.py} ; done + .include