summaryrefslogtreecommitdiffstats
path: root/graphics/jgv
diff options
context:
space:
mode:
authorkiri <kiri@FreeBSD.org>2003-05-08 11:00:15 +0000
committerkiri <kiri@FreeBSD.org>2003-05-08 11:00:15 +0000
commitc02e408ab212bb818b4a6d4c34feb06f89dfca18 (patch)
tree32f348f7f9b52e1472a679e4e6c9bb92faa0baab /graphics/jgv
parent262d0a2f95068109fea6f021fb97cb489c111fff (diff)
downloadFreeBSD-ports-c02e408ab212bb818b4a6d4c34feb06f89dfca18.zip
FreeBSD-ports-c02e408ab212bb818b4a6d4c34feb06f89dfca18.tar.gz
Change in-place replacement.
Diffstat (limited to 'graphics/jgv')
-rw-r--r--graphics/jgv/Makefile1
-rw-r--r--graphics/jgv/scripts/post-install4
2 files changed, 3 insertions, 2 deletions
diff --git a/graphics/jgv/Makefile b/graphics/jgv/Makefile
index 655d3ad..e54d439 100644
--- a/graphics/jgv/Makefile
+++ b/graphics/jgv/Makefile
@@ -24,6 +24,7 @@ NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
+REINPLACE_ARGS=
SCRIPTS_ENV= LANG=C LN=${LN} REINPLACE_CMD="${REINPLACE_CMD}" \
LANGUAGE=${LANGUAGE} VERSION=${TKSTEPVERSION}
PLIST_SUB= PIXMAP_PATH=${PIXMAPPATH:S@^${PREFIX}/@@}
diff --git a/graphics/jgv/scripts/post-install b/graphics/jgv/scripts/post-install
index 6440c56..7d7d37f 100644
--- a/graphics/jgv/scripts/post-install
+++ b/graphics/jgv/scripts/post-install
@@ -5,7 +5,7 @@ installdir=${PREFIX}/JDE/JGV; export installdir
case ${LANGUAGE} in
Japanese)
for f in JGV.app; do
- ${REINPLACE_CMD} -E -e \
+ ${REINPLACE_CMD} -i "" -E -e \
"s/^(exec[[:space:]]+)wishstep[[:space:]]*([[:space:]]+.*)\$/\1wishstep${VERSION}jp\2/" \
${installdir}/bin/${f}
done
@@ -22,7 +22,7 @@ for f in JGV JGV.app; do
target=${installdir}/defaults/${f}
;;
esac
- ${REINPLACE_CMD} -E -e \
+ ${REINPLACE_CMD} -i "" -E -e \
"s@^([[:space:]]*set[[:space:]]+Jlib[[:space:]]+)\"[^\"]*\"\$@\1\"${installdir}/\"@" \
${target}
done
OpenPOWER on IntegriCloud