diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-04 10:35:01 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-04 10:35:01 +0800 |
commit | 1b7bb332fa18b58d935d7c527a75470c92de2626 (patch) | |
tree | 2f4141a4af38a668cf36cef3a620918d857e0a08 /audio | |
parent | ae62427d6d6725d1b89cb124a2b9df1780c3a6c0 (diff) | |
download | freebsd-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')
-rw-r--r-- | audio/afsp/Makefile | 3 | ||||
-rw-r--r-- | audio/holyshout/Makefile | 3 | ||||
-rw-r--r-- | audio/mp3chew/Makefile | 3 | ||||
-rw-r--r-- | audio/sbagen/Makefile | 6 |
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: |