diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 05:46:38 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 05:46:38 +0000 |
commit | 37f2224fa6a14520df830ae1daeba9b877daa347 (patch) | |
tree | 13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /lang | |
parent | - reorder patches (diff) |
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Notes
Notes:
svn path=/head/; revision=69436
Diffstat (limited to 'lang')
-rw-r--r-- | lang/o2c/Makefile | 4 | ||||
-rw-r--r-- | lang/starlogo/Makefile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lang/o2c/Makefile b/lang/o2c/Makefile index b725bdb57880..9bc63a8868d5 100644 --- a/lang/o2c/Makefile +++ b/lang/o2c/Makefile @@ -15,6 +15,7 @@ MAINTAINER= ob@breuninger.org # does not support 64-bit platforms ONLY_FOR_ARCHS= i386 +USE_REINPLACE= yes MAKE_ENV= MAKEOBJDIR=. MAN1= o2b.1 o2c.1 o2ef.1 o2whereis.1 @@ -22,7 +23,8 @@ post-extract: @${CP} ${FILESDIR}/o2 ${WRKSRC} post-patch: - @/usr/bin/perl -pi -e "s|\@PREFIX\@|${PREFIX}|g;" ${WRKSRC}/system/o2c.red.template + @${REINPLACE_CMD} -e \ + "s|\@PREFIX\@|${PREFIX}|g;" ${WRKSRC}/system/o2c.red.template post-install: ${INSTALL_DATA} ${WRKSRC}/system/o2c.red.template ${PREFIX}/lib/o2c-1.16 diff --git a/lang/starlogo/Makefile b/lang/starlogo/Makefile index 4d13c2b1582e..564573bd9ef6 100644 --- a/lang/starlogo/Makefile +++ b/lang/starlogo/Makefile @@ -15,10 +15,12 @@ MAINTAINER= noway@nohow.demon.co.uk RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \ ${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre +USE_REINPLACE= yes NO_BUILD= yes do-configure: - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g" \ + @${REINPLACE_CMD} -e \ + "s|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g" \ ${WRKSRC}/starlogo-unix do-install: |