Add staroffice7.0 port. This product is commercial and needs to be bought
from sun.
This commit is contained in:
parent
ef4deebddf
commit
a60c712744
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97750
8 changed files with 4927 additions and 3682 deletions
|
@ -6,22 +6,24 @@
|
|||
#
|
||||
|
||||
PORTNAME= staroffice
|
||||
PORTVERSION= 6.0
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 7.0
|
||||
CATEGORIES= editors linux
|
||||
MASTER_SITES= ftp://ftp.sunsite.auc.dk/disk6/sun-patches/:patch \
|
||||
MASTER_SITES= ftp://ftp.sun.co.uk/pub/patches/:patch \
|
||||
ftp://ftp.sunsite.auc.dk/disk6/sun-patches/:patch \
|
||||
ftp://ftp.math.ohio-state.edu/private/sun/.../:patch \
|
||||
ftp://ftp.uga.edu/pub/unix/sun/patches/:patch \
|
||||
ftp://ftp.cs.tu-berlin.de/pub/sun/sun-fixes/.../:patch
|
||||
DISTNAME= so-6_0-ga-bin-linux-en.bin
|
||||
DISTNAME= so-7-ga-bin-linux-en.bin
|
||||
.if !defined(USE_CDROM)
|
||||
DISTFILES= so-6_0-ga-bin-linux-en.bin 112887-04.tar:patch
|
||||
DISTFILES= so-7-ga-bin-linux-en.bin 116518-02.tar:patch
|
||||
.else
|
||||
DISTFILES= 116518-02.tar:patch
|
||||
.endif
|
||||
.if defined(WITH_ADABAS)
|
||||
DISTFILES+= soa-6_0-ga-bin-linux-en.bin
|
||||
DISTFILES+= soa-7-ga-bin-linux-en.bin
|
||||
.endif
|
||||
|
||||
EXTRACT_ONLY= 112887-04.tar
|
||||
EXTRACT_ONLY= 116518-02.tar
|
||||
|
||||
MAINTAINER= mbr@FreeBSD.org
|
||||
COMMENT= Wordprocessor/dbase/spreadheet/drawing/chart
|
||||
|
@ -38,7 +40,8 @@ TMPDIR= ${WRKDIR}/tmp
|
|||
LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/lib:${LINUXBASE}/usr/lib
|
||||
INSTDB.INS= ${PREFIX}/${SOVERSION}/program/instdb.ins
|
||||
SUNSOLVE= ${WRKDIR}/112887-04
|
||||
ADABAS_DIST= soa-6_0-ga-bin-linux-en.bin
|
||||
ADABAS_DIST= soa-7-ga-bin-linux-en.bin
|
||||
PATCH_DIST= so-7-pp1-bin-linux.bin
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -107,16 +110,23 @@ pre-fetch:
|
|||
@${ECHO} WITH_ADABAS=YES.
|
||||
@${ECHO}
|
||||
.endif
|
||||
.if defined(USE_CDROM)
|
||||
DLTEST=112887-04.tar
|
||||
.else
|
||||
.if exists(/cdrom/linux/office60/setup)
|
||||
.if defined(WITH_ADABAS)
|
||||
@${ECHO}
|
||||
@${ECHO} It seems that you have a Sun StarOffice 6.0 CDROM
|
||||
@${ECHO} This option is currently broken. The enduser installer fails with this
|
||||
@${ECHO} option and tries to copy missing files.
|
||||
@${ECHO}
|
||||
@${FALSE}
|
||||
.endif
|
||||
.if defined(USE_CDROM)
|
||||
DLTEST=116518-02.tar
|
||||
.else
|
||||
.if exists(/cdrom/linux/office7/setup)
|
||||
@${ECHO}
|
||||
@${ECHO} It seems that you have a Sun StarOffice 7.0 CDROM
|
||||
@${ECHO} mounted on ${CD_MOUNTPT}. If you wish to install from
|
||||
@${ECHO} this CD-ROM, please run
|
||||
@${ECHO}
|
||||
@${ECHO} make -USE_CDROM
|
||||
@${ECHO} make USE_CDROM=YES
|
||||
@${ECHO}
|
||||
@${ECHO} Otherwise please unmount the CD-ROM.
|
||||
@${ECHO}
|
||||
|
@ -138,7 +148,8 @@ post-extract:
|
|||
.else
|
||||
@${MKDIR} ${WRKSRC}
|
||||
.if defined(USE_CDROM)
|
||||
@ln -sf /cdrom/linux/office60/* ${WRKSRC}
|
||||
@ln -sf /cdrom/linux/office7/* ${WRKSRC}
|
||||
@${MKDIR} ${TMPDIR}
|
||||
.else
|
||||
@${MKDIR} ${TMPDIR}
|
||||
@${CP} ${_DISTDIR}/${DISTNAME} ${WRKSRC}
|
||||
|
@ -158,6 +169,12 @@ post-configure:
|
|||
's|DefaultDestPath = "staroffice%PRODUCTVERSION";|DefaultDestPath = "${PREFIX}/staroffice%PRODUCTVERSION";|' \
|
||||
${WRKSRC}/setup.ins
|
||||
|
||||
pre-install:
|
||||
@${CP} ${FILESDIR}/setup.resp ${WRKSRC}
|
||||
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
|
||||
-e 's#%%SOVERSION%%#${SOVERSION}#g' \
|
||||
${WRKSRC}/setup.resp
|
||||
|
||||
do-install:
|
||||
.if !defined(DISPLAY) || ${DISPLAY} == ""
|
||||
@ ${ECHO}
|
||||
|
@ -166,28 +183,24 @@ do-install:
|
|||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.else
|
||||
.if exists(${LINUXBASE}/${PREFIX})
|
||||
.if exists(${LINUXBASE}/${PREFIX}/${SOVERSION})
|
||||
@${LN} -fs ${LINUXBASE}/${PREFIX}/${SOVERSION} ${PREFIX}/${SOVERSION}
|
||||
.endif
|
||||
.if !exists(${LINUXBASE}/usr/X11R6/lib/libXrender.so)
|
||||
.if exists(${LINUXBASE}/usr/X11R6/lib/libXrender.so.1.0)
|
||||
@${LN} -fs ${LINUXBASE}/usr/X11R6/lib/libXrender.so.1.0 \
|
||||
${WRKDIR}/tmp/libXrender.so
|
||||
.endif
|
||||
.else
|
||||
@${MKDIR} -p ${PREFIX}/${SOVERSION}
|
||||
.endif
|
||||
@${ECHO} ;
|
||||
@${ECHO_MSG} "===> STEP 1: Main Setup ${PKGNAME}"
|
||||
@${ECHO} ;
|
||||
@-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" LD_LIBRARY_PATH=${LD_PATH} \
|
||||
TEMP=${TMPDIR} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
|
||||
TEMP=${TMPDIR} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net -r:${WRKSRC}/setup.resp'
|
||||
@if [ -f ${PREFIX}/${SOVERSION}/program/setup ]; then \
|
||||
${ECHO} ; \
|
||||
${ECHO} Ignore the error message. StarOffice6.0 has been installed ; \
|
||||
${ECHO} Ignore the error message. StarOffice7.0 has been installed ; \
|
||||
${ECHO} successfully on your system. ; \
|
||||
${ECHO} ; \
|
||||
else \
|
||||
${ECHO} ; \
|
||||
${ECHO} An error occured during StarOffice6.0 install. Please send a mail with debug-output and ; \
|
||||
${ECHO} An error occured during StarOffice7.0 install. Please send a mail with debug-output and ; \
|
||||
${ECHO} some information about your FreeBSD-environment to mb@imp.ch. Thanks. ; \
|
||||
${ECHO} ; \
|
||||
${FALSE} ; \
|
||||
|
@ -205,7 +218,7 @@ do-install:
|
|||
.endif
|
||||
.if defined(WITH_ADABAS)
|
||||
@-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" LD_LIBRARY_PATH=${LD_PATH} \
|
||||
TEMP=${TMPDIR} ${LINUXBASE}/bin/sh -c '${WRKSRC}/${ADABAS_DIST}'
|
||||
TEMP=${TMPDIR} ${LINUXBASE}/bin/sh -c '${WRKSRC}/${ADABAS_DIST} -r:${WRKSRC}/setup.resp'
|
||||
.endif
|
||||
@${ECHO} ;
|
||||
@${ECHO_MSG} "===> STEP 3: Applying sunsolve patches for ${PKGNAME}"
|
||||
|
@ -216,24 +229,30 @@ do-install:
|
|||
post-install:
|
||||
@${ECHO_MSG} "===> Add wrapper scripts";
|
||||
@${SED} -e 's#%%PREFIX%%#${PREFIX}#g' < ${FILESDIR}/wrapper \
|
||||
> ${WRKDIR}/staroffice6
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/staroffice6 ${PREFIX}/bin/staroffice6
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice6 ${PREFIX}/bin/staroffice-sagenda
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice6 ${PREFIX}/bin/staroffice-scalc
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice6 ${PREFIX}/bin/staroffice-sdraw
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice6 ${PREFIX}/bin/staroffice-setup
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice6 ${PREFIX}/bin/staroffice-sfax
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice6 ${PREFIX}/bin/staroffice-simpress
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice6 ${PREFIX}/bin/staroffice-spadmin
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice6 ${PREFIX}/bin/staroffice-sweb
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice6 ${PREFIX}/bin/staroffice-swriter
|
||||
@${ECHO} StarOffice6.0 has been installed successfully. In order to use
|
||||
@${ECHO} it, execute ${PREFIX}/bin/staroffice6.
|
||||
> ${WRKDIR}/staroffice7
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/staroffice7 ${PREFIX}/bin/staroffice7
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice7 ${PREFIX}/bin/staroffice-sagenda
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice7 ${PREFIX}/bin/staroffice-scalc
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice7 ${PREFIX}/bin/staroffice-sdraw
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice7 ${PREFIX}/bin/staroffice-setup
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice7 ${PREFIX}/bin/staroffice-sfax
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice7 ${PREFIX}/bin/staroffice-simpress
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice7 ${PREFIX}/bin/staroffice-spadmin
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice7 ${PREFIX}/bin/staroffice-sweb
|
||||
@${LN} -fs ${PREFIX}/bin/staroffice7 ${PREFIX}/bin/staroffice-swriter
|
||||
@${ECHO} StarOffice7.0 has been installed successfully. In order to use
|
||||
@${ECHO} it, execute ${PREFIX}/bin/staroffice7.
|
||||
@${ECHO}
|
||||
|
||||
install-patch:
|
||||
@${CP} ${FILESDIR}/patchsetup.resp ${WRKSRC}
|
||||
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
|
||||
-e 's#%%SOVERSION%%#${SOVERSION}#g' \
|
||||
${WRKSRC}/patchsetup.resp
|
||||
@-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" LD_LIBRARY_PATH=${LD_PATH} \
|
||||
TEMP=${TMPDIR} ${LINUXBASE}/bin/sh -c '${WRKSRC}/../112887-04/so-6_0-pp2-bin-linux.bin -patch:${PREFIX}/staroffice6.0'
|
||||
TEMP=${TMPDIR} ${LINUXBASE}/bin/sh -c 'umask 022 && \
|
||||
${WRKSRC}/../116518-02/${PATCH_DIST} -patch:${PREFIX}/${SOVERSION}\
|
||||
-r:${WRKSRC}/patchsetup.resp'
|
||||
|
||||
install-update:
|
||||
@make extract
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
MD5 (soa-6_0-ga-bin-linux-en.bin) = 7f7003401e8533e7795faa0fd112111c
|
||||
MD5 (so-6_0-ga-bin-linux-en.bin) = 97cba97cb348d071bea7e8fc08079151
|
||||
MD5 (112887-04.tar) = bf81459b5aefa740679d8f69ad7bf81b
|
||||
MD5 (so-7-addon-ga-bin-en.zip) = c75d6cd61b35297d8ce3c3697ad1b5ee
|
||||
MD5 (so-7-ga-bin-linux-en.bin) = 97a59a15993200c033ae25849bf88f6d
|
||||
MD5 (soa-7-ga-bin-linux-en.bin) = fb4cda40ff388f0db4de19403f2f32c7
|
||||
MD5 (so-7-ga-en-BASIC_GUIDE.PDF) = 29eea1442a0061ceb349f556b2dba917
|
||||
MD5 (so-7-ga-en-MANUAL.PDF) = 478cecf0c08ee7b89cb6ff129aa2af80
|
||||
MD5 (so-7-ga-en-SETUP_GUIDE.PDF) = 5bc102fc44abf61226f046ae88d22f45
|
||||
MD5 (116518-02.tar) = 29a916e37f0aa3bf45b3c688e32bb0ce
|
||||
|
|
3
editors/staroffice70/files/patchsetup.resp
Normal file
3
editors/staroffice70/files/patchsetup.resp
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Environment]
|
||||
InstallationMode = PATCH
|
||||
DestinationPath = %%PREFIX%%/%%SOVERSION%%
|
7
editors/staroffice70/files/setup.resp
Normal file
7
editors/staroffice70/files/setup.resp
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Environment]
|
||||
InstallationMode = INSTALL_NETWORK
|
||||
InstallationType = STANDARD
|
||||
DestinationPath = %%PREFIX%%/%%SOVERSION%%
|
||||
|
||||
[Java]
|
||||
JavaSupport = preinstalled_or_none
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/editors/staroffice70/files/Attic/wrapper,v 1.1 2003-02-05 14:11:27 mbr Exp $
|
||||
#
|
||||
|
||||
sopath=%%PREFIX%%/staroffice6.0/program/
|
||||
sopath=%%PREFIX%%/staroffice7.0/program/
|
||||
program=`echo $0 | sed -e 's|.*-||'`
|
||||
|
||||
case $program in
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
StarOffice 6.0 is a suite of office productivity applications containing
|
||||
StarOffice 7.0 is a suite of office productivity applications containing
|
||||
a word processor, spreadsheet, graphics and presentation, image
|
||||
manipulation, and charting. StarOffice offers the ability to read and
|
||||
write Microsoft Office files.
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
StarOffice 6.0 Personal Install How-To
|
||||
------------------------------------------------------------------
|
||||
------------------------------------------------------------------
|
||||
|
||||
StarOffice 7.0 Personal Install How-To
|
||||
|
||||
Written by: Martin Blapp <mb@imp.ch>
|
||||
|
||||
|
@ -7,16 +10,16 @@ Written by: Martin Blapp <mb@imp.ch>
|
|||
BUGS:
|
||||
|
||||
If a user installation fails, just restart it. It will
|
||||
work the second time. Remove then your $HOME/staroffice6.0
|
||||
directory and the line beginning with "StarOffice 6.0" in
|
||||
work the second time. Remove then your $HOME/staroffice7.0
|
||||
directory and the line beginning with "StarOffice 7.0" in
|
||||
your $HOME/.sversionrc and restart the installation.
|
||||
|
||||
------------------------------------------------------------------
|
||||
|
||||
You will very shortly have finished a network install of
|
||||
StarOffice 6.0. Once that is done exit X11 and run it again as
|
||||
StarOffice 7.0. Once that is done exit X11 and run it again as
|
||||
the user that you usually use. There are some wrappers
|
||||
installed in $PREFIX. Run "staroffice6" and begin a standard
|
||||
installed in $PREFIX. Run "staroffice7" and begin a standard
|
||||
workstation install.
|
||||
|
||||
It will then be ready to use.
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue