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 /mail | |
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 '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: |