aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-3-devel
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-08-25 21:48:08 +0800
committerjedgar <jedgar@FreeBSD.org>2000-08-25 21:48:08 +0800
commitd54ca814786af0268974f11a6382800440714093 (patch)
treed2452b8fbf8aadbe10f2f36f7fc90178fcf326ca /editors/openoffice.org-3-devel
parente8cc3d24cb5c4732774697d768c9cfe0defe2068 (diff)
downloadfreebsd-ports-gnome-d54ca814786af0268974f11a6382800440714093.tar.gz
freebsd-ports-gnome-d54ca814786af0268974f11a6382800440714093.tar.zst
freebsd-ports-gnome-d54ca814786af0268974f11a6382800440714093.zip
- Add DISPLAY functionality to keep StarOffice from crashing during
installation and startup - Make a few cosmetic fixes to the Makefile(s) Submitted by: Martin Blapp <mb@imp.ch> (Maintainer)
Diffstat (limited to 'editors/openoffice.org-3-devel')
-rw-r--r--editors/openoffice.org-3-devel/Makefile44
1 files changed, 31 insertions, 13 deletions
diff --git a/editors/openoffice.org-3-devel/Makefile b/editors/openoffice.org-3-devel/Makefile
index 1bc196999aa6..415da7fe386b 100644
--- a/editors/openoffice.org-3-devel/Makefile
+++ b/editors/openoffice.org-3-devel/Makefile
@@ -23,24 +23,42 @@ NO_BUILD= yes
DIST_SUBDIR= staroffice52
WRKSRC= ${WRKDIR}/office52
TMPDIR= ${WRKDIR}/tmp
+ADEBAS= soa-5_2-ga-bin-linux-en.bin
.include <bsd.port.pre.mk>
-#
-# Staroffice depends on a scripting fix for
-# src/sys/i386/linux/linux_sysvec. It should
-# be revision 1.55.2.1 or higher. Please upgrade
-# to FreeBSD 4.1
-#
+pre-fetch:
.if ${OSVERSION} < 410000
-BROKEN= YES
+ @${ECHO}
+ @${ECHO} OS-VERSION ${OSVERSION}
+ @${ECHO}
+ @${ECHO} Staroffice depends on a scripting fix for
+ @${ECHO} src/sys/i386/linux/linux_sysvec. It should
+ @${ECHO} be revision 1.55.2.1 or higher.
+ @${ECHO}
+ @${ECHO} Please upgrade to FreeBSD 4.1
+ @${ECHO}
+ @${FALSE}
.endif
-
.if defined(WITH_CDROM)
-IGNORE= "Please mount the Sun StarOffice 5.2 CDROM onto /cdrom and run make again."
-.else # FTP/web download
+ @${ECHO}
+ @${ECHO} Please mount the Sun StarOffice 5.2 CDROM
+ @${ECHO} onto /cdrom and run make again.
+ @${ECHO}
+ @${FALSE}
+.else
.if !exists(${_DISTDIR}/${DISTNAME})
-IGNORE="Please manually download ${DISTNAME} from http://www.sun.com/staroffice. Put ${DISTNAME} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.2 CDROM, please run 'make USE_CDROM=yes'"
+ @${ECHO} Please manually download ${DISTFILES}
+ @${ECHO} from http://www.sun.com/staroffice.
+ @${ECHO}
+ @${ECHO} ${ADEBAS} is the database part of Staroffice.
+ @${ECHO}
+ @${ECHO} Put ${DISTFILES} into the directory
+ @${ECHO} ${_DISTDIR} and run make again.
+ @${ECHO} Or, if you have the Sun StarOffice 5.2 CDROM,
+ @${ECHO} please run 'make USE_CDROM=yes'
+ @${ECHO}
+ @${FALSE}
.endif
.endif
@@ -65,7 +83,7 @@ do-extract:
@${CHMOD} 755 ${WRKSRC}/${DISTNAME}
@${CHMOD} 755 ${WRKSRC}/soa-5_2-ga-bin-linux-en.bin
@cd ${WRKSRC}
- @${WRKSRC}/${DISTNAME} -extract ${WRKSRC}
+ @SAL_IGNOREXERRORS=1 ${WRKSRC}/${DISTNAME} -extract ${WRKSRC}
@cd ../../
.endif
@@ -84,7 +102,7 @@ do-install:
@${LN} -fs /compat/linux/usr/local/office52 ${PREFIX}/office52
.endif
@${CAT} ${PKGDIR}/MESSAGE
- @-TEMP=${TMPDIR} /compat/linux/bin/sh -c '${WRKSRC}/setup /net'
+ @-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} /compat/linux/bin/sh -c '${WRKSRC}/setup /net'
@ ${ECHO}
@ ${ECHO} Ignore the error-message. StarOffice5.2 has been installed
@ ${ECHO} successfully on your system.