2006-10-21 18:20:50 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2006/10/21 22:20:50 kurt Exp $
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
|
|
COMMENT= "a multi-platform productivity suite"
|
|
|
|
|
2006-10-14 13:33:55 -04:00
|
|
|
VERSION= 2.0.4
|
|
|
|
DISTNAME= OOo_${VERSION}_src
|
2006-10-11 07:19:55 -04:00
|
|
|
WRKDIST= ${WRKDIR}/OOD680_m5
|
2006-10-20 15:58:23 -04:00
|
|
|
PKGNAME= openoffice-${VERSION}p5
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
CATEGORIES= editors productivity
|
|
|
|
|
|
|
|
SHARED_LIBS= icudata 26.0 \
|
|
|
|
icui18n 26.0 \
|
|
|
|
icule 26.0 \
|
|
|
|
icuuc 26.0 \
|
|
|
|
stlport_gcc 4.5
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.openoffice.org/
|
2006-10-14 13:33:55 -04:00
|
|
|
MASTER_SITES= ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/OpenOffice/stable/${VERSION}/ \
|
|
|
|
ftp://ftp.tu-chemnitz.de/pub/openoffice/stable/${VERSION}/ \
|
|
|
|
ftp://ftp.nluug.nl/pub/office/openoffice/stable/${VERSION}/ \
|
|
|
|
http://vlaai.snt.utwente.nl/pub/software/openoffice/stable/${VERSION}/ \
|
|
|
|
ftp://openoffice.mirror.cygnal.ca/openoffice/stable/${VERSION}/ \
|
2006-10-11 07:19:55 -04:00
|
|
|
http://mirrors.protection.cx/~jolan/
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
|
|
|
|
# See http://www.openoffice.org/about.html#licenses
|
|
|
|
# and http://www.openoffice.org/license.html
|
|
|
|
# and http://www.openoffice.org/FAQs/faq-questions.html#licensing
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
BUILD_DEPENDS= :zip-*:archivers/zip \
|
|
|
|
:unzip-*:archivers/unzip \
|
|
|
|
:bison-*:devel/bison \
|
|
|
|
:pkgconfig-*:devel/pkgconfig \
|
|
|
|
:tcsh-*:shells/tcsh \
|
|
|
|
:p5-Archive-Zip-*:archivers/p5-Archive-Zip
|
|
|
|
|
2006-09-20 05:06:19 -04:00
|
|
|
LIB_DEPENDS= gdk-x11-2.0.>=400.14,gdk_pixbuf-2.0.>=400.14,gtk-x11-2.0.>=400.14::x11/gtk+2 \
|
|
|
|
python2.3:python-2.3.*:lang/python/2.3 \
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
db.>=4::databases/db/v4 \
|
|
|
|
curl.>=2::net/curl \
|
|
|
|
neon.>=24::net/neon \
|
2006-09-20 05:06:19 -04:00
|
|
|
xslt.>=2::textproc/libxslt \
|
|
|
|
sndfile.>=1::audio/libsndfile
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
|
2006-09-20 05:06:19 -04:00
|
|
|
WANTLIB= ICE SM X11 Xext atk-1.0 c cairo expat fontconfig \
|
|
|
|
freetype glib-2.0 gmodule-2.0 gobject-2.0 \
|
|
|
|
gthread-2.0 iconv intl jpeg m pango-1.0 \
|
|
|
|
pangocairo-1.0 pangoft2-1.0 pthread stdc++ xml2 z
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
VMEM_WARNING= Yes
|
|
|
|
|
2006-08-19 23:36:52 -04:00
|
|
|
PATCHORIG= .orig.port
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
WRKCONF= ${WRKSRC}/config_office
|
|
|
|
|
2006-10-21 18:20:50 -04:00
|
|
|
CONFIGURE_STYLE= autoconf no-autoheader
|
2006-09-20 05:06:19 -04:00
|
|
|
AUTOCONF_VERSION= 2.59
|
|
|
|
AUTOCONF_DIR= ${WRKCONF}
|
|
|
|
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
2006-10-20 10:59:26 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --disable-gnome-vfs \
|
|
|
|
--disable-mozilla \
|
|
|
|
--disable-pasf \
|
|
|
|
--disable-cups \
|
|
|
|
--with-system-jpeg \
|
|
|
|
--with-system-python \
|
|
|
|
--with-system-libxml \
|
|
|
|
--with-system-stdlibs \
|
|
|
|
--with-system-freetype \
|
|
|
|
--with-system-curl \
|
|
|
|
--with-system-zlib \
|
|
|
|
--with-system-expat \
|
|
|
|
--with-system-neon \
|
|
|
|
--with-system-python \
|
|
|
|
--with-system-db \
|
2006-09-20 05:06:19 -04:00
|
|
|
--with-system-sndfile \
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
--with-epm=internal \
|
|
|
|
--with-package-format=portable \
|
2006-09-30 14:47:25 -04:00
|
|
|
--with-alloc=system \
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
--without-java
|
|
|
|
|
|
|
|
FLAVORS= debug
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mdebug}
|
2006-08-19 23:36:52 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-crashdump --enable-symbols
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
.endif
|
|
|
|
|
2006-10-20 10:59:26 -04:00
|
|
|
MAKE_ENV+= envcflags="${CFLAGS}"
|
|
|
|
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
# kludge
|
|
|
|
OOARCH= OPENBSDGCCI
|
|
|
|
TCSH= ${LOCALBASE}/bin/tcsh
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@cd ${WRKSRC}/bridges/source/cpp_uno && \
|
|
|
|
cp -R gcc3_freebsd_intel gcc3_openbsd_intel && \
|
|
|
|
perl -pi -e "s,FREEBSD,OPENBSD,g" gcc3_openbsd_intel/makefile.mk
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@cd ${WRKBUILD} && \
|
|
|
|
./bootstrap && \
|
2006-10-20 10:59:26 -04:00
|
|
|
${SETENV} ${MAKE_ENV} ${TCSH} -c 'source OpenBSDEnv.Set && dmake'
|
Import of OpenOffice.Org version 2.0.3m179.
OpenOffice 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.
I would like to thank everyone who helped porting:
Peter Valchev, Kurt Miller, Dale Rahn, Ian Darwin and the OpenOffice.Org team.
This import is an explicit request by pvalchev@ and espie@.
This means that the current ports lock is still in effect and this import
is only a planned exception by the release managers.
This port is not yet connected to the builds.
okay pvalchev@, espie@
2006-08-17 10:56:21 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC}/instsetoo_native/unxobsd.pro/OpenOffice/portable/install/en-US/openbsd-* && \
|
|
|
|
for SW in `ls -1 *.sw`; do \
|
|
|
|
${TAR} xf $$SW -C ${PREFIX}; \
|
|
|
|
done
|
|
|
|
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/soffice.sh ${PREFIX}/bin/soffice
|
|
|
|
perl -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g; \
|
|
|
|
s,%%X11BASE%%,${X11BASE},g" \
|
|
|
|
${PREFIX}/bin/soffice \
|
|
|
|
|
|
|
|
cd ${PREFIX}/bin && \
|
|
|
|
for app in scalc sdraw simpress swriter; do \
|
|
|
|
ln -sf soffice $$app ; done
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|