aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/pybook
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-09-02 00:07:59 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-09-02 00:07:59 +0800
commitfd50192ea7567a034b59dfc96a1d112f8ccfa573 (patch)
tree6975c46330f04e77b17cb4d014c9d66ceb4f7a68 /textproc/pybook
parent54d69c112debb52b84b6d174bd59479eec834fb7 (diff)
downloadfreebsd-ports-graphics-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.gz
freebsd-ports-graphics-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.zst
freebsd-ports-graphics-fd50192ea7567a034b59dfc96a1d112f8ccfa573.zip
${PERL} -> ${REINPLACE_CMD}
PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net
Diffstat (limited to 'textproc/pybook')
-rw-r--r--textproc/pybook/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/pybook/Makefile b/textproc/pybook/Makefile
index b534363c7b8..f25cbaefcf4 100644
--- a/textproc/pybook/Makefile
+++ b/textproc/pybook/Makefile
@@ -13,11 +13,12 @@ MASTER_SITES= http://silmarill.org/pybook/
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
post-patch:
- @${PERL} -pi -e "s,python2,python,g" ${WRKSRC}/pybook.py
+ @${REINPLACE_CMD} -e "s,python2,python,g" ${WRKSRC}/pybook.py
post-install:
@${MV} -f ${PREFIX}/bin/pybook.py ${PREFIX}/bin/pybook