1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/editors/openoffice.org-2.0/files/openoffice.org-wrapper
Maho Nakata fd9ab87d45 Better handling of PORTVERSION. version number of
ooo-build and openoffice.org-2.0 can be different.
2006-04-20 21:56:12 +00:00

16 lines
328 B
Bash

#!/bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0/files/Attic/openoffice.org-wrapper,v 1.3 2006-04-20 21:56:12 maho Exp $
oopath=%%PREFIX%%/%%INSTALLATION_BASEDIR%%/program/
program=`echo $0 | sed -e 's|.*-%%OOOVERSION%%-||'`
case $program in
$0)
$oopath/soffice "$@"
;;
*)
$oopath/$program "$@"
;;
esac