summaryrefslogtreecommitdiff
path: root/editors/openoffice/Makefile
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-04-24 22:02:12 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-04-24 22:02:12 +0000
commitd0f31d2b75cc742a835b2d5a065f563b66d42ac2 (patch)
tree8002dbde31a980f565a4f8428ef15772d26dde98 /editors/openoffice/Makefile
parentDo not show the security warning dialog if BATCH is set (it causes (diff)
Fix one mastersite, add install targets and remove the os version check.
I think if the gcc fixes for oo go in before 4.6, we can check against this version later. Openoffice does build now till the end. A normal build with a P800 Mhz does take approximatly 20 hours.
Notes
Notes: svn path=/head/; revision=58078
Diffstat (limited to 'editors/openoffice/Makefile')
-rw-r--r--editors/openoffice/Makefile23
1 files changed, 11 insertions, 12 deletions
diff --git a/editors/openoffice/Makefile b/editors/openoffice/Makefile
index db4e8444de82..c4e140699ef7 100644
--- a/editors/openoffice/Makefile
+++ b/editors/openoffice/Makefile
@@ -9,7 +9,7 @@ PORTNAME= openoffice
PORTVERSION= 641d
CATEGORIES= editors
MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/OpenOffice/${PORTVERSION}/ \
- http://sf1.mirror.openoffice.org/641c/ \
+ http://sf1.mirror.openoffice.org/${PORTVERSION}/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \
http://people.freebsd.org/~mbr/distfiles/
DISTFILES= oo_${PORTVERSION}_src.tar.bz2 gpc231.tar.Z oo_moz095_i386_FreeBSD-4.tar.gz
@@ -21,7 +21,7 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13
LIB_DEPENDS+= pth.14:${PORTSDIR}/devel/pth
-BROKEN= 'Work in progress -- does not build yet till the end'
+BROKEN= 'Work in progress -- does build - but does not start yet'
USE_XLIB= yes
USE_BZIP2= yes
@@ -39,6 +39,7 @@ JAVAVM= ${JDK13DIR}/bin/java
GNU_CONFIGURE= yes
USE_AUTOCONF= yes
WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office
+LD_PATH= ${WRKSRC}/../vos/unxfbsd.pro/lib:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX} \
--with-jdk-home=${JDK13DIR} \
@@ -56,15 +57,6 @@ pre-fetch:
@ ${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}
@@ -98,7 +90,14 @@ do-build:
@cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
tcsh -c 'source FreeBSDEnv.Set && dmake'
+pre-install:
+ ${SH} -c "cd ${WRKSRC}/../instsetoo/*.pro/01/normal && \
+ ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \
+ < ${FILESDIR}/oo_setup.resp > oo_setup.resp"
+
do-install:
- @cd ${WRKSRC}/.. && ./setup -r:oo_setup.resp
+ @-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" LD_LIBRARY_PATH=${LD_PATH} \
+ TEMP=${WRKDIR} DISPLAY=${DISPLAY} \
+ ${WRKSRC}/../instsetoo/*.pro/01/normal/setup -r:oo_setup.resp
.include <bsd.port.post.mk>