diff options
author | Kiriyama Kazuhiko <kiri@FreeBSD.org> | 2003-05-08 11:00:15 +0000 |
---|---|---|
committer | Kiriyama Kazuhiko <kiri@FreeBSD.org> | 2003-05-08 11:00:15 +0000 |
commit | bc999a51be2f83fe8fe1e676fa0ccfb16e231bda (patch) | |
tree | 1b1b8aaaccee9c6fc6c320bd0909f114852f7a63 /editors/muggy | |
parent | Set MASTER_SITES fetchable and correct reinplace commands. (diff) |
Change in-place replacement.
Notes
Notes:
svn path=/head/; revision=80438
Diffstat (limited to 'editors/muggy')
-rw-r--r-- | editors/muggy/Makefile | 1 | ||||
-rw-r--r-- | editors/muggy/scripts/post-install | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/editors/muggy/Makefile b/editors/muggy/Makefile index 44538603b8af..26071c16d2f0 100644 --- a/editors/muggy/Makefile +++ b/editors/muggy/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/editors/muggy/scripts/post-install b/editors/muggy/scripts/post-install index c87e77330fe8..36eaa3043a4b 100644 --- a/editors/muggy/scripts/post-install +++ b/editors/muggy/scripts/post-install @@ -5,7 +5,7 @@ installdir=${PREFIX}/JDE/Muggy; export installdir case ${LANGUAGE} in Japanese) for f in Muggy.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 Muggy Muggy.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 |