mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
25725d6ffb
others to work on it too.
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: StarOffice 5.2
|
|
# Date created: 22 August 2000
|
|
# Whom: Martin Blapp
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= openoffice
|
|
PORTVERSION= 6.0.a605
|
|
CATEGORIES= editors
|
|
MASTER_SITES= http://a1376.g.akamai.net/7/1376/2064/OpenOffice605/anoncvs.openoffice.org/download/OpenOffice605/
|
|
DISTNAME= oo_605_src
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
|
|
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
.if !defined(DISPLAY) || ${DISPLAY} == ""
|
|
@ ${ECHO}
|
|
@ ${ECHO} Can\'t open display:
|
|
@ ${ECHO} Please check your DISPLAY variable.
|
|
@ ${ECHO}
|
|
@ ${FALSE}
|
|
.else
|
|
.if exists(${LINUXBASE}/${PREFIX})
|
|
@${LN} -fs ${LINUXBASE}/${PREFIX}/office52 ${PREFIX}/office52
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
@-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
|
|
@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
|
|
.endif
|
|
|
|
post-install:
|
|
@${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch
|
|
@${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch
|
|
|
|
install-user:
|
|
${PREFIX}/office52/program/setup
|
|
|
|
.include <bsd.port.post.mk>
|