diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 02:35:01 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 02:35:01 +0000 |
commit | 6097f03e914afc72ab11bca0cf311ad5f1fd15e3 (patch) | |
tree | a7f557a98d36da0017550c4118cccf1e4d496c25 /mail | |
parent | PERL -> REINPLACE (diff) |
PERL -> REINPLACE
Noticed on: bento
Notes
Notes:
svn path=/head/; revision=69424
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ftrack/Makefile | 5 | ||||
-rw-r--r-- | mail/liboe/Makefile | 3 | ||||
-rw-r--r-- | mail/minimalist/Makefile | 3 |
3 files changed, 7 insertions, 4 deletions
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 <bsd.port.mk> 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: |