diff options
author | will <will@FreeBSD.org> | 2001-01-08 01:49:52 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2001-01-08 01:49:52 +0800 |
commit | 17fc78c61a40e51c25675da0e3d99e222c1abdd3 (patch) | |
tree | a8b19a050dd6847de35f8b185751c1b52138d171 /audio/snowstar | |
parent | 98a4931c0a8138d6f6fb6de52d4fd949a15ae520 (diff) | |
download | freebsd-ports-gnome-17fc78c61a40e51c25675da0e3d99e222c1abdd3.tar.gz freebsd-ports-gnome-17fc78c61a40e51c25675da0e3d99e222c1abdd3.tar.zst freebsd-ports-gnome-17fc78c61a40e51c25675da0e3d99e222c1abdd3.zip |
Clean up inefficient perl invocations; use multiple REs in the same call.
Diffstat (limited to 'audio/snowstar')
-rw-r--r-- | audio/snowstar/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/audio/snowstar/Makefile b/audio/snowstar/Makefile index 864dafdcd425..a4d998c6ea3a 100644 --- a/audio/snowstar/Makefile +++ b/audio/snowstar/Makefile @@ -21,11 +21,9 @@ NO_WRKSUBDIR= true DOC_FILES= CHANGES TODO README_Snowstar LICENSE # somehow snowstar.tcl managed to get loaded with ^M's. -post-extract: - @${PERL} -pi -e "s|\r\n|\n|g" ${WRKSRC}/snowstar.tcl - post-patch: - @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/snowstar.tcl + @${PERL} -pi -e "s|\r\n|\n|g ; \ + s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/snowstar.tcl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/snowstar.tcl ${PREFIX}/bin/snowstar |