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