2006-09-30 14:47:25 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2006/09/30 18:47:25 robert 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-09-20 05:06:19 -04:00
|
|
|
M= m4
|
|
|
|
VERSION= OOD680_${M}
|
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
|
|
|
DISTNAME= OOo_${VERSION}_source
|
|
|
|
WRKDIST= ${WRKDIR}/ooo_${VERSION}_src
|
2006-09-30 14:47:25 -04:00
|
|
|
PKGNAME= openoffice-2.0.4${M}p0
|
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-09-22 03:44:09 -04:00
|
|
|
MASTER_SITES= http://mirrors.protection.cx/~jolan/ \
|
|
|
|
http://humppa.hu/ \
|
2006-09-20 05:06:19 -04:00
|
|
|
http://ftp.linux.cz/pub/localization/OpenOffice.org/devel/build/Sources/
|
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-09-20 05:06:19 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
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" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
NCPU= `sysctl -n hw.ncpu`
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
perl -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g; \
|
|
|
|
s,%%X11BASE%%,${X11BASE},g; \
|
|
|
|
s,%%TMPDIR%%,${TMPDIR},g" \
|
|
|
|
${WRKCONF}/set_soenv.in \
|
|
|
|
${WRKSRC}/solenv/inc/unxobsdi.mk
|
|
|
|
perl -pi -e "s,/opt/%UNIXPRODUCTNAME%PRODUCTVERSION,openoffice,g" \
|
|
|
|
${WRKSRC}/instsetoo_native/inc_openoffice/unix/packagelist.txt
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@cd ${WRKBUILD} && \
|
|
|
|
./bootstrap && \
|
2006-08-19 23:36:52 -04:00
|
|
|
${TCSH} -c 'source OpenBSDEnv.Set && cd instsetoo_native && \
|
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
|
|
|
build.pl -P${NCPU} --all'
|
|
|
|
|
|
|
|
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>
|