aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
Diffstat (limited to 'shells')
-rw-r--r--shells/flash/Makefile3
-rw-r--r--shells/perlsh/Makefile7
-rw-r--r--shells/psh/Makefile7
3 files changed, 10 insertions, 7 deletions
diff --git a/shells/flash/Makefile b/shells/flash/Makefile
index ce3ac0ebc515..9251c0ff671f 100644
--- a/shells/flash/Makefile
+++ b/shells/flash/Makefile
@@ -22,6 +22,7 @@ LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses
USE_GMAKE= yes
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
MAN1= flash.1
@@ -39,7 +40,7 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_NCURSES_NCURSES_H" \
post-patch:
.for file in ${SCRIPT}
- @${PERL} -pi -e "s:/usr/slocal:${PREFIX}:g" ${WRKSRC}/orcasetup/${file}
+ @${REINPLACE_CMD} -e "s:/usr/slocal:${PREFIX}:g" ${WRKSRC}/orcasetup/${file}
.endfor
do-install:
diff --git a/shells/perlsh/Makefile b/shells/perlsh/Makefile
index 1138c9ec4c3e..67e24ce4c4e9 100644
--- a/shells/perlsh/Makefile
+++ b/shells/perlsh/Makefile
@@ -15,6 +15,7 @@ DISTNAME= psh-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
PERL_CONFIGURE= yes
+USE_REINPLACE= yes
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Psh::Builtins.3 \
@@ -38,9 +39,9 @@ MAN3= Psh::Builtins.3 \
Psh::Util.3
pre-install:
- ${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/Makefile;
- ${PERL} -pi -e "s:/usr/local/man/man1:${MAN3PREFIX}/man/man1:g" ${WRKSRC}/Makefile;
- ${PERL} -pi -e "s:/usr/local/lib/perl5/5.00503/man/man3:${MAN3PREFIX}/man/man3:g" ${WRKSRC}/Makefile;
+ ${REINPLACE_CMD} -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/Makefile;
+ ${REINPLACE_CMD} -e "s:/usr/local/man/man1:${MAN3PREFIX}/man/man1:g" ${WRKSRC}/Makefile;
+ ${REINPLACE_CMD} -e "s:/usr/local/lib/perl5/5.00503/man/man3:${MAN3PREFIX}/man/man3:g" ${WRKSRC}/Makefile;
post-install:
@${ECHO} "Updating /etc/shells"
diff --git a/shells/psh/Makefile b/shells/psh/Makefile
index 1138c9ec4c3e..67e24ce4c4e9 100644
--- a/shells/psh/Makefile
+++ b/shells/psh/Makefile
@@ -15,6 +15,7 @@ DISTNAME= psh-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
PERL_CONFIGURE= yes
+USE_REINPLACE= yes
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Psh::Builtins.3 \
@@ -38,9 +39,9 @@ MAN3= Psh::Builtins.3 \
Psh::Util.3
pre-install:
- ${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/Makefile;
- ${PERL} -pi -e "s:/usr/local/man/man1:${MAN3PREFIX}/man/man1:g" ${WRKSRC}/Makefile;
- ${PERL} -pi -e "s:/usr/local/lib/perl5/5.00503/man/man3:${MAN3PREFIX}/man/man3:g" ${WRKSRC}/Makefile;
+ ${REINPLACE_CMD} -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/Makefile;
+ ${REINPLACE_CMD} -e "s:/usr/local/man/man1:${MAN3PREFIX}/man/man1:g" ${WRKSRC}/Makefile;
+ ${REINPLACE_CMD} -e "s:/usr/local/lib/perl5/5.00503/man/man3:${MAN3PREFIX}/man/man3:g" ${WRKSRC}/Makefile;
post-install:
@${ECHO} "Updating /etc/shells"