summaryrefslogtreecommitdiff
path: root/editors/staroffice70
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-10-15 22:46:13 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-10-15 22:46:13 +0000
commitae0401e07ebb39c168a83066ea1c09af34b3fcb7 (patch)
tree5d8afb9d1e392be4055e8be49738b5a834e04425 /editors/staroffice70
parentUpdate to 1.4 Build 134 (diff)
We can more easily just echo the single line that is in sversionrc
than copy & sed it.
Diffstat (limited to 'editors/staroffice70')
-rw-r--r--editors/staroffice70/Makefile7
-rw-r--r--editors/staroffice70/files/sversionrc3
2 files changed, 3 insertions, 7 deletions
diff --git a/editors/staroffice70/Makefile b/editors/staroffice70/Makefile
index 3a640542d6e1..578756d199db 100644
--- a/editors/staroffice70/Makefile
+++ b/editors/staroffice70/Makefile
@@ -143,11 +143,10 @@ post-install:
install-user:
.if !exists(/home/mb/staroffice6.0/setup)
-.if exists(${HOME}/.sversionrc)
- @${ECHO} "StarOffice 6.0=${HOME}/${SOVERSION}" >> "${HOME}/.sversionrc"
-.else
- @${SED} -e 's|%%HOME%%|${HOME}|' < "${FILESDIR}/sversionrc" > "${HOME}/.sversionrc"
+.if !exists(${HOME}/.sversionrc)
+ @${ECHO} "[Versions]" >> "${HOME}/.sversionrc"
.endif
+ @${ECHO} "StarOffice 6.0=${HOME}/${SOVERSION}" >> "${HOME}/.sversionrc"
@${MKDIR} "${HOME}/${SOVERSION}/user/autotext"
@${MKDIR} "${HOME}/${SOVERSION}/user/temp"
@${MKDIR} "${HOME}/${SOVERSION}/user/autocorr"
diff --git a/editors/staroffice70/files/sversionrc b/editors/staroffice70/files/sversionrc
deleted file mode 100644
index 6cc054c61cbf..000000000000
--- a/editors/staroffice70/files/sversionrc
+++ /dev/null
@@ -1,3 +0,0 @@
-[Versions]
-StarOffice 6.0=%%HOME%%/staroffice6.0
-