pass filenames to program from front-end script, ok robert@
This commit is contained in:
parent
dcb8bcf86a
commit
1f312996ac
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2006/10/18 12:45:59 kurt Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2006/10/18 17:05:57 ian Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
@ -7,7 +7,7 @@ COMMENT= "a multi-platform productivity suite"
|
||||
VERSION= 2.0.4
|
||||
DISTNAME= OOo_${VERSION}_src
|
||||
WRKDIST= ${WRKDIR}/OOD680_m5
|
||||
PKGNAME= openoffice-${VERSION}p0
|
||||
PKGNAME= openoffice-${VERSION}p1
|
||||
CATEGORIES= editors productivity
|
||||
|
||||
SHARED_LIBS= icudata 26.0 \
|
||||
|
@ -1,22 +1,22 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: soffice.sh,v 1.1.1.1 2006/08/17 14:56:21 robert Exp $
|
||||
# $OpenBSD: soffice.sh,v 1.2 2006/10/18 17:05:57 ian Exp $
|
||||
#
|
||||
|
||||
case "$0"
|
||||
in
|
||||
*swriter)
|
||||
%%LOCALBASE%%/openoffice/program/soffice -writer
|
||||
%%LOCALBASE%%/openoffice/program/soffice -writer $*
|
||||
;;
|
||||
*scalc)
|
||||
%%LOCALBASE%%/openoffice/program/soffice -calc
|
||||
%%LOCALBASE%%/openoffice/program/soffice -calc $*
|
||||
;;
|
||||
*sdraw)
|
||||
%%LOCALBASE%%/openoffice/program/soffice -draw
|
||||
%%LOCALBASE%%/openoffice/program/soffice -draw $*
|
||||
;;
|
||||
*simpress)
|
||||
%%LOCALBASE%%/openoffice/program/soffice -impress
|
||||
%%LOCALBASE%%/openoffice/program/soffice -impress $*
|
||||
;;
|
||||
*)
|
||||
%%LOCALBASE%%/openoffice/program/soffice
|
||||
%%LOCALBASE%%/openoffice/program/soffice $*
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user