aboutsummaryrefslogtreecommitdiffstats
path: root/editors/staroffice70
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-12-24 22:28:59 +0800
committeralex <alex@FreeBSD.org>2000-12-24 22:28:59 +0800
commit4a78b2b6987f60c760b6a32bc89e7113427d021a (patch)
tree496f6673769a4e87251a1873a0a5b1853d1222d0 /editors/staroffice70
parentf7511ba97944f7bd498cff0b7f9b673306539eea (diff)
downloadfreebsd-ports-gnome-4a78b2b6987f60c760b6a32bc89e7113427d021a.tar.gz
freebsd-ports-gnome-4a78b2b6987f60c760b6a32bc89e7113427d021a.tar.zst
freebsd-ports-gnome-4a78b2b6987f60c760b6a32bc89e7113427d021a.zip
Add SunSolve Patch 109939-02.
This fixes numerous bugs. See the PR for details. PR: 23783 Submitted by: Martin Blapp <mb@imp.ch> (maintainer)
Diffstat (limited to 'editors/staroffice70')
-rw-r--r--editors/staroffice70/Makefile30
1 files changed, 26 insertions, 4 deletions
diff --git a/editors/staroffice70/Makefile b/editors/staroffice70/Makefile
index b081bfe47260..9d49136f1c51 100644
--- a/editors/staroffice70/Makefile
+++ b/editors/staroffice70/Makefile
@@ -12,6 +12,7 @@ MASTER_SITES= ftp://ftp.inf.utfsm.cl/pub/UTFSM/StarOffice_5.2/ \
ftp://ftp.snerpa.is/pub/linux/ \
ftp://ftp.osb.hu/pub/mirrors/staroffice/linux/ \
ftp://ftp.uni-linz.ac.at/pub/staroffice_5.2/ \
+ ftp://sunsite.anu.edu.au/mnt/disk3/sun-info/sun-patches/ \
ftp://ftp.labyrinth.net.au/.5/kk/linux/star_office/ \
ftp://ftp.acs.oakland.edu/files/Linux/StarOffice/office52/ \
ftp://ftp.ctio.noao.edu/linux/ \
@@ -19,10 +20,17 @@ MASTER_SITES= ftp://ftp.inf.utfsm.cl/pub/UTFSM/StarOffice_5.2/ \
ftp://ftp.linux.tucows.com/pub/Linuxberg/ \
ftp://ftp.jcu.edu.au/pub/StarOffice/ \
ftp://ftp.uakom.sk/pub/mirrors/StarOffice/ \
- ftp://ftp.linux.hr/pub/staroffice/5.2/
+ ftp://ftp.linux.hr/pub/staroffice/5.2/ \
+ ftp://ftp.isst.fhg.de/ISST/Sun/Staroffice/5.2/ \
+ ftp://ftp.cityline.net/mirrors2/sun-patches-all/ \
+ ftp://ftp.gtn.com/os/Sun/patches/ \
+ ftp://ftp.jaist.ac.jp/.arc07/sun-info/sun-patches/ \
+ ftp://ftp.hu-berlin.de/pub/mirrors/sunsolve.sun.com/pub/patches/ \
+ ftp://sunsite.uio.no/pub/sun/sun-patches/ \
+ ftp://ftp.sunet.se/pub7/security/vendor/sun/patches/
DISTNAME= so-5_2-ga-bin-linux-en.bin
-DISTFILES= soa-5_2-ga-bin-linux-en.bin so-5_2-ga-bin-linux-en.bin
-EXTRACT_ONLY=
+DISTFILES= soa-5_2-ga-bin-linux-en.bin so-5_2-ga-bin-linux-en.bin 109939-02.tar.Z
+EXTRACT_ONLY= 109939-02.tar.Z
MAINTAINER= mb@imp.ch
@@ -37,6 +45,7 @@ WRKSRC= ${WRKDIR}/office52
TMPDIR= ${WRKDIR}/tmp
LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/lib:${LINUXBASE}/usr/lib
INSTDB.INS= ${PREFIX}/office52/program/instdb.ins
+SUNSOLVE= ${WRKDIR}/109939-02
.include <bsd.port.pre.mk>
@@ -87,6 +96,13 @@ do-extract:
@cd ${WRKSRC}
@SAL_IGNOREXERRORS=1 ${WRKSRC}/${DISTNAME} -extract ${WRKSRC}
@cd ../../
+ @for file in ${EXTRACT_ONLY}; do \
+ if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
+ ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS}) ; \
+ then \
+ exit 1; \
+ fi \
+ done
.endif
post-configure:
@@ -101,7 +117,7 @@ do-install:
@ ${FALSE}
.else
.if exists(${LINUXBASE}/${PREFIX})
- @${LN} -fs ${LINUXBASE}/${PREFIX}/office52 ${PREFIX}/office52
+ @ ${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'
@@ -117,6 +133,12 @@ do-install:
${ECHO} ; \
${FALSE} ; \
fi
+.if ! defined(WITH_CDROM)
+ @${ECHO_MSG} "===> Applying sunsolve patches for ${PKGNAME}"
+ @for file in ${SUNSOLVE}/* ; do \
+ ${CP} -Rv $$file ${PREFIX}/office52/ ; \
+ done
+.endif
.endif
post-install: