2000-10-16 19:23:34 +00:00
|
|
|
# ex:ts=8
|
2000-08-24 19:29:31 +00:00
|
|
|
# New ports collection makefile for: StarOffice 5.2
|
|
|
|
# Date created: 22 August 2000
|
|
|
|
# Whom: Martin Blapp
|
1999-12-09 17:08:31 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-10-16 19:23:34 +00:00
|
|
|
PORTNAME= openoffice
|
2000-11-03 11:18:36 +00:00
|
|
|
PORTVERSION= 6.0.a609
|
2000-10-16 19:23:34 +00:00
|
|
|
CATEGORIES= editors
|
2000-11-03 11:18:36 +00:00
|
|
|
MASTER_SITES= http://a1580.g.akamai.net/7/1580/2064/OpenOffice609/anoncvs.openoffice.org/download/OpenOffice609/
|
|
|
|
DISTNAME= oo_609_src
|
|
|
|
DISTFILES= oo_609_src${EXTRACT_SUFX} solenv609_linuxintel${EXTRACT_SUFX}
|
1999-12-09 17:08:31 +00:00
|
|
|
|
2000-10-16 19:23:34 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1999-12-31 20:14:55 +00:00
|
|
|
|
2000-10-19 20:48:34 +00:00
|
|
|
BROKEN= 'work in progress -- does not work yet'
|
|
|
|
|
2000-10-16 19:23:34 +00:00
|
|
|
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
|
1999-12-09 17:08:31 +00:00
|
|
|
|
1999-12-14 23:14:36 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1999-12-09 17:08:31 +00:00
|
|
|
do-install:
|
2000-08-24 19:29:31 +00:00
|
|
|
.if !defined(DISPLAY) || ${DISPLAY} == ""
|
|
|
|
@ ${ECHO}
|
|
|
|
@ ${ECHO} Can\'t open display:
|
|
|
|
@ ${ECHO} Please check your DISPLAY variable.
|
|
|
|
@ ${ECHO}
|
|
|
|
@ ${FALSE}
|
|
|
|
.else
|
2000-09-23 10:32:30 +00:00
|
|
|
.if exists(${LINUXBASE}/${PREFIX})
|
|
|
|
@${LN} -fs ${LINUXBASE}/${PREFIX}/office52 ${PREFIX}/office52
|
2000-08-24 19:29:31 +00:00
|
|
|
.endif
|
2000-10-08 10:23:48 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-09-23 10:32:30 +00:00
|
|
|
@-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
|
2000-09-07 14:22:48 +00:00
|
|
|
@if [ -f ${PREFIX}/office52/program/setup ]; then \
|
|
|
|
${ECHO} ; \
|
|
|
|
${ECHO} Ignore the error-message. StarOffice5.2 has been installed ; \
|
|
|
|
${ECHO} successfully on your system. ; \
|
|
|
|
${ECHO} ; \
|
|
|
|
else \
|
|
|
|
${ECHO} ; \
|
|
|
|
${ECHO} An error occured during StarOffice5.2 install. Please send a mail with debug-output and ; \
|
|
|
|
${ECHO} some information about your FreeBSD-environment to mb@imp.ch. Thanks. ; \
|
|
|
|
${ECHO} ; \
|
|
|
|
${FALSE} ; \
|
|
|
|
fi
|
2000-08-24 19:29:31 +00:00
|
|
|
.endif
|
1999-12-09 17:08:31 +00:00
|
|
|
|
2000-08-24 19:29:31 +00:00
|
|
|
post-install:
|
|
|
|
@${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch
|
|
|
|
@${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch
|
1999-12-09 17:08:31 +00:00
|
|
|
|
|
|
|
install-user:
|
2000-08-24 19:29:31 +00:00
|
|
|
${PREFIX}/office52/program/setup
|
1999-12-09 17:08:31 +00:00
|
|
|
|
1999-12-14 23:14:36 +00:00
|
|
|
.include <bsd.port.post.mk>
|