From 1b7bb332fa18b58d935d7c527a75470c92de2626 Mon Sep 17 00:00:00 2001 From: edwin Date: Mon, 4 Nov 2002 02:35:01 +0000 Subject: PERL -> REINPLACE Noticed on: bento --- mail/ftrack/Makefile | 5 +++-- mail/liboe/Makefile | 3 ++- mail/minimalist/Makefile | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'mail') diff --git a/mail/ftrack/Makefile b/mail/ftrack/Makefile index 3410cbd6963a..12f7857c9a5c 100644 --- a/mail/ftrack/Makefile +++ b/mail/ftrack/Makefile @@ -16,17 +16,18 @@ MAINTAINER= gonza@techline.ru BUILD_DEPENDS= ${LOCALBASE}/lib/libsmapi.a:${PORTSDIR}/mail/smapi USE_ZIP= yes +USE_REINPLACE= yes USE_GMAKE= yes ALL_TARGET= ftrack MAKEFILE= ${WRKSRC}/MakeFiles/FreeBSD/Makefile EXTRACT_AFTER_ARGS= -d ${WRKSRC} pre-patch: - ${PERL} -pi -e "s@-I../../hpp -I../../.. -O3@-Ihpp -I${LOCALBASE}/include ${CFLAGS}@g; \ + ${REINPLACE_CMD} -e "s@-I../../hpp -I../../.. -O3@-Ihpp -I${LOCALBASE}/include ${CFLAGS}@g; \ s@../../src/@src/@g; s@g\+\+@${CC}@g; \ s@-L../smapi -lsmapibsd@-L${LOCALBASE}/lib -lsmapi@g" ${WRKSRC}/MakeFiles/FreeBSD/Makefile .for DIR in MakeFiles/FreeBSD src hpp doc/eng samples/tpl - ${PERL} -pi -e 's!\r!!' ${WRKSRC}/${DIR}/* + ${REINPLACE_CMD} -e 's!\r!!' ${WRKSRC}/${DIR}/* .endfor pre-configure: diff --git a/mail/liboe/Makefile b/mail/liboe/Makefile index 75aa720a9b08..ec8f764c90f1 100644 --- a/mail/liboe/Makefile +++ b/mail/liboe/Makefile @@ -13,12 +13,13 @@ MASTER_SITES= http://www.gpl.no/liboe/download/ MAINTAINER= ijliao@FreeBSD.org +USE_REINPLACE= yes MAKEFILE= makefile ALL_TARGET= clean oe2mbx liboe INSTALLS_SHLIB= yes post-patch: - @${PERL} -pi -e "s,^PREFIX,#PREFIX,g ; \ + @${REINPLACE_CMD} -e "s,^PREFIX,#PREFIX,g ; \ s,gcc,${CC} ${CFLAGS},g" ${WRKSRC}/${MAKEFILE} .include diff --git a/mail/minimalist/Makefile b/mail/minimalist/Makefile index 6c7ad5c36a7b..9bf81bd2dc3f 100644 --- a/mail/minimalist/Makefile +++ b/mail/minimalist/Makefile @@ -16,9 +16,10 @@ EXTRACT_SUFX= .tgz MAINTAINER= gmarco@giovannelli.it NO_BUILD= yes +USE_REINPLACE= yes post-patch: - @(cd ${WRKSRC}; ${PERL} -i.bak -p -e 's,/usr/local,${PREFIX},' README \ + @(cd ${WRKSRC}; ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' README \ minimalist.conf-sample minimalist.pl) do-install: -- cgit