From 45cc6bf3261e0e13099175ca2f9dffe40df751e6 Mon Sep 17 00:00:00 2001 From: maho <maho@FreeBSD.org> Date: Fri, 29 Jul 2005 01:44:40 +0000 Subject: Rename openoffice-wrapper to openoffice.org-wrapper --- editors/openoffice.org-2/Makefile | 6 +++--- editors/openoffice.org-2/files/openoffice-wrapper | 15 --------------- editors/openoffice.org-2/files/openoffice.org-wrapper | 15 +++++++++++++++ 3 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 editors/openoffice.org-2/files/openoffice-wrapper create mode 100644 editors/openoffice.org-2/files/openoffice.org-wrapper (limited to 'editors/openoffice.org-2') diff --git a/editors/openoffice.org-2/Makefile b/editors/openoffice.org-2/Makefile index e2bae1a..da3e9eb 100644 --- a/editors/openoffice.org-2/Makefile +++ b/editors/openoffice.org-2/Makefile @@ -170,13 +170,13 @@ do-install: post-install: @${ECHO_MSG} "===> Add wrapper scripts"; - @${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/ + @${CP} ${FILESDIR}/openoffice.org-wrapper ${WRKDIR}/ @${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \ -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' \ -e 's#%%MILESTONE%%#${MILESTONE}#g' \ -e 's#%%INSTALLATION_BASEDIR%%#${INSTALLATION_BASEDIR}#g' \ - ${WRKDIR}/openoffice-wrapper - @${INSTALL_SCRIPT} ${WRKDIR}/openoffice-wrapper \ + ${WRKDIR}/openoffice.org-wrapper + @${INSTALL_SCRIPT} ${WRKDIR}/openoffice.org-wrapper \ ${PREFIX}/bin/${EXECBASE} @${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/openoffice.org @${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-sagenda diff --git a/editors/openoffice.org-2/files/openoffice-wrapper b/editors/openoffice.org-2/files/openoffice-wrapper deleted file mode 100644 index 691521c..0000000 --- a/editors/openoffice.org-2/files/openoffice-wrapper +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2/files/Attic/openoffice-wrapper,v 1.15 2005-05-15 04:08:55 maho Exp $ - -oopath=%%PREFIX%%/%%INSTALLATION_BASEDIR%%/program/ -program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%m%%MILESTONE%%-||'` - -case $program in -$0) - $oopath/soffice "$@" - ;; - *) - $oopath/$program "$@" - ;; -esac diff --git a/editors/openoffice.org-2/files/openoffice.org-wrapper b/editors/openoffice.org-2/files/openoffice.org-wrapper new file mode 100644 index 0000000..9a8be83 --- /dev/null +++ b/editors/openoffice.org-2/files/openoffice.org-wrapper @@ -0,0 +1,15 @@ +#!/bin/sh +# +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2/files/Attic/openoffice.org-wrapper,v 1.1 2005-07-29 01:44:40 maho Exp $ + +oopath=%%PREFIX%%/%%INSTALLATION_BASEDIR%%/program/ +program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%m%%MILESTONE%%-||'` + +case $program in +$0) + $oopath/soffice "$@" + ;; + *) + $oopath/$program "$@" + ;; +esac -- cgit v1.1