py-docutils: post-install renames scripts from foo.py to foo

This commit is contained in:
sthen 2021-02-20 13:26:33 +00:00
parent f8d33014b2
commit 6df26760a8

View File

@ -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 <bsd.port.mk>