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