diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-07-08 10:16:37 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-07-08 10:16:37 +0000 |
commit | cde117293fcf37aa19d9f54acecb0887be0a0d25 (patch) | |
tree | 0ea47e93428c0caacb356d4c343445759d8f670a /astro | |
parent | b89886fe2bfd14cafd04aa8f5de087dfcc3c1cfb (diff) | |
download | FreeBSD-ports-cde117293fcf37aa19d9f54acecb0887be0a0d25.zip FreeBSD-ports-cde117293fcf37aa19d9f54acecb0887be0a0d25.tar.gz |
PERL -> REINPLACE_CMD
PR: 39275
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'astro')
-rw-r--r-- | astro/pyweather/Makefile | 3 | ||||
-rw-r--r-- | astro/xephem/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/astro/pyweather/Makefile b/astro/pyweather/Makefile index 5a0c42b..51499b4 100644 --- a/astro/pyweather/Makefile +++ b/astro/pyweather/Makefile @@ -14,11 +14,12 @@ DISTNAME= pyWeather MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_PYTHON= yes NO_BUILD= yes post-patch: - @${PERL} -pi -e "s:/usr/bin/python:${PYTHON_CMD}:g ; \ + @${REINPLACE_CMD} -e "s:/usr/bin/python:${PYTHON_CMD}:g ; \ s:pyWeather.py:pyWeather:g" ${WRKSRC}/pyWeather.py do-install: diff --git a/astro/xephem/Makefile b/astro/xephem/Makefile index 72bca51..d83ee4b 100644 --- a/astro/xephem/Makefile +++ b/astro/xephem/Makefile @@ -18,13 +18,14 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem USE_MOTIF= yes USE_IMAKE= yes +USE_REINPLACE= yes MAN1= xephem.1 LIBASTROSRC= ${WRKDIR}/${DISTNAME}/libastro LIBIPSRC= ${WRKDIR}/${DISTNAME}/libip post-patch: - @${PERL} -pi -e 's|CC =|CC?=|g ; \ + @${REINPLACE_CMD} -e 's|CC =|CC?=|g ; \ s|CFLAGS=|CFLAGS+=|g ; \ s|-O2 ||g' ${LIBASTROSRC}/Makefile ${LIBIPSRC}/Makefile |