aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sbagen
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 10:35:01 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 10:35:01 +0800
commit1b7bb332fa18b58d935d7c527a75470c92de2626 (patch)
tree2f4141a4af38a668cf36cef3a620918d857e0a08 /audio/sbagen
parentae62427d6d6725d1b89cb124a2b9df1780c3a6c0 (diff)
downloadfreebsd-ports-gnome-1b7bb332fa18b58d935d7c527a75470c92de2626.tar.gz
freebsd-ports-gnome-1b7bb332fa18b58d935d7c527a75470c92de2626.tar.zst
freebsd-ports-gnome-1b7bb332fa18b58d935d7c527a75470c92de2626.zip
PERL -> REINPLACE
Noticed on: bento
Diffstat (limited to 'audio/sbagen')
-rw-r--r--audio/sbagen/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/sbagen/Makefile b/audio/sbagen/Makefile
index 04d67c1d7168..ace8eadc8bab 100644
--- a/audio/sbagen/Makefile
+++ b/audio/sbagen/Makefile
@@ -24,13 +24,15 @@ SHAREFILES= t-alpha t-beta t-calm t-calm2 t-delta t-focus t-focus-1 \
DOCFILES= sbagen.txt theory.txt theory2.txt
+USE_REINPLACE= yes
+
pre-patch:
- @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/sbagen.c
post-patch:
.for F in ${SHAREFILES}
- @${PERL} -pi -e 's,/bin/bash,/bin/sh,g' ${WRKSRC}/$F
+ @${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,g' ${WRKSRC}/$F
.endfor
do-build: