mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
First step towards a working port.
This commit is contained in:
parent
26facb52c7
commit
61a0b70bc9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55362
240 changed files with 62660 additions and 61740 deletions
|
@ -1,62 +1,87 @@
|
|||
# ex:ts=8
|
||||
# New ports collection makefile for: OpenOffice
|
||||
# Date created: 22 August 2000
|
||||
# Date created: 28 Februar 2002
|
||||
# Whom: Martin Blapp
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= openoffice
|
||||
PORTVERSION= 6.0.a638
|
||||
PORTVERSION= 6.0.641
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= http://a2024.g.akamai.net/7/2024/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/ \
|
||||
http://a2000.g.akamai.net/7/2000/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/
|
||||
DISTNAME= oo_638_src
|
||||
#DISTFILES= oo_638_src${EXTRACT_SUFX} solenv638_linuxintel${EXTRACT_SUFX}
|
||||
MASTER_SITES= http://sf1.mirror.openoffice.org/641b/ \
|
||||
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
|
||||
ftp://ftp.netbsd.org/pub/NetBSD/misc/mrauch/
|
||||
DISTFILES= oo_641_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz
|
||||
EXTRACT_ONLY= oo_641_src.tar.bz2
|
||||
EXTRACT_REST= gpc231.tar.Z oo_moz_641.tar.gz
|
||||
|
||||
MAINTAINER= mbr@FreeBSD.org
|
||||
BROKEN= 'Work in progress -- does not build yet till the end'
|
||||
|
||||
USE_BZIP2= yes
|
||||
EXTRACT_BEFORE_ARGS_R= -dc
|
||||
EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
|
||||
EXTRACT_CMD_R= ${GZIP_CMD}
|
||||
|
||||
GCC_VERSION!= ${CC} --version
|
||||
|
||||
BUILD_DEPENDS= stlport:${PORTSDIR}/devel/stlport
|
||||
BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison
|
||||
BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
|
||||
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
|
||||
BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13
|
||||
BUILD_DEPENDS+= pth:${PORTSDIR}/devel/pth
|
||||
|
||||
BROKEN= 'work in progress -- does not work yet'
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/oo_641_src/config_office
|
||||
|
||||
BZIP2= yes
|
||||
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
|
||||
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX} \
|
||||
--with-jdk-home=${PREFIX}/jdk1.3.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
pre-fetch:
|
||||
.if ${GCC_VERSION}!="2.95.2" && ${GCC_VERSION}!="2.95.3"
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Openoffice requires gcc 2.95.2 or better
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.endif
|
||||
.if ${OSVERSION} < 500031
|
||||
@${ECHO}
|
||||
@${ECHO} OS-VERSION ${OSVERSION}
|
||||
@${ECHO}
|
||||
@${ECHO} Openoffice depends on OS-Fixes which are
|
||||
@${ECHO} not yet available.
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
pre-extract:
|
||||
.if !defined(DISPLAY) || ${DISPLAY} == ""
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Can\'t open display:
|
||||
@ ${ECHO} Please check your DISPLAY variable.
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.else
|
||||
.if exists(${LINUXBASE}/${PREFIX})
|
||||
@${LN} -fs ${LINUXBASE}/${PREFIX}/office52 ${PREFIX}/office52
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
|
||||
@if [ -f ${PREFIX}/office52/program/setup ]; then \
|
||||
${ECHO} ; \
|
||||
${ECHO} Ignore the error-message. OpenOffice has been installed ; \
|
||||
${ECHO} successfully on your system. ; \
|
||||
${ECHO} ; \
|
||||
else \
|
||||
${ECHO} ; \
|
||||
${ECHO} An error occured during OpenOffice install. Please send a mail with debug-output and ; \
|
||||
${ECHO} some information about your FreeBSD-environment to mb@imp.ch. Thanks. ; \
|
||||
${ECHO} ; \
|
||||
${FALSE} ; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch
|
||||
@${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch
|
||||
post-extract:
|
||||
@for file in ${EXTRACT_REST}; do \
|
||||
if ! (cd ${WRKDIR} && ${EXTRACT_CMD_R} \
|
||||
${EXTRACT_BEFORE_ARGS_R} \
|
||||
${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS_R}) ; \
|
||||
then \
|
||||
exit 1; \
|
||||
fi \
|
||||
done
|
||||
${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/
|
||||
${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/
|
||||
|
||||
install-user:
|
||||
${PREFIX}/office52/program/setup
|
||||
do-build:
|
||||
@cd ${WRKDIR}/oo_641_src && ./bootstrap
|
||||
@cd ${WRKDIR}/oo_641_src && /bin/tcsh -c 'source FreeBSDEnv.Set && dmake'
|
||||
|
||||
do-install:
|
||||
@cd ${WRKDIR}/oo_641_src && ./setup -r:oo_setup.resp
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
MD5 (oo_638_src.tar.gz) = 8c3ef0826ee90a5638b14e5153a96fda
|
||||
MD5 (oo_641_src.tar.bz2) = b3e380ede6b1c4248872ba57ccb1fac0
|
||||
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
|
||||
MD5 (oo_moz_641.tar.gz) = 548568503c05c58f1e8f0c90bf3f75a9
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- config_office/bootstrap.1.orig Mon Sep 18 09:13:24 2000
|
||||
+++ config_office/bootstrap.1 Fri Oct 13 17:51:37 2000
|
||||
@@ -9,6 +9,8 @@
|
||||
make linux
|
||||
else if ($platform == "Darwin") then
|
||||
make macosx
|
||||
+else if ($platform == "FreeBSD") then
|
||||
+ make linux
|
||||
endif
|
||||
|
||||
if "$?" != "0" exit
|
1276
editors/openoffice-1.0/files/patch-config_office::configure
Normal file
1276
editors/openoffice-1.0/files/patch-config_office::configure
Normal file
File diff suppressed because it is too large
Load diff
12
editors/openoffice-1.0/files/patch-rsc+source+rscpp+cpp.h
Normal file
12
editors/openoffice-1.0/files/patch-rsc+source+rscpp+cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
12
editors/openoffice-1.0/files/patch-rsc::source::rscpp::cpp.h
Normal file
12
editors/openoffice-1.0/files/patch-rsc::source::rscpp::cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
12
editors/openoffice-1.0/files/patch-rscpp::cpp.h
Normal file
12
editors/openoffice-1.0/files/patch-rscpp::cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rscpp/cpp.h.orig Fri Mar 1 00:15:54 2002
|
||||
+++ ../rscpp/cpp.h Fri Mar 1 00:15:56 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
29
editors/openoffice-1.0/files/patch-sal+osl+unx+nlsupport.c
Normal file
29
editors/openoffice-1.0/files/patch-sal+osl+unx+nlsupport.c
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -1,4 +1,14 @@
|
|||
OpenOffice is a suite of office productivity applications containing
|
||||
a word processor, spreadsheet, graphics and presentation, image
|
||||
manipulation, and charting. It offers the ability to read and
|
||||
write Microsoft Office files.
|
||||
OpenOffice.org is an Open Source, community-developed, multi-platform office
|
||||
productivity suite. It includes the key desktop applications, such as a
|
||||
word processor, spreadsheet, presentation manager, and drawing program,
|
||||
with a user interface and feature set similar to other office suites.
|
||||
|
||||
Components include:
|
||||
* A universal word processing application for creating business
|
||||
letters, extensive text documents, professional layouts, and HTML
|
||||
documents.
|
||||
* A sophisticated application for performing advanced spreadsheet
|
||||
functions, such as analyzing figures, creating lists, and viewing data.
|
||||
* A tool for creating effective eye-catching presentations.
|
||||
* A vector-oriented draw module that enables the creation of 3D
|
||||
illustrations
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
StarOffice 5.2 Personal Install How-To
|
||||
OpenOffice Build 641 Personal Install How-To
|
||||
|
||||
Written by: Darren Wiebe <dkwiebe@hagenhomes.com>
|
||||
and Martin Blapp <mb@imp.ch>
|
||||
Written by: Matthias Rauch <mrauch@netbsd.org>
|
||||
Martin Blapp <mbr@freebsd.org>
|
||||
|
||||
You will very shortly have finished a network install of StarOffice 5.2.
|
||||
Once that is done exit X11 and run it again as the user that you usually use.
|
||||
Then run "make install-user" and do a standard workstation install.
|
||||
Change the install path to $HOME/office52. Then add $HOME/office52/ to your path.
|
||||
OpenOffice has now been installed in ${PREFIX}/OpenOffice.org641.
|
||||
|
||||
It will now be ready to use.
|
||||
|
||||
Good Luck
|
||||
Once that is done exit X11 and run it again as the user
|
||||
that you usually use. Then run "make install-user" and do
|
||||
a standard workstation Thereafter, OpenOffice can be started using the
|
||||
${PREFIX}/bin/soffice command.
|
||||
|
||||
Please note that this software should be considered alpha quality
|
||||
at the moment, i.e. take extra care when using it in production
|
||||
environments.
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,62 +1,87 @@
|
|||
# ex:ts=8
|
||||
# New ports collection makefile for: OpenOffice
|
||||
# Date created: 22 August 2000
|
||||
# Date created: 28 Februar 2002
|
||||
# Whom: Martin Blapp
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= openoffice
|
||||
PORTVERSION= 6.0.a638
|
||||
PORTVERSION= 6.0.641
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= http://a2024.g.akamai.net/7/2024/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/ \
|
||||
http://a2000.g.akamai.net/7/2000/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/
|
||||
DISTNAME= oo_638_src
|
||||
#DISTFILES= oo_638_src${EXTRACT_SUFX} solenv638_linuxintel${EXTRACT_SUFX}
|
||||
MASTER_SITES= http://sf1.mirror.openoffice.org/641b/ \
|
||||
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
|
||||
ftp://ftp.netbsd.org/pub/NetBSD/misc/mrauch/
|
||||
DISTFILES= oo_641_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz
|
||||
EXTRACT_ONLY= oo_641_src.tar.bz2
|
||||
EXTRACT_REST= gpc231.tar.Z oo_moz_641.tar.gz
|
||||
|
||||
MAINTAINER= mbr@FreeBSD.org
|
||||
BROKEN= 'Work in progress -- does not build yet till the end'
|
||||
|
||||
USE_BZIP2= yes
|
||||
EXTRACT_BEFORE_ARGS_R= -dc
|
||||
EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
|
||||
EXTRACT_CMD_R= ${GZIP_CMD}
|
||||
|
||||
GCC_VERSION!= ${CC} --version
|
||||
|
||||
BUILD_DEPENDS= stlport:${PORTSDIR}/devel/stlport
|
||||
BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison
|
||||
BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
|
||||
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
|
||||
BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13
|
||||
BUILD_DEPENDS+= pth:${PORTSDIR}/devel/pth
|
||||
|
||||
BROKEN= 'work in progress -- does not work yet'
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/oo_641_src/config_office
|
||||
|
||||
BZIP2= yes
|
||||
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
|
||||
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX} \
|
||||
--with-jdk-home=${PREFIX}/jdk1.3.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
pre-fetch:
|
||||
.if ${GCC_VERSION}!="2.95.2" && ${GCC_VERSION}!="2.95.3"
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Openoffice requires gcc 2.95.2 or better
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.endif
|
||||
.if ${OSVERSION} < 500031
|
||||
@${ECHO}
|
||||
@${ECHO} OS-VERSION ${OSVERSION}
|
||||
@${ECHO}
|
||||
@${ECHO} Openoffice depends on OS-Fixes which are
|
||||
@${ECHO} not yet available.
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
pre-extract:
|
||||
.if !defined(DISPLAY) || ${DISPLAY} == ""
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Can\'t open display:
|
||||
@ ${ECHO} Please check your DISPLAY variable.
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.else
|
||||
.if exists(${LINUXBASE}/${PREFIX})
|
||||
@${LN} -fs ${LINUXBASE}/${PREFIX}/office52 ${PREFIX}/office52
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
|
||||
@if [ -f ${PREFIX}/office52/program/setup ]; then \
|
||||
${ECHO} ; \
|
||||
${ECHO} Ignore the error-message. OpenOffice has been installed ; \
|
||||
${ECHO} successfully on your system. ; \
|
||||
${ECHO} ; \
|
||||
else \
|
||||
${ECHO} ; \
|
||||
${ECHO} An error occured during OpenOffice install. Please send a mail with debug-output and ; \
|
||||
${ECHO} some information about your FreeBSD-environment to mb@imp.ch. Thanks. ; \
|
||||
${ECHO} ; \
|
||||
${FALSE} ; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch
|
||||
@${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch
|
||||
post-extract:
|
||||
@for file in ${EXTRACT_REST}; do \
|
||||
if ! (cd ${WRKDIR} && ${EXTRACT_CMD_R} \
|
||||
${EXTRACT_BEFORE_ARGS_R} \
|
||||
${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS_R}) ; \
|
||||
then \
|
||||
exit 1; \
|
||||
fi \
|
||||
done
|
||||
${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/
|
||||
${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/
|
||||
|
||||
install-user:
|
||||
${PREFIX}/office52/program/setup
|
||||
do-build:
|
||||
@cd ${WRKDIR}/oo_641_src && ./bootstrap
|
||||
@cd ${WRKDIR}/oo_641_src && /bin/tcsh -c 'source FreeBSDEnv.Set && dmake'
|
||||
|
||||
do-install:
|
||||
@cd ${WRKDIR}/oo_641_src && ./setup -r:oo_setup.resp
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
MD5 (oo_638_src.tar.gz) = 8c3ef0826ee90a5638b14e5153a96fda
|
||||
MD5 (oo_641_src.tar.bz2) = b3e380ede6b1c4248872ba57ccb1fac0
|
||||
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
|
||||
MD5 (oo_moz_641.tar.gz) = 548568503c05c58f1e8f0c90bf3f75a9
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- config_office/bootstrap.1.orig Mon Sep 18 09:13:24 2000
|
||||
+++ config_office/bootstrap.1 Fri Oct 13 17:51:37 2000
|
||||
@@ -9,6 +9,8 @@
|
||||
make linux
|
||||
else if ($platform == "Darwin") then
|
||||
make macosx
|
||||
+else if ($platform == "FreeBSD") then
|
||||
+ make linux
|
||||
endif
|
||||
|
||||
if "$?" != "0" exit
|
1276
editors/openoffice-1.1-devel/files/patch-config_office::configure
Normal file
1276
editors/openoffice-1.1-devel/files/patch-config_office::configure
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
12
editors/openoffice-1.1-devel/files/patch-rscpp::cpp.h
Normal file
12
editors/openoffice-1.1-devel/files/patch-rscpp::cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rscpp/cpp.h.orig Fri Mar 1 00:15:54 2002
|
||||
+++ ../rscpp/cpp.h Fri Mar 1 00:15:56 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -1,4 +1,14 @@
|
|||
OpenOffice is a suite of office productivity applications containing
|
||||
a word processor, spreadsheet, graphics and presentation, image
|
||||
manipulation, and charting. It offers the ability to read and
|
||||
write Microsoft Office files.
|
||||
OpenOffice.org is an Open Source, community-developed, multi-platform office
|
||||
productivity suite. It includes the key desktop applications, such as a
|
||||
word processor, spreadsheet, presentation manager, and drawing program,
|
||||
with a user interface and feature set similar to other office suites.
|
||||
|
||||
Components include:
|
||||
* A universal word processing application for creating business
|
||||
letters, extensive text documents, professional layouts, and HTML
|
||||
documents.
|
||||
* A sophisticated application for performing advanced spreadsheet
|
||||
functions, such as analyzing figures, creating lists, and viewing data.
|
||||
* A tool for creating effective eye-catching presentations.
|
||||
* A vector-oriented draw module that enables the creation of 3D
|
||||
illustrations
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
StarOffice 5.2 Personal Install How-To
|
||||
OpenOffice Build 641 Personal Install How-To
|
||||
|
||||
Written by: Darren Wiebe <dkwiebe@hagenhomes.com>
|
||||
and Martin Blapp <mb@imp.ch>
|
||||
Written by: Matthias Rauch <mrauch@netbsd.org>
|
||||
Martin Blapp <mbr@freebsd.org>
|
||||
|
||||
You will very shortly have finished a network install of StarOffice 5.2.
|
||||
Once that is done exit X11 and run it again as the user that you usually use.
|
||||
Then run "make install-user" and do a standard workstation install.
|
||||
Change the install path to $HOME/office52. Then add $HOME/office52/ to your path.
|
||||
OpenOffice has now been installed in ${PREFIX}/OpenOffice.org641.
|
||||
|
||||
It will now be ready to use.
|
||||
|
||||
Good Luck
|
||||
Once that is done exit X11 and run it again as the user
|
||||
that you usually use. Then run "make install-user" and do
|
||||
a standard workstation Thereafter, OpenOffice can be started using the
|
||||
${PREFIX}/bin/soffice command.
|
||||
|
||||
Please note that this software should be considered alpha quality
|
||||
at the moment, i.e. take extra care when using it in production
|
||||
environments.
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,62 +1,87 @@
|
|||
# ex:ts=8
|
||||
# New ports collection makefile for: OpenOffice
|
||||
# Date created: 22 August 2000
|
||||
# Date created: 28 Februar 2002
|
||||
# Whom: Martin Blapp
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= openoffice
|
||||
PORTVERSION= 6.0.a638
|
||||
PORTVERSION= 6.0.641
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= http://a2024.g.akamai.net/7/2024/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/ \
|
||||
http://a2000.g.akamai.net/7/2000/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/
|
||||
DISTNAME= oo_638_src
|
||||
#DISTFILES= oo_638_src${EXTRACT_SUFX} solenv638_linuxintel${EXTRACT_SUFX}
|
||||
MASTER_SITES= http://sf1.mirror.openoffice.org/641b/ \
|
||||
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
|
||||
ftp://ftp.netbsd.org/pub/NetBSD/misc/mrauch/
|
||||
DISTFILES= oo_641_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz
|
||||
EXTRACT_ONLY= oo_641_src.tar.bz2
|
||||
EXTRACT_REST= gpc231.tar.Z oo_moz_641.tar.gz
|
||||
|
||||
MAINTAINER= mbr@FreeBSD.org
|
||||
BROKEN= 'Work in progress -- does not build yet till the end'
|
||||
|
||||
USE_BZIP2= yes
|
||||
EXTRACT_BEFORE_ARGS_R= -dc
|
||||
EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
|
||||
EXTRACT_CMD_R= ${GZIP_CMD}
|
||||
|
||||
GCC_VERSION!= ${CC} --version
|
||||
|
||||
BUILD_DEPENDS= stlport:${PORTSDIR}/devel/stlport
|
||||
BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison
|
||||
BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
|
||||
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
|
||||
BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13
|
||||
BUILD_DEPENDS+= pth:${PORTSDIR}/devel/pth
|
||||
|
||||
BROKEN= 'work in progress -- does not work yet'
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/oo_641_src/config_office
|
||||
|
||||
BZIP2= yes
|
||||
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
|
||||
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX} \
|
||||
--with-jdk-home=${PREFIX}/jdk1.3.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
pre-fetch:
|
||||
.if ${GCC_VERSION}!="2.95.2" && ${GCC_VERSION}!="2.95.3"
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Openoffice requires gcc 2.95.2 or better
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.endif
|
||||
.if ${OSVERSION} < 500031
|
||||
@${ECHO}
|
||||
@${ECHO} OS-VERSION ${OSVERSION}
|
||||
@${ECHO}
|
||||
@${ECHO} Openoffice depends on OS-Fixes which are
|
||||
@${ECHO} not yet available.
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
pre-extract:
|
||||
.if !defined(DISPLAY) || ${DISPLAY} == ""
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Can\'t open display:
|
||||
@ ${ECHO} Please check your DISPLAY variable.
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.else
|
||||
.if exists(${LINUXBASE}/${PREFIX})
|
||||
@${LN} -fs ${LINUXBASE}/${PREFIX}/office52 ${PREFIX}/office52
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
|
||||
@if [ -f ${PREFIX}/office52/program/setup ]; then \
|
||||
${ECHO} ; \
|
||||
${ECHO} Ignore the error-message. OpenOffice has been installed ; \
|
||||
${ECHO} successfully on your system. ; \
|
||||
${ECHO} ; \
|
||||
else \
|
||||
${ECHO} ; \
|
||||
${ECHO} An error occured during OpenOffice install. Please send a mail with debug-output and ; \
|
||||
${ECHO} some information about your FreeBSD-environment to mb@imp.ch. Thanks. ; \
|
||||
${ECHO} ; \
|
||||
${FALSE} ; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch
|
||||
@${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch
|
||||
post-extract:
|
||||
@for file in ${EXTRACT_REST}; do \
|
||||
if ! (cd ${WRKDIR} && ${EXTRACT_CMD_R} \
|
||||
${EXTRACT_BEFORE_ARGS_R} \
|
||||
${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS_R}) ; \
|
||||
then \
|
||||
exit 1; \
|
||||
fi \
|
||||
done
|
||||
${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/
|
||||
${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/
|
||||
|
||||
install-user:
|
||||
${PREFIX}/office52/program/setup
|
||||
do-build:
|
||||
@cd ${WRKDIR}/oo_641_src && ./bootstrap
|
||||
@cd ${WRKDIR}/oo_641_src && /bin/tcsh -c 'source FreeBSDEnv.Set && dmake'
|
||||
|
||||
do-install:
|
||||
@cd ${WRKDIR}/oo_641_src && ./setup -r:oo_setup.resp
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
MD5 (oo_638_src.tar.gz) = 8c3ef0826ee90a5638b14e5153a96fda
|
||||
MD5 (oo_641_src.tar.bz2) = b3e380ede6b1c4248872ba57ccb1fac0
|
||||
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
|
||||
MD5 (oo_moz_641.tar.gz) = 548568503c05c58f1e8f0c90bf3f75a9
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- config_office/bootstrap.1.orig Mon Sep 18 09:13:24 2000
|
||||
+++ config_office/bootstrap.1 Fri Oct 13 17:51:37 2000
|
||||
@@ -9,6 +9,8 @@
|
||||
make linux
|
||||
else if ($platform == "Darwin") then
|
||||
make macosx
|
||||
+else if ($platform == "FreeBSD") then
|
||||
+ make linux
|
||||
endif
|
||||
|
||||
if "$?" != "0" exit
|
1276
editors/openoffice-1.1/files/patch-config_office::configure
Normal file
1276
editors/openoffice-1.1/files/patch-config_office::configure
Normal file
File diff suppressed because it is too large
Load diff
12
editors/openoffice-1.1/files/patch-rsc+source+rscpp+cpp.h
Normal file
12
editors/openoffice-1.1/files/patch-rsc+source+rscpp+cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
12
editors/openoffice-1.1/files/patch-rsc::source::rscpp::cpp.h
Normal file
12
editors/openoffice-1.1/files/patch-rsc::source::rscpp::cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
12
editors/openoffice-1.1/files/patch-rscpp::cpp.h
Normal file
12
editors/openoffice-1.1/files/patch-rscpp::cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rscpp/cpp.h.orig Fri Mar 1 00:15:54 2002
|
||||
+++ ../rscpp/cpp.h Fri Mar 1 00:15:56 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
29
editors/openoffice-1.1/files/patch-sal+osl+unx+nlsupport.c
Normal file
29
editors/openoffice-1.1/files/patch-sal+osl+unx+nlsupport.c
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -1,4 +1,14 @@
|
|||
OpenOffice is a suite of office productivity applications containing
|
||||
a word processor, spreadsheet, graphics and presentation, image
|
||||
manipulation, and charting. It offers the ability to read and
|
||||
write Microsoft Office files.
|
||||
OpenOffice.org is an Open Source, community-developed, multi-platform office
|
||||
productivity suite. It includes the key desktop applications, such as a
|
||||
word processor, spreadsheet, presentation manager, and drawing program,
|
||||
with a user interface and feature set similar to other office suites.
|
||||
|
||||
Components include:
|
||||
* A universal word processing application for creating business
|
||||
letters, extensive text documents, professional layouts, and HTML
|
||||
documents.
|
||||
* A sophisticated application for performing advanced spreadsheet
|
||||
functions, such as analyzing figures, creating lists, and viewing data.
|
||||
* A tool for creating effective eye-catching presentations.
|
||||
* A vector-oriented draw module that enables the creation of 3D
|
||||
illustrations
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
StarOffice 5.2 Personal Install How-To
|
||||
OpenOffice Build 641 Personal Install How-To
|
||||
|
||||
Written by: Darren Wiebe <dkwiebe@hagenhomes.com>
|
||||
and Martin Blapp <mb@imp.ch>
|
||||
Written by: Matthias Rauch <mrauch@netbsd.org>
|
||||
Martin Blapp <mbr@freebsd.org>
|
||||
|
||||
You will very shortly have finished a network install of StarOffice 5.2.
|
||||
Once that is done exit X11 and run it again as the user that you usually use.
|
||||
Then run "make install-user" and do a standard workstation install.
|
||||
Change the install path to $HOME/office52. Then add $HOME/office52/ to your path.
|
||||
OpenOffice has now been installed in ${PREFIX}/OpenOffice.org641.
|
||||
|
||||
It will now be ready to use.
|
||||
|
||||
Good Luck
|
||||
Once that is done exit X11 and run it again as the user
|
||||
that you usually use. Then run "make install-user" and do
|
||||
a standard workstation Thereafter, OpenOffice can be started using the
|
||||
${PREFIX}/bin/soffice command.
|
||||
|
||||
Please note that this software should be considered alpha quality
|
||||
at the moment, i.e. take extra care when using it in production
|
||||
environments.
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,62 +1,87 @@
|
|||
# ex:ts=8
|
||||
# New ports collection makefile for: OpenOffice
|
||||
# Date created: 22 August 2000
|
||||
# Date created: 28 Februar 2002
|
||||
# Whom: Martin Blapp
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= openoffice
|
||||
PORTVERSION= 6.0.a638
|
||||
PORTVERSION= 6.0.641
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= http://a2024.g.akamai.net/7/2024/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/ \
|
||||
http://a2000.g.akamai.net/7/2000/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/
|
||||
DISTNAME= oo_638_src
|
||||
#DISTFILES= oo_638_src${EXTRACT_SUFX} solenv638_linuxintel${EXTRACT_SUFX}
|
||||
MASTER_SITES= http://sf1.mirror.openoffice.org/641b/ \
|
||||
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
|
||||
ftp://ftp.netbsd.org/pub/NetBSD/misc/mrauch/
|
||||
DISTFILES= oo_641_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz
|
||||
EXTRACT_ONLY= oo_641_src.tar.bz2
|
||||
EXTRACT_REST= gpc231.tar.Z oo_moz_641.tar.gz
|
||||
|
||||
MAINTAINER= mbr@FreeBSD.org
|
||||
BROKEN= 'Work in progress -- does not build yet till the end'
|
||||
|
||||
USE_BZIP2= yes
|
||||
EXTRACT_BEFORE_ARGS_R= -dc
|
||||
EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
|
||||
EXTRACT_CMD_R= ${GZIP_CMD}
|
||||
|
||||
GCC_VERSION!= ${CC} --version
|
||||
|
||||
BUILD_DEPENDS= stlport:${PORTSDIR}/devel/stlport
|
||||
BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison
|
||||
BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
|
||||
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
|
||||
BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13
|
||||
BUILD_DEPENDS+= pth:${PORTSDIR}/devel/pth
|
||||
|
||||
BROKEN= 'work in progress -- does not work yet'
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/oo_641_src/config_office
|
||||
|
||||
BZIP2= yes
|
||||
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
|
||||
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX} \
|
||||
--with-jdk-home=${PREFIX}/jdk1.3.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
pre-fetch:
|
||||
.if ${GCC_VERSION}!="2.95.2" && ${GCC_VERSION}!="2.95.3"
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Openoffice requires gcc 2.95.2 or better
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.endif
|
||||
.if ${OSVERSION} < 500031
|
||||
@${ECHO}
|
||||
@${ECHO} OS-VERSION ${OSVERSION}
|
||||
@${ECHO}
|
||||
@${ECHO} Openoffice depends on OS-Fixes which are
|
||||
@${ECHO} not yet available.
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
pre-extract:
|
||||
.if !defined(DISPLAY) || ${DISPLAY} == ""
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Can\'t open display:
|
||||
@ ${ECHO} Please check your DISPLAY variable.
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.else
|
||||
.if exists(${LINUXBASE}/${PREFIX})
|
||||
@${LN} -fs ${LINUXBASE}/${PREFIX}/office52 ${PREFIX}/office52
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
|
||||
@if [ -f ${PREFIX}/office52/program/setup ]; then \
|
||||
${ECHO} ; \
|
||||
${ECHO} Ignore the error-message. OpenOffice has been installed ; \
|
||||
${ECHO} successfully on your system. ; \
|
||||
${ECHO} ; \
|
||||
else \
|
||||
${ECHO} ; \
|
||||
${ECHO} An error occured during OpenOffice install. Please send a mail with debug-output and ; \
|
||||
${ECHO} some information about your FreeBSD-environment to mb@imp.ch. Thanks. ; \
|
||||
${ECHO} ; \
|
||||
${FALSE} ; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch
|
||||
@${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch
|
||||
post-extract:
|
||||
@for file in ${EXTRACT_REST}; do \
|
||||
if ! (cd ${WRKDIR} && ${EXTRACT_CMD_R} \
|
||||
${EXTRACT_BEFORE_ARGS_R} \
|
||||
${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS_R}) ; \
|
||||
then \
|
||||
exit 1; \
|
||||
fi \
|
||||
done
|
||||
${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/
|
||||
${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/
|
||||
|
||||
install-user:
|
||||
${PREFIX}/office52/program/setup
|
||||
do-build:
|
||||
@cd ${WRKDIR}/oo_641_src && ./bootstrap
|
||||
@cd ${WRKDIR}/oo_641_src && /bin/tcsh -c 'source FreeBSDEnv.Set && dmake'
|
||||
|
||||
do-install:
|
||||
@cd ${WRKDIR}/oo_641_src && ./setup -r:oo_setup.resp
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
MD5 (oo_638_src.tar.gz) = 8c3ef0826ee90a5638b14e5153a96fda
|
||||
MD5 (oo_641_src.tar.bz2) = b3e380ede6b1c4248872ba57ccb1fac0
|
||||
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
|
||||
MD5 (oo_moz_641.tar.gz) = 548568503c05c58f1e8f0c90bf3f75a9
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- config_office/bootstrap.1.orig Mon Sep 18 09:13:24 2000
|
||||
+++ config_office/bootstrap.1 Fri Oct 13 17:51:37 2000
|
||||
@@ -9,6 +9,8 @@
|
||||
make linux
|
||||
else if ($platform == "Darwin") then
|
||||
make macosx
|
||||
+else if ($platform == "FreeBSD") then
|
||||
+ make linux
|
||||
endif
|
||||
|
||||
if "$?" != "0" exit
|
1276
editors/openoffice-2.0-devel/files/patch-config_office::configure
Normal file
1276
editors/openoffice-2.0-devel/files/patch-config_office::configure
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
12
editors/openoffice-2.0-devel/files/patch-rscpp::cpp.h
Normal file
12
editors/openoffice-2.0-devel/files/patch-rscpp::cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rscpp/cpp.h.orig Fri Mar 1 00:15:54 2002
|
||||
+++ ../rscpp/cpp.h Fri Mar 1 00:15:56 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -1,4 +1,14 @@
|
|||
OpenOffice is a suite of office productivity applications containing
|
||||
a word processor, spreadsheet, graphics and presentation, image
|
||||
manipulation, and charting. It offers the ability to read and
|
||||
write Microsoft Office files.
|
||||
OpenOffice.org is an Open Source, community-developed, multi-platform office
|
||||
productivity suite. It includes the key desktop applications, such as a
|
||||
word processor, spreadsheet, presentation manager, and drawing program,
|
||||
with a user interface and feature set similar to other office suites.
|
||||
|
||||
Components include:
|
||||
* A universal word processing application for creating business
|
||||
letters, extensive text documents, professional layouts, and HTML
|
||||
documents.
|
||||
* A sophisticated application for performing advanced spreadsheet
|
||||
functions, such as analyzing figures, creating lists, and viewing data.
|
||||
* A tool for creating effective eye-catching presentations.
|
||||
* A vector-oriented draw module that enables the creation of 3D
|
||||
illustrations
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
StarOffice 5.2 Personal Install How-To
|
||||
OpenOffice Build 641 Personal Install How-To
|
||||
|
||||
Written by: Darren Wiebe <dkwiebe@hagenhomes.com>
|
||||
and Martin Blapp <mb@imp.ch>
|
||||
Written by: Matthias Rauch <mrauch@netbsd.org>
|
||||
Martin Blapp <mbr@freebsd.org>
|
||||
|
||||
You will very shortly have finished a network install of StarOffice 5.2.
|
||||
Once that is done exit X11 and run it again as the user that you usually use.
|
||||
Then run "make install-user" and do a standard workstation install.
|
||||
Change the install path to $HOME/office52. Then add $HOME/office52/ to your path.
|
||||
OpenOffice has now been installed in ${PREFIX}/OpenOffice.org641.
|
||||
|
||||
It will now be ready to use.
|
||||
|
||||
Good Luck
|
||||
Once that is done exit X11 and run it again as the user
|
||||
that you usually use. Then run "make install-user" and do
|
||||
a standard workstation Thereafter, OpenOffice can be started using the
|
||||
${PREFIX}/bin/soffice command.
|
||||
|
||||
Please note that this software should be considered alpha quality
|
||||
at the moment, i.e. take extra care when using it in production
|
||||
environments.
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,62 +1,87 @@
|
|||
# ex:ts=8
|
||||
# New ports collection makefile for: OpenOffice
|
||||
# Date created: 22 August 2000
|
||||
# Date created: 28 Februar 2002
|
||||
# Whom: Martin Blapp
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= openoffice
|
||||
PORTVERSION= 6.0.a638
|
||||
PORTVERSION= 6.0.641
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= http://a2024.g.akamai.net/7/2024/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/ \
|
||||
http://a2000.g.akamai.net/7/2000/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/
|
||||
DISTNAME= oo_638_src
|
||||
#DISTFILES= oo_638_src${EXTRACT_SUFX} solenv638_linuxintel${EXTRACT_SUFX}
|
||||
MASTER_SITES= http://sf1.mirror.openoffice.org/641b/ \
|
||||
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
|
||||
ftp://ftp.netbsd.org/pub/NetBSD/misc/mrauch/
|
||||
DISTFILES= oo_641_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz
|
||||
EXTRACT_ONLY= oo_641_src.tar.bz2
|
||||
EXTRACT_REST= gpc231.tar.Z oo_moz_641.tar.gz
|
||||
|
||||
MAINTAINER= mbr@FreeBSD.org
|
||||
BROKEN= 'Work in progress -- does not build yet till the end'
|
||||
|
||||
USE_BZIP2= yes
|
||||
EXTRACT_BEFORE_ARGS_R= -dc
|
||||
EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
|
||||
EXTRACT_CMD_R= ${GZIP_CMD}
|
||||
|
||||
GCC_VERSION!= ${CC} --version
|
||||
|
||||
BUILD_DEPENDS= stlport:${PORTSDIR}/devel/stlport
|
||||
BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison
|
||||
BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
|
||||
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
|
||||
BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13
|
||||
BUILD_DEPENDS+= pth:${PORTSDIR}/devel/pth
|
||||
|
||||
BROKEN= 'work in progress -- does not work yet'
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/oo_641_src/config_office
|
||||
|
||||
BZIP2= yes
|
||||
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
|
||||
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX} \
|
||||
--with-jdk-home=${PREFIX}/jdk1.3.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
pre-fetch:
|
||||
.if ${GCC_VERSION}!="2.95.2" && ${GCC_VERSION}!="2.95.3"
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Openoffice requires gcc 2.95.2 or better
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.endif
|
||||
.if ${OSVERSION} < 500031
|
||||
@${ECHO}
|
||||
@${ECHO} OS-VERSION ${OSVERSION}
|
||||
@${ECHO}
|
||||
@${ECHO} Openoffice depends on OS-Fixes which are
|
||||
@${ECHO} not yet available.
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
pre-extract:
|
||||
.if !defined(DISPLAY) || ${DISPLAY} == ""
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Can\'t open display:
|
||||
@ ${ECHO} Please check your DISPLAY variable.
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.else
|
||||
.if exists(${LINUXBASE}/${PREFIX})
|
||||
@${LN} -fs ${LINUXBASE}/${PREFIX}/office52 ${PREFIX}/office52
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
|
||||
@if [ -f ${PREFIX}/office52/program/setup ]; then \
|
||||
${ECHO} ; \
|
||||
${ECHO} Ignore the error-message. OpenOffice has been installed ; \
|
||||
${ECHO} successfully on your system. ; \
|
||||
${ECHO} ; \
|
||||
else \
|
||||
${ECHO} ; \
|
||||
${ECHO} An error occured during OpenOffice install. Please send a mail with debug-output and ; \
|
||||
${ECHO} some information about your FreeBSD-environment to mb@imp.ch. Thanks. ; \
|
||||
${ECHO} ; \
|
||||
${FALSE} ; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch
|
||||
@${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch
|
||||
post-extract:
|
||||
@for file in ${EXTRACT_REST}; do \
|
||||
if ! (cd ${WRKDIR} && ${EXTRACT_CMD_R} \
|
||||
${EXTRACT_BEFORE_ARGS_R} \
|
||||
${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS_R}) ; \
|
||||
then \
|
||||
exit 1; \
|
||||
fi \
|
||||
done
|
||||
${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/
|
||||
${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/
|
||||
|
||||
install-user:
|
||||
${PREFIX}/office52/program/setup
|
||||
do-build:
|
||||
@cd ${WRKDIR}/oo_641_src && ./bootstrap
|
||||
@cd ${WRKDIR}/oo_641_src && /bin/tcsh -c 'source FreeBSDEnv.Set && dmake'
|
||||
|
||||
do-install:
|
||||
@cd ${WRKDIR}/oo_641_src && ./setup -r:oo_setup.resp
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
MD5 (oo_638_src.tar.gz) = 8c3ef0826ee90a5638b14e5153a96fda
|
||||
MD5 (oo_641_src.tar.bz2) = b3e380ede6b1c4248872ba57ccb1fac0
|
||||
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
|
||||
MD5 (oo_moz_641.tar.gz) = 548568503c05c58f1e8f0c90bf3f75a9
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- config_office/bootstrap.1.orig Mon Sep 18 09:13:24 2000
|
||||
+++ config_office/bootstrap.1 Fri Oct 13 17:51:37 2000
|
||||
@@ -9,6 +9,8 @@
|
||||
make linux
|
||||
else if ($platform == "Darwin") then
|
||||
make macosx
|
||||
+else if ($platform == "FreeBSD") then
|
||||
+ make linux
|
||||
endif
|
||||
|
||||
if "$?" != "0" exit
|
1276
editors/openoffice-3-devel/files/patch-config_office::configure
Normal file
1276
editors/openoffice-3-devel/files/patch-config_office::configure
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
12
editors/openoffice-3-devel/files/patch-rscpp::cpp.h
Normal file
12
editors/openoffice-3-devel/files/patch-rscpp::cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rscpp/cpp.h.orig Fri Mar 1 00:15:54 2002
|
||||
+++ ../rscpp/cpp.h Fri Mar 1 00:15:56 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -1,4 +1,14 @@
|
|||
OpenOffice is a suite of office productivity applications containing
|
||||
a word processor, spreadsheet, graphics and presentation, image
|
||||
manipulation, and charting. It offers the ability to read and
|
||||
write Microsoft Office files.
|
||||
OpenOffice.org is an Open Source, community-developed, multi-platform office
|
||||
productivity suite. It includes the key desktop applications, such as a
|
||||
word processor, spreadsheet, presentation manager, and drawing program,
|
||||
with a user interface and feature set similar to other office suites.
|
||||
|
||||
Components include:
|
||||
* A universal word processing application for creating business
|
||||
letters, extensive text documents, professional layouts, and HTML
|
||||
documents.
|
||||
* A sophisticated application for performing advanced spreadsheet
|
||||
functions, such as analyzing figures, creating lists, and viewing data.
|
||||
* A tool for creating effective eye-catching presentations.
|
||||
* A vector-oriented draw module that enables the creation of 3D
|
||||
illustrations
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
StarOffice 5.2 Personal Install How-To
|
||||
OpenOffice Build 641 Personal Install How-To
|
||||
|
||||
Written by: Darren Wiebe <dkwiebe@hagenhomes.com>
|
||||
and Martin Blapp <mb@imp.ch>
|
||||
Written by: Matthias Rauch <mrauch@netbsd.org>
|
||||
Martin Blapp <mbr@freebsd.org>
|
||||
|
||||
You will very shortly have finished a network install of StarOffice 5.2.
|
||||
Once that is done exit X11 and run it again as the user that you usually use.
|
||||
Then run "make install-user" and do a standard workstation install.
|
||||
Change the install path to $HOME/office52. Then add $HOME/office52/ to your path.
|
||||
OpenOffice has now been installed in ${PREFIX}/OpenOffice.org641.
|
||||
|
||||
It will now be ready to use.
|
||||
|
||||
Good Luck
|
||||
Once that is done exit X11 and run it again as the user
|
||||
that you usually use. Then run "make install-user" and do
|
||||
a standard workstation Thereafter, OpenOffice can be started using the
|
||||
${PREFIX}/bin/soffice command.
|
||||
|
||||
Please note that this software should be considered alpha quality
|
||||
at the moment, i.e. take extra care when using it in production
|
||||
environments.
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,62 +1,87 @@
|
|||
# ex:ts=8
|
||||
# New ports collection makefile for: OpenOffice
|
||||
# Date created: 22 August 2000
|
||||
# Date created: 28 Februar 2002
|
||||
# Whom: Martin Blapp
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= openoffice
|
||||
PORTVERSION= 6.0.a638
|
||||
PORTVERSION= 6.0.641
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= http://a2024.g.akamai.net/7/2024/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/ \
|
||||
http://a2000.g.akamai.net/7/2000/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/
|
||||
DISTNAME= oo_638_src
|
||||
#DISTFILES= oo_638_src${EXTRACT_SUFX} solenv638_linuxintel${EXTRACT_SUFX}
|
||||
MASTER_SITES= http://sf1.mirror.openoffice.org/641b/ \
|
||||
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
|
||||
ftp://ftp.netbsd.org/pub/NetBSD/misc/mrauch/
|
||||
DISTFILES= oo_641_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz
|
||||
EXTRACT_ONLY= oo_641_src.tar.bz2
|
||||
EXTRACT_REST= gpc231.tar.Z oo_moz_641.tar.gz
|
||||
|
||||
MAINTAINER= mbr@FreeBSD.org
|
||||
BROKEN= 'Work in progress -- does not build yet till the end'
|
||||
|
||||
USE_BZIP2= yes
|
||||
EXTRACT_BEFORE_ARGS_R= -dc
|
||||
EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
|
||||
EXTRACT_CMD_R= ${GZIP_CMD}
|
||||
|
||||
GCC_VERSION!= ${CC} --version
|
||||
|
||||
BUILD_DEPENDS= stlport:${PORTSDIR}/devel/stlport
|
||||
BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison
|
||||
BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
|
||||
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
|
||||
BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13
|
||||
BUILD_DEPENDS+= pth:${PORTSDIR}/devel/pth
|
||||
|
||||
BROKEN= 'work in progress -- does not work yet'
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/oo_641_src/config_office
|
||||
|
||||
BZIP2= yes
|
||||
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
|
||||
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX} \
|
||||
--with-jdk-home=${PREFIX}/jdk1.3.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
pre-fetch:
|
||||
.if ${GCC_VERSION}!="2.95.2" && ${GCC_VERSION}!="2.95.3"
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Openoffice requires gcc 2.95.2 or better
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.endif
|
||||
.if ${OSVERSION} < 500031
|
||||
@${ECHO}
|
||||
@${ECHO} OS-VERSION ${OSVERSION}
|
||||
@${ECHO}
|
||||
@${ECHO} Openoffice depends on OS-Fixes which are
|
||||
@${ECHO} not yet available.
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
pre-extract:
|
||||
.if !defined(DISPLAY) || ${DISPLAY} == ""
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Can\'t open display:
|
||||
@ ${ECHO} Please check your DISPLAY variable.
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.else
|
||||
.if exists(${LINUXBASE}/${PREFIX})
|
||||
@${LN} -fs ${LINUXBASE}/${PREFIX}/office52 ${PREFIX}/office52
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
|
||||
@if [ -f ${PREFIX}/office52/program/setup ]; then \
|
||||
${ECHO} ; \
|
||||
${ECHO} Ignore the error-message. OpenOffice has been installed ; \
|
||||
${ECHO} successfully on your system. ; \
|
||||
${ECHO} ; \
|
||||
else \
|
||||
${ECHO} ; \
|
||||
${ECHO} An error occured during OpenOffice install. Please send a mail with debug-output and ; \
|
||||
${ECHO} some information about your FreeBSD-environment to mb@imp.ch. Thanks. ; \
|
||||
${ECHO} ; \
|
||||
${FALSE} ; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch
|
||||
@${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch
|
||||
post-extract:
|
||||
@for file in ${EXTRACT_REST}; do \
|
||||
if ! (cd ${WRKDIR} && ${EXTRACT_CMD_R} \
|
||||
${EXTRACT_BEFORE_ARGS_R} \
|
||||
${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS_R}) ; \
|
||||
then \
|
||||
exit 1; \
|
||||
fi \
|
||||
done
|
||||
${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/
|
||||
${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/
|
||||
|
||||
install-user:
|
||||
${PREFIX}/office52/program/setup
|
||||
do-build:
|
||||
@cd ${WRKDIR}/oo_641_src && ./bootstrap
|
||||
@cd ${WRKDIR}/oo_641_src && /bin/tcsh -c 'source FreeBSDEnv.Set && dmake'
|
||||
|
||||
do-install:
|
||||
@cd ${WRKDIR}/oo_641_src && ./setup -r:oo_setup.resp
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
MD5 (oo_638_src.tar.gz) = 8c3ef0826ee90a5638b14e5153a96fda
|
||||
MD5 (oo_641_src.tar.bz2) = b3e380ede6b1c4248872ba57ccb1fac0
|
||||
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
|
||||
MD5 (oo_moz_641.tar.gz) = 548568503c05c58f1e8f0c90bf3f75a9
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- config_office/bootstrap.1.orig Mon Sep 18 09:13:24 2000
|
||||
+++ config_office/bootstrap.1 Fri Oct 13 17:51:37 2000
|
||||
@@ -9,6 +9,8 @@
|
||||
make linux
|
||||
else if ($platform == "Darwin") then
|
||||
make macosx
|
||||
+else if ($platform == "FreeBSD") then
|
||||
+ make linux
|
||||
endif
|
||||
|
||||
if "$?" != "0" exit
|
1276
editors/openoffice-3/files/patch-config_office::configure
Normal file
1276
editors/openoffice-3/files/patch-config_office::configure
Normal file
File diff suppressed because it is too large
Load diff
12
editors/openoffice-3/files/patch-rsc+source+rscpp+cpp.h
Normal file
12
editors/openoffice-3/files/patch-rsc+source+rscpp+cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
12
editors/openoffice-3/files/patch-rsc::source::rscpp::cpp.h
Normal file
12
editors/openoffice-3/files/patch-rsc::source::rscpp::cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
12
editors/openoffice-3/files/patch-rscpp::cpp.h
Normal file
12
editors/openoffice-3/files/patch-rscpp::cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rscpp/cpp.h.orig Fri Mar 1 00:15:54 2002
|
||||
+++ ../rscpp/cpp.h Fri Mar 1 00:15:56 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
29
editors/openoffice-3/files/patch-sal+osl+unx+nlsupport.c
Normal file
29
editors/openoffice-3/files/patch-sal+osl+unx+nlsupport.c
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
29
editors/openoffice-3/files/patch-sal::osl::unx::nlsupport.c
Normal file
29
editors/openoffice-3/files/patch-sal::osl::unx::nlsupport.c
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -1,4 +1,14 @@
|
|||
OpenOffice is a suite of office productivity applications containing
|
||||
a word processor, spreadsheet, graphics and presentation, image
|
||||
manipulation, and charting. It offers the ability to read and
|
||||
write Microsoft Office files.
|
||||
OpenOffice.org is an Open Source, community-developed, multi-platform office
|
||||
productivity suite. It includes the key desktop applications, such as a
|
||||
word processor, spreadsheet, presentation manager, and drawing program,
|
||||
with a user interface and feature set similar to other office suites.
|
||||
|
||||
Components include:
|
||||
* A universal word processing application for creating business
|
||||
letters, extensive text documents, professional layouts, and HTML
|
||||
documents.
|
||||
* A sophisticated application for performing advanced spreadsheet
|
||||
functions, such as analyzing figures, creating lists, and viewing data.
|
||||
* A tool for creating effective eye-catching presentations.
|
||||
* A vector-oriented draw module that enables the creation of 3D
|
||||
illustrations
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
StarOffice 5.2 Personal Install How-To
|
||||
OpenOffice Build 641 Personal Install How-To
|
||||
|
||||
Written by: Darren Wiebe <dkwiebe@hagenhomes.com>
|
||||
and Martin Blapp <mb@imp.ch>
|
||||
Written by: Matthias Rauch <mrauch@netbsd.org>
|
||||
Martin Blapp <mbr@freebsd.org>
|
||||
|
||||
You will very shortly have finished a network install of StarOffice 5.2.
|
||||
Once that is done exit X11 and run it again as the user that you usually use.
|
||||
Then run "make install-user" and do a standard workstation install.
|
||||
Change the install path to $HOME/office52. Then add $HOME/office52/ to your path.
|
||||
OpenOffice has now been installed in ${PREFIX}/OpenOffice.org641.
|
||||
|
||||
It will now be ready to use.
|
||||
|
||||
Good Luck
|
||||
Once that is done exit X11 and run it again as the user
|
||||
that you usually use. Then run "make install-user" and do
|
||||
a standard workstation Thereafter, OpenOffice can be started using the
|
||||
${PREFIX}/bin/soffice command.
|
||||
|
||||
Please note that this software should be considered alpha quality
|
||||
at the moment, i.e. take extra care when using it in production
|
||||
environments.
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,62 +1,87 @@
|
|||
# ex:ts=8
|
||||
# New ports collection makefile for: OpenOffice
|
||||
# Date created: 22 August 2000
|
||||
# Date created: 28 Februar 2002
|
||||
# Whom: Martin Blapp
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= openoffice
|
||||
PORTVERSION= 6.0.a638
|
||||
PORTVERSION= 6.0.641
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= http://a2024.g.akamai.net/7/2024/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/ \
|
||||
http://a2000.g.akamai.net/7/2000/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/
|
||||
DISTNAME= oo_638_src
|
||||
#DISTFILES= oo_638_src${EXTRACT_SUFX} solenv638_linuxintel${EXTRACT_SUFX}
|
||||
MASTER_SITES= http://sf1.mirror.openoffice.org/641b/ \
|
||||
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
|
||||
ftp://ftp.netbsd.org/pub/NetBSD/misc/mrauch/
|
||||
DISTFILES= oo_641_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz
|
||||
EXTRACT_ONLY= oo_641_src.tar.bz2
|
||||
EXTRACT_REST= gpc231.tar.Z oo_moz_641.tar.gz
|
||||
|
||||
MAINTAINER= mbr@FreeBSD.org
|
||||
BROKEN= 'Work in progress -- does not build yet till the end'
|
||||
|
||||
USE_BZIP2= yes
|
||||
EXTRACT_BEFORE_ARGS_R= -dc
|
||||
EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
|
||||
EXTRACT_CMD_R= ${GZIP_CMD}
|
||||
|
||||
GCC_VERSION!= ${CC} --version
|
||||
|
||||
BUILD_DEPENDS= stlport:${PORTSDIR}/devel/stlport
|
||||
BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison
|
||||
BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
|
||||
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
|
||||
BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13
|
||||
BUILD_DEPENDS+= pth:${PORTSDIR}/devel/pth
|
||||
|
||||
BROKEN= 'work in progress -- does not work yet'
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/oo_641_src/config_office
|
||||
|
||||
BZIP2= yes
|
||||
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
|
||||
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX} \
|
||||
--with-jdk-home=${PREFIX}/jdk1.3.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
pre-fetch:
|
||||
.if ${GCC_VERSION}!="2.95.2" && ${GCC_VERSION}!="2.95.3"
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Openoffice requires gcc 2.95.2 or better
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.endif
|
||||
.if ${OSVERSION} < 500031
|
||||
@${ECHO}
|
||||
@${ECHO} OS-VERSION ${OSVERSION}
|
||||
@${ECHO}
|
||||
@${ECHO} Openoffice depends on OS-Fixes which are
|
||||
@${ECHO} not yet available.
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
pre-extract:
|
||||
.if !defined(DISPLAY) || ${DISPLAY} == ""
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Can\'t open display:
|
||||
@ ${ECHO} Please check your DISPLAY variable.
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.else
|
||||
.if exists(${LINUXBASE}/${PREFIX})
|
||||
@${LN} -fs ${LINUXBASE}/${PREFIX}/office52 ${PREFIX}/office52
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
|
||||
@if [ -f ${PREFIX}/office52/program/setup ]; then \
|
||||
${ECHO} ; \
|
||||
${ECHO} Ignore the error-message. OpenOffice has been installed ; \
|
||||
${ECHO} successfully on your system. ; \
|
||||
${ECHO} ; \
|
||||
else \
|
||||
${ECHO} ; \
|
||||
${ECHO} An error occured during OpenOffice install. Please send a mail with debug-output and ; \
|
||||
${ECHO} some information about your FreeBSD-environment to mb@imp.ch. Thanks. ; \
|
||||
${ECHO} ; \
|
||||
${FALSE} ; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch
|
||||
@${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch
|
||||
post-extract:
|
||||
@for file in ${EXTRACT_REST}; do \
|
||||
if ! (cd ${WRKDIR} && ${EXTRACT_CMD_R} \
|
||||
${EXTRACT_BEFORE_ARGS_R} \
|
||||
${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS_R}) ; \
|
||||
then \
|
||||
exit 1; \
|
||||
fi \
|
||||
done
|
||||
${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/
|
||||
${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/
|
||||
|
||||
install-user:
|
||||
${PREFIX}/office52/program/setup
|
||||
do-build:
|
||||
@cd ${WRKDIR}/oo_641_src && ./bootstrap
|
||||
@cd ${WRKDIR}/oo_641_src && /bin/tcsh -c 'source FreeBSDEnv.Set && dmake'
|
||||
|
||||
do-install:
|
||||
@cd ${WRKDIR}/oo_641_src && ./setup -r:oo_setup.resp
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
MD5 (oo_638_src.tar.gz) = 8c3ef0826ee90a5638b14e5153a96fda
|
||||
MD5 (oo_641_src.tar.bz2) = b3e380ede6b1c4248872ba57ccb1fac0
|
||||
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
|
||||
MD5 (oo_moz_641.tar.gz) = 548568503c05c58f1e8f0c90bf3f75a9
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- config_office/bootstrap.1.orig Mon Sep 18 09:13:24 2000
|
||||
+++ config_office/bootstrap.1 Fri Oct 13 17:51:37 2000
|
||||
@@ -9,6 +9,8 @@
|
||||
make linux
|
||||
else if ($platform == "Darwin") then
|
||||
make macosx
|
||||
+else if ($platform == "FreeBSD") then
|
||||
+ make linux
|
||||
endif
|
||||
|
||||
if "$?" != "0" exit
|
1276
editors/openoffice-devel/files/patch-config_office::configure
Normal file
1276
editors/openoffice-devel/files/patch-config_office::configure
Normal file
File diff suppressed because it is too large
Load diff
12
editors/openoffice-devel/files/patch-rsc+source+rscpp+cpp.h
Normal file
12
editors/openoffice-devel/files/patch-rsc+source+rscpp+cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
12
editors/openoffice-devel/files/patch-rscpp::cpp.h
Normal file
12
editors/openoffice-devel/files/patch-rscpp::cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rscpp/cpp.h.orig Fri Mar 1 00:15:54 2002
|
||||
+++ ../rscpp/cpp.h Fri Mar 1 00:15:56 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
29
editors/openoffice-devel/files/patch-sal+osl+unx+nlsupport.c
Normal file
29
editors/openoffice-devel/files/patch-sal+osl+unx+nlsupport.c
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -1,4 +1,14 @@
|
|||
OpenOffice is a suite of office productivity applications containing
|
||||
a word processor, spreadsheet, graphics and presentation, image
|
||||
manipulation, and charting. It offers the ability to read and
|
||||
write Microsoft Office files.
|
||||
OpenOffice.org is an Open Source, community-developed, multi-platform office
|
||||
productivity suite. It includes the key desktop applications, such as a
|
||||
word processor, spreadsheet, presentation manager, and drawing program,
|
||||
with a user interface and feature set similar to other office suites.
|
||||
|
||||
Components include:
|
||||
* A universal word processing application for creating business
|
||||
letters, extensive text documents, professional layouts, and HTML
|
||||
documents.
|
||||
* A sophisticated application for performing advanced spreadsheet
|
||||
functions, such as analyzing figures, creating lists, and viewing data.
|
||||
* A tool for creating effective eye-catching presentations.
|
||||
* A vector-oriented draw module that enables the creation of 3D
|
||||
illustrations
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
StarOffice 5.2 Personal Install How-To
|
||||
OpenOffice Build 641 Personal Install How-To
|
||||
|
||||
Written by: Darren Wiebe <dkwiebe@hagenhomes.com>
|
||||
and Martin Blapp <mb@imp.ch>
|
||||
Written by: Matthias Rauch <mrauch@netbsd.org>
|
||||
Martin Blapp <mbr@freebsd.org>
|
||||
|
||||
You will very shortly have finished a network install of StarOffice 5.2.
|
||||
Once that is done exit X11 and run it again as the user that you usually use.
|
||||
Then run "make install-user" and do a standard workstation install.
|
||||
Change the install path to $HOME/office52. Then add $HOME/office52/ to your path.
|
||||
OpenOffice has now been installed in ${PREFIX}/OpenOffice.org641.
|
||||
|
||||
It will now be ready to use.
|
||||
|
||||
Good Luck
|
||||
Once that is done exit X11 and run it again as the user
|
||||
that you usually use. Then run "make install-user" and do
|
||||
a standard workstation Thereafter, OpenOffice can be started using the
|
||||
${PREFIX}/bin/soffice command.
|
||||
|
||||
Please note that this software should be considered alpha quality
|
||||
at the moment, i.e. take extra care when using it in production
|
||||
environments.
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,62 +1,87 @@
|
|||
# ex:ts=8
|
||||
# New ports collection makefile for: OpenOffice
|
||||
# Date created: 22 August 2000
|
||||
# Date created: 28 Februar 2002
|
||||
# Whom: Martin Blapp
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= openoffice
|
||||
PORTVERSION= 6.0.a638
|
||||
PORTVERSION= 6.0.641
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= http://a2024.g.akamai.net/7/2024/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/ \
|
||||
http://a2000.g.akamai.net/7/2000/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/
|
||||
DISTNAME= oo_638_src
|
||||
#DISTFILES= oo_638_src${EXTRACT_SUFX} solenv638_linuxintel${EXTRACT_SUFX}
|
||||
MASTER_SITES= http://sf1.mirror.openoffice.org/641b/ \
|
||||
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
|
||||
ftp://ftp.netbsd.org/pub/NetBSD/misc/mrauch/
|
||||
DISTFILES= oo_641_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz
|
||||
EXTRACT_ONLY= oo_641_src.tar.bz2
|
||||
EXTRACT_REST= gpc231.tar.Z oo_moz_641.tar.gz
|
||||
|
||||
MAINTAINER= mbr@FreeBSD.org
|
||||
BROKEN= 'Work in progress -- does not build yet till the end'
|
||||
|
||||
USE_BZIP2= yes
|
||||
EXTRACT_BEFORE_ARGS_R= -dc
|
||||
EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
|
||||
EXTRACT_CMD_R= ${GZIP_CMD}
|
||||
|
||||
GCC_VERSION!= ${CC} --version
|
||||
|
||||
BUILD_DEPENDS= stlport:${PORTSDIR}/devel/stlport
|
||||
BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison
|
||||
BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
|
||||
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
|
||||
BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13
|
||||
BUILD_DEPENDS+= pth:${PORTSDIR}/devel/pth
|
||||
|
||||
BROKEN= 'work in progress -- does not work yet'
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/oo_641_src/config_office
|
||||
|
||||
BZIP2= yes
|
||||
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
|
||||
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX} \
|
||||
--with-jdk-home=${PREFIX}/jdk1.3.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
pre-fetch:
|
||||
.if ${GCC_VERSION}!="2.95.2" && ${GCC_VERSION}!="2.95.3"
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Openoffice requires gcc 2.95.2 or better
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.endif
|
||||
.if ${OSVERSION} < 500031
|
||||
@${ECHO}
|
||||
@${ECHO} OS-VERSION ${OSVERSION}
|
||||
@${ECHO}
|
||||
@${ECHO} Openoffice depends on OS-Fixes which are
|
||||
@${ECHO} not yet available.
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
pre-extract:
|
||||
.if !defined(DISPLAY) || ${DISPLAY} == ""
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Can\'t open display:
|
||||
@ ${ECHO} Please check your DISPLAY variable.
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.else
|
||||
.if exists(${LINUXBASE}/${PREFIX})
|
||||
@${LN} -fs ${LINUXBASE}/${PREFIX}/office52 ${PREFIX}/office52
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
|
||||
@if [ -f ${PREFIX}/office52/program/setup ]; then \
|
||||
${ECHO} ; \
|
||||
${ECHO} Ignore the error-message. OpenOffice has been installed ; \
|
||||
${ECHO} successfully on your system. ; \
|
||||
${ECHO} ; \
|
||||
else \
|
||||
${ECHO} ; \
|
||||
${ECHO} An error occured during OpenOffice install. Please send a mail with debug-output and ; \
|
||||
${ECHO} some information about your FreeBSD-environment to mb@imp.ch. Thanks. ; \
|
||||
${ECHO} ; \
|
||||
${FALSE} ; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch
|
||||
@${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch
|
||||
post-extract:
|
||||
@for file in ${EXTRACT_REST}; do \
|
||||
if ! (cd ${WRKDIR} && ${EXTRACT_CMD_R} \
|
||||
${EXTRACT_BEFORE_ARGS_R} \
|
||||
${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS_R}) ; \
|
||||
then \
|
||||
exit 1; \
|
||||
fi \
|
||||
done
|
||||
${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/
|
||||
${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/
|
||||
|
||||
install-user:
|
||||
${PREFIX}/office52/program/setup
|
||||
do-build:
|
||||
@cd ${WRKDIR}/oo_641_src && ./bootstrap
|
||||
@cd ${WRKDIR}/oo_641_src && /bin/tcsh -c 'source FreeBSDEnv.Set && dmake'
|
||||
|
||||
do-install:
|
||||
@cd ${WRKDIR}/oo_641_src && ./setup -r:oo_setup.resp
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
MD5 (oo_638_src.tar.gz) = 8c3ef0826ee90a5638b14e5153a96fda
|
||||
MD5 (oo_641_src.tar.bz2) = b3e380ede6b1c4248872ba57ccb1fac0
|
||||
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
|
||||
MD5 (oo_moz_641.tar.gz) = 548568503c05c58f1e8f0c90bf3f75a9
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- config_office/bootstrap.1.orig Mon Sep 18 09:13:24 2000
|
||||
+++ config_office/bootstrap.1 Fri Oct 13 17:51:37 2000
|
||||
@@ -9,6 +9,8 @@
|
||||
make linux
|
||||
else if ($platform == "Darwin") then
|
||||
make macosx
|
||||
+else if ($platform == "FreeBSD") then
|
||||
+ make linux
|
||||
endif
|
||||
|
||||
if "$?" != "0" exit
|
1276
editors/openoffice.org-1.0/files/patch-config_office::configure
Normal file
1276
editors/openoffice.org-1.0/files/patch-config_office::configure
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
--- ../rsc/source/rscpp/cpp.h.orig Fri Mar 1 00:14:38 2002
|
||||
+++ ../rsc/source/rscpp/cpp.h Fri Mar 1 00:15:03 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
12
editors/openoffice.org-1.0/files/patch-rscpp::cpp.h
Normal file
12
editors/openoffice.org-1.0/files/patch-rscpp::cpp.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ../rscpp/cpp.h.orig Fri Mar 1 00:15:54 2002
|
||||
+++ ../rscpp/cpp.h Fri Mar 1 00:15:56 2002
|
||||
@@ -462,7 +462,9 @@
|
||||
extern char *strrchr();
|
||||
extern char *strchr();
|
||||
#if ! ( defined UNX && defined ALPHA )
|
||||
+#if ! ( defined FREEBSD )
|
||||
extern long time();
|
||||
+#endif
|
||||
#endif
|
||||
/* extern char *sprintf(); */ /* Lint needs this */
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -0,0 +1,29 @@
|
|||
--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
|
||||
+++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
|
||||
@@ -63,7 +63,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/process.h>
|
||||
|
||||
-#if defined(LINUX) || defined(SOLARIS)
|
||||
+#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
|
||||
#include <pthread.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -841,7 +841,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LC_CTYPE", locale_buf );
|
||||
@@ -853,7 +853,7 @@
|
||||
snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
|
||||
env_buf[sizeof(env_buf)] = '\0';
|
||||
putenv(env_buf);
|
||||
-#elif defined( FREEBAD ) || defined( NETBSD )
|
||||
+#elif defined( FREEBSD ) || defined( NETBSD )
|
||||
setenv("LC_CTYPE", locale_buf, 1 );
|
||||
#else
|
||||
setenv( "LANG", locale_buf );
|
|
@ -1,4 +1,14 @@
|
|||
OpenOffice is a suite of office productivity applications containing
|
||||
a word processor, spreadsheet, graphics and presentation, image
|
||||
manipulation, and charting. It offers the ability to read and
|
||||
write Microsoft Office files.
|
||||
OpenOffice.org is an Open Source, community-developed, multi-platform office
|
||||
productivity suite. It includes the key desktop applications, such as a
|
||||
word processor, spreadsheet, presentation manager, and drawing program,
|
||||
with a user interface and feature set similar to other office suites.
|
||||
|
||||
Components include:
|
||||
* A universal word processing application for creating business
|
||||
letters, extensive text documents, professional layouts, and HTML
|
||||
documents.
|
||||
* A sophisticated application for performing advanced spreadsheet
|
||||
functions, such as analyzing figures, creating lists, and viewing data.
|
||||
* A tool for creating effective eye-catching presentations.
|
||||
* A vector-oriented draw module that enables the creation of 3D
|
||||
illustrations
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
StarOffice 5.2 Personal Install How-To
|
||||
OpenOffice Build 641 Personal Install How-To
|
||||
|
||||
Written by: Darren Wiebe <dkwiebe@hagenhomes.com>
|
||||
and Martin Blapp <mb@imp.ch>
|
||||
Written by: Matthias Rauch <mrauch@netbsd.org>
|
||||
Martin Blapp <mbr@freebsd.org>
|
||||
|
||||
You will very shortly have finished a network install of StarOffice 5.2.
|
||||
Once that is done exit X11 and run it again as the user that you usually use.
|
||||
Then run "make install-user" and do a standard workstation install.
|
||||
Change the install path to $HOME/office52. Then add $HOME/office52/ to your path.
|
||||
OpenOffice has now been installed in ${PREFIX}/OpenOffice.org641.
|
||||
|
||||
It will now be ready to use.
|
||||
|
||||
Good Luck
|
||||
Once that is done exit X11 and run it again as the user
|
||||
that you usually use. Then run "make install-user" and do
|
||||
a standard workstation Thereafter, OpenOffice can be started using the
|
||||
${PREFIX}/bin/soffice command.
|
||||
|
||||
Please note that this software should be considered alpha quality
|
||||
at the moment, i.e. take extra care when using it in production
|
||||
environments.
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,62 +1,87 @@
|
|||
# ex:ts=8
|
||||
# New ports collection makefile for: OpenOffice
|
||||
# Date created: 22 August 2000
|
||||
# Date created: 28 Februar 2002
|
||||
# Whom: Martin Blapp
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= openoffice
|
||||
PORTVERSION= 6.0.a638
|
||||
PORTVERSION= 6.0.641
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= http://a2024.g.akamai.net/7/2024/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/ \
|
||||
http://a2000.g.akamai.net/7/2000/2064/OpenOffice638/anoncvs.openoffice.org/download/OpenOffice638/
|
||||
DISTNAME= oo_638_src
|
||||
#DISTFILES= oo_638_src${EXTRACT_SUFX} solenv638_linuxintel${EXTRACT_SUFX}
|
||||
MASTER_SITES= http://sf1.mirror.openoffice.org/641b/ \
|
||||
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
|
||||
ftp://ftp.netbsd.org/pub/NetBSD/misc/mrauch/
|
||||
DISTFILES= oo_641_src.tar.bz2 gpc231.tar.Z oo_moz_641.tar.gz
|
||||
EXTRACT_ONLY= oo_641_src.tar.bz2
|
||||
EXTRACT_REST= gpc231.tar.Z oo_moz_641.tar.gz
|
||||
|
||||
MAINTAINER= mbr@FreeBSD.org
|
||||
BROKEN= 'Work in progress -- does not build yet till the end'
|
||||
|
||||
USE_BZIP2= yes
|
||||
EXTRACT_BEFORE_ARGS_R= -dc
|
||||
EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
|
||||
EXTRACT_CMD_R= ${GZIP_CMD}
|
||||
|
||||
GCC_VERSION!= ${CC} --version
|
||||
|
||||
BUILD_DEPENDS= stlport:${PORTSDIR}/devel/stlport
|
||||
BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison
|
||||
BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
|
||||
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
|
||||
BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13
|
||||
BUILD_DEPENDS+= pth:${PORTSDIR}/devel/pth
|
||||
|
||||
BROKEN= 'work in progress -- does not work yet'
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/oo_641_src/config_office
|
||||
|
||||
BZIP2= yes
|
||||
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
|
||||
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX} \
|
||||
--with-jdk-home=${PREFIX}/jdk1.3.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
pre-fetch:
|
||||
.if ${GCC_VERSION}!="2.95.2" && ${GCC_VERSION}!="2.95.3"
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Openoffice requires gcc 2.95.2 or better
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.endif
|
||||
.if ${OSVERSION} < 500031
|
||||
@${ECHO}
|
||||
@${ECHO} OS-VERSION ${OSVERSION}
|
||||
@${ECHO}
|
||||
@${ECHO} Openoffice depends on OS-Fixes which are
|
||||
@${ECHO} not yet available.
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
pre-extract:
|
||||
.if !defined(DISPLAY) || ${DISPLAY} == ""
|
||||
@ ${ECHO}
|
||||
@ ${ECHO} Can\'t open display:
|
||||
@ ${ECHO} Please check your DISPLAY variable.
|
||||
@ ${ECHO}
|
||||
@ ${FALSE}
|
||||
.else
|
||||
.if exists(${LINUXBASE}/${PREFIX})
|
||||
@${LN} -fs ${LINUXBASE}/${PREFIX}/office52 ${PREFIX}/office52
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
|
||||
@if [ -f ${PREFIX}/office52/program/setup ]; then \
|
||||
${ECHO} ; \
|
||||
${ECHO} Ignore the error-message. OpenOffice has been installed ; \
|
||||
${ECHO} successfully on your system. ; \
|
||||
${ECHO} ; \
|
||||
else \
|
||||
${ECHO} ; \
|
||||
${ECHO} An error occured during OpenOffice install. Please send a mail with debug-output and ; \
|
||||
${ECHO} some information about your FreeBSD-environment to mb@imp.ch. Thanks. ; \
|
||||
${ECHO} ; \
|
||||
${FALSE} ; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch
|
||||
@${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch
|
||||
post-extract:
|
||||
@for file in ${EXTRACT_REST}; do \
|
||||
if ! (cd ${WRKDIR} && ${EXTRACT_CMD_R} \
|
||||
${EXTRACT_BEFORE_ARGS_R} \
|
||||
${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS_R}) ; \
|
||||
then \
|
||||
exit 1; \
|
||||
fi \
|
||||
done
|
||||
${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/
|
||||
${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/
|
||||
|
||||
install-user:
|
||||
${PREFIX}/office52/program/setup
|
||||
do-build:
|
||||
@cd ${WRKDIR}/oo_641_src && ./bootstrap
|
||||
@cd ${WRKDIR}/oo_641_src && /bin/tcsh -c 'source FreeBSDEnv.Set && dmake'
|
||||
|
||||
do-install:
|
||||
@cd ${WRKDIR}/oo_641_src && ./setup -r:oo_setup.resp
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
MD5 (oo_638_src.tar.gz) = 8c3ef0826ee90a5638b14e5153a96fda
|
||||
MD5 (oo_641_src.tar.bz2) = b3e380ede6b1c4248872ba57ccb1fac0
|
||||
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
|
||||
MD5 (oo_moz_641.tar.gz) = 548568503c05c58f1e8f0c90bf3f75a9
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- config_office/bootstrap.1.orig Mon Sep 18 09:13:24 2000
|
||||
+++ config_office/bootstrap.1 Fri Oct 13 17:51:37 2000
|
||||
@@ -9,6 +9,8 @@
|
||||
make linux
|
||||
else if ($platform == "Darwin") then
|
||||
make macosx
|
||||
+else if ($platform == "FreeBSD") then
|
||||
+ make linux
|
||||
endif
|
||||
|
||||
if "$?" != "0" exit
|
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue