summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 02:35:01 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 02:35:01 +0000
commit6097f03e914afc72ab11bca0cf311ad5f1fd15e3 (patch)
treea7f557a98d36da0017550c4118cccf1e4d496c25 /audio
parentPERL -> REINPLACE (diff)
PERL -> REINPLACE
Noticed on: bento
Notes
Notes: svn path=/head/; revision=69424
Diffstat (limited to 'audio')
-rw-r--r--audio/afsp/Makefile3
-rw-r--r--audio/holyshout/Makefile3
-rw-r--r--audio/mp3chew/Makefile3
-rw-r--r--audio/sbagen/Makefile6
4 files changed, 10 insertions, 5 deletions
diff --git a/audio/afsp/Makefile b/audio/afsp/Makefile
index 828ad9d7b584..a7f917c34bd4 100644
--- a/audio/afsp/Makefile
+++ b/audio/afsp/Makefile
@@ -14,6 +14,7 @@ DISTNAME= AFsp-v6r5a
MAINTAINER= ginga-freebsd@ginganet.org
USE_GMAKE= yes
+USE_REINPLACE= yes
MAN1= AFsp.1audio CompAudio.1audio CopyAudio.1audio FiltAudio.1audio \
GenNoise.1audio GenTone.1audio InfoAudio.1audio LPanal.1audio \
@@ -29,6 +30,6 @@ post-extract:
post-patch:
cd ${WRKSRC} && find . -name Makefile | \
- xargs -n10 ${PERL} -i -pe 's/^(COPTS)/#$$1/'
+ xargs -n10 ${REINPLACE_CMD} -e 's/^(COPTS)/#$$1/'
.include <bsd.port.mk>
diff --git a/audio/holyshout/Makefile b/audio/holyshout/Makefile
index bffcb72fbae0..83660bff7c39 100644
--- a/audio/holyshout/Makefile
+++ b/audio/holyshout/Makefile
@@ -13,9 +13,10 @@ MASTER_SITES= ftp://ftp.holywar.net/pub/FreeBSD/
MAINTAINER= hollywar@mail.holywar.net
USE_GMAKE= yes
+USE_REINPLACE= yes
post-patch:
- (find ${WRKSRC} -name Makefile | xargs ${PERL} -pi -e \
+ (find ${WRKSRC} -name Makefile | xargs ${REINPLACE_CMD} -e \
"s@-O20@${CFLAGS}@g ; s@-O2@${CFLAGS}@g")
.include <bsd.port.mk>
diff --git a/audio/mp3chew/Makefile b/audio/mp3chew/Makefile
index a109b8683a14..8795138ae6eb 100644
--- a/audio/mp3chew/Makefile
+++ b/audio/mp3chew/Makefile
@@ -15,11 +15,12 @@ MAINTAINER= greid@ukug.uk.freebsd.org
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= ${PORTNAME}
+USE_REINPLACE= yes
DOCFILES= CHANGELOG INSTALL README TODO
post-patch:
- @${PERL} -pi.fbsd -e 's, _to, to,g' ${WRKSRC}/CMp3Filter.cc
+ @${REINPLACE_CMD} -e 's, _to, to,g' ${WRKSRC}/CMp3Filter.cc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mp3chew ${PREFIX}/bin
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: