Make OO1.1RC working. Many thanks to kan for the debugging session

at the dev summit !

Approved by:	joe (portsmgr)
This commit is contained in:
Martin Blapp 2003-09-14 21:52:25 +00:00
parent b8ccee89ee
commit 6b72d0c997
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88986
85 changed files with 1767 additions and 730 deletions

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-2.0-devel/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice-2.0-devel/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -2,16 +2,65 @@
# #
# $FreeBSD$ # $FreeBSD$
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-3/files/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice-3/files/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-devel/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice-devel/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1-devel/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1-devel/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-RC/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-RC/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-devel/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-devel/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0-devel/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0-devel/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-devel/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-devel/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openoffice PORTNAME= openoffice
PORTVERSION= 645 PORTVERSION= 1.1RC4
SNAPDATE= 20030815 SNAPDATE= 20030815
CATEGORIES+= editors CATEGORIES+= editors
MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
@ -17,8 +17,8 @@ MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help \
http://people.freebsd.org/~mbr/ooo/:moz http://people.freebsd.org/~mbr/ooo/:moz
MASTER_SITE_SUBDIR= ${PORTVERSION} MASTER_SITE_SUBDIR= ${BUILD_NR}
DISTFILES+= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 \ DISTFILES+= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2 \
gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \ gpc231.tar.Z:gpc patch-openoffice-mozilla101-2002-10-14:moz \
mozilla-vendor-1.0.2a.tgz:moz mozilla-vendor-1.0.2a.tgz:moz
.if defined(L10NHELP) .if defined(L10NHELP)
@ -38,10 +38,10 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BROKEN= "Does not work yet, installation problems" BUILD_NR= 645
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1 RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} FRELEASE_NR= 1.1.0
INSTALLATION_BASEDIR= OpenOffice.org-${FRELEASE_NR}
DIST_SUBDIR= openoffice DIST_SUBDIR= openoffice
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
@ -96,7 +96,7 @@ CC= gcc33
CXX= g++33 CXX= g++33
.endif .endif
EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 EXTRACT_ONLY= oo_${BUILD_NR}_src_${SNAPDATE}.tar.bz2
MAINTAINER= openoffice@FreeBSD.org MAINTAINER= openoffice@FreeBSD.org
.if !defined(COMMENT) .if !defined(COMMENT)
@ -141,9 +141,9 @@ GNU_CONFIGURE= yes
USE_AUTOCONF= yes USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253 WANT_AUTOCONF_VER= 253
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office WRKSRC= ${WRKDIR}/oo_${BUILD_NR}_src/config_office
LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/
LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/lib/
.if defined(WITH_DEBUG) .if defined(WITH_DEBUG)
CFLAGS+= -g CFLAGS+= -g
.if ${WITH_DEBUG} == 2 .if ${WITH_DEBUG} == 2
@ -503,7 +503,7 @@ pre-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%PORTVERSION%%#${BUILD_NR}#g' \ -e 's#%%PORTVERSION%%#${BUILD_NR}#g' \
${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp ${WRKSRC}/../instsetoo/unxfbsd.pro/${LANG_EXT}/normal/oo_setup.resp
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/ @${MKDIR} -p ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install: do-install:
.if !defined(DISPLAY) .if !defined(DISPLAY)
@ -533,19 +533,21 @@ post-install:
@${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%LANG%%#${USE_LANG}#g' ${WRKDIR}/openoffice
@${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice @${SED} -i orig -e 's#%%BUILD_NR%%#${BUILD_NR}#g' ${WRKDIR}/openoffice
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice_${RELEASE_NR} @${SED} -i orig -e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sagenda @${SED} -i orig -e 's#%%FRELEASE_NR%%#${FRELEASE_NR}#g' ${WRKDIR}/openoffice
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-scalc @${INSTALL_SCRIPT} ${WRKDIR}/openoffice ${PREFIX}/bin/openoffice-${RELEASE_NR}
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sdraw @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sagenda
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-setup @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-scalc
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sfax @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sdraw
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-smath @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-setup
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-simpress @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sfax
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-spadmin @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-smath
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-sweb @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-simpress
@${LN} -fs ${PREFIX}/bin/openoffice_${RELEASE_NR} ${PREFIX}/bin/openoffice_${RELEASE_NR}-swriter @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-spadmin
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice_${RELEASE_NR} > ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-sweb
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice_${RELEASE_NR} >> ${TMPPLIST} @${LN} -fs ${PREFIX}/bin/openoffice-${RELEASE_NR} ${PREFIX}/bin/openoffice-${RELEASE_NR}-swriter
@cd ${PREFIX} && ${FIND} -s bin -type f | ${GREP} openoffice-${RELEASE_NR} > ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s bin -type l | ${GREP} openoffice-${RELEASE_NR} >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST} @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
@cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp

View file

@ -1,7 +1,7 @@
[Environment] [Environment]
InstallationMode = INSTALL_NETWORK InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD InstallationType = STANDARD
DestinationPath = %%PREFIX%%/OpenOffice.org-645 DestinationPath = %%PREFIX%%/OpenOffice.org1.1.0
[Java] [Java]
JavaSupport = preinstalled_or_none JavaSupport = preinstalled_or_none

View file

@ -1,17 +1,66 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-vcltesttool/files/Attic/openoffice-wrapper,v 1.8 2003-06-07 22:09:46 mbr Exp $ # $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-vcltesttool/files/Attic/openoffice-wrapper,v 1.9 2003-09-14 21:52:25 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/ oopath=%%PREFIX%%/OpenOffice.org-%%FRELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'` program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
if [ ! $LANG ]; then if [ ! $LANG ]; then
export LANG=%%LANG%% export LANG=%%LANG%%
fi fi
if [ -e $HOME/OpenOffice.org1.1/setup.log ]; then save_common_xcu() {
if [ ! -e $HOME/OpenOffice.org1.1/user/config/soffice.cfg ]; then sed 's/^X//' > tmp/Common.xcu << 'END-of-Common.xcu'
touch $HOME/OpenOffice.org1.1/user/config/soffice.cfg X<?xml version="1.0" encoding="UTF-8"?>
X<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
X <node oor:name="Internal">
X <prop oor:name="CurrentTempURL" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X <node oor:name="Misc">
X <prop oor:name="FirstRun" oor:type="xs:boolean">
X <value>true</value>
X </prop>
X </node>
X <node oor:name="ExternalApps">
X <prop oor:name="file" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="ftp" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="http" oor:type="xs:string">
X <value>%%mozilla%%</value>
X </prop>
X <prop oor:name="https" oor:type="xs:string">
X <value/>
X </prop>
X <prop oor:name="mailto" oor:type="xs:string">
X <value/>
X </prop>
X </node>
X</oor:component-data>
END-of-Common.xcu
mozilla=`which mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mozilla=`which linux-mozilla`;
if [ $? -eq 0 ]; then
sed -i orig -e 's#%%mozilla%%#'$mozilla'#g' tmp/Common.xcu
fi
mv tmp/Common.xcu user/registry/data/org/openoffice/Office
}
if [ -e $HOME/OpenOffice.org%%FRELEASE_NR%%/setup ]; then
cd $HOME/OpenOffice.org%%FRELEASE_NR%%
if [ ! -e $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg ]; then
touch $HOME/OpenOffice.org%%FRELEASE_NR%%/user/config/soffice.cfg
fi
if [ ! -e user/registry/data/org/openoffice/Office/Common.xcu ]; then
mkdir -p tmp;
save_common_xcu;
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
@@ -299,6 +299,7 @@
_ZNK4cppu6UnoUrl11getProtocolEv;
_ZNK4cppu6UnoUrl13getConnectionEv;
_ZNK4cppu6UnoUrl13getObjectNameEv;
+_end;
local:
*;

View file

@ -1,9 +1,9 @@
OpenOffice.org Build 644 Beta Personal Install How-To OpenOffice.org Build 1.1RC4 Personal Install How-To
Written by: Martin Blapp <mbr@freebsd.org> Written by: Martin Blapp <mbr@freebsd.org>
OpenOffice.org 1.1Beta will soon been installed in OpenOffice.org 1.1Beta will soon been installed in
${PREFIX}/OpenOffice.org-644 ${PREFIX}/OpenOffice.org-1.1.0
1 User installation 1 User installation
------------------- -------------------
@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully
installed the package. If there is no installed installed the package. If there is no installed
OO.org dir in hour homedir, you'll be prompted to OO.org dir in hour homedir, you'll be prompted to
install some files and choose a installed JDK. install some files and choose a installed JDK.
The setup installs a "OpenOffice.org1.1Beta" folder The setup installs a "OpenOffice.org1.1.0" folder
in your homedir. in your homedir.
If the setup tells you there is already an installed If the setup tells you there is already an installed
@ -29,16 +29,16 @@ There are some wrappers installed for fast startup.
Add "${PREFIX}/bin/" to your PATH and you will be able Add "${PREFIX}/bin/" to your PATH and you will be able
to use them. to use them.
${PREFIX}/bin/openoffice_1.1 ${PREFIX}/bin/openoffice-1.1
${PREFIX}/bin/openoffice_1.1-sagenda ${PREFIX}/bin/openoffice-1.1-sagenda
${PREFIX}/bin/openoffice_1.1-scalc ${PREFIX}/bin/openoffice-1.1-scalc
${PREFIX}/bin/openoffice_1.1-sdraw ${PREFIX}/bin/openoffice-1.1-sdraw
${PREFIX}/bin/openoffice_1.1-setup ${PREFIX}/bin/openoffice-1.1-setup
${PREFIX}/bin/openoffice_1.1-sfax ${PREFIX}/bin/openoffice-1.1-sfax
${PREFIX}/bin/openoffice_1.1-simpress ${PREFIX}/bin/openoffice-1.1-simpress
${PREFIX}/bin/openoffice_1.1-spadmin ${PREFIX}/bin/openoffice-1.1-spadmin
${PREFIX}/bin/openoffice_1.1-sweb ${PREFIX}/bin/openoffice-1.1-sweb
${PREFIX}/bin/openoffice_1.1-swriter ${PREFIX}/bin/openoffice-1.1-swriter
OO.org does need $LANG to be set to a suitable value. OO.org does need $LANG to be set to a suitable value.
If it is not already set, a default value is chosen. If it is not already set, a default value is chosen.