aboutsummaryrefslogtreecommitdiffstats
path: root/german
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-07-17 21:12:24 +0800
committermbr <mbr@FreeBSD.org>2002-07-17 21:12:24 +0800
commit322e4c150dd30e7f62730d0b5859395c79066289 (patch)
treea6cd749f82957a1d766687f0993ed3e4e169d67e /german
parent729723886fb276dfc952162e991fd23ee18f87c6 (diff)
downloadfreebsd-ports-gnome-322e4c150dd30e7f62730d0b5859395c79066289.tar.gz
freebsd-ports-gnome-322e4c150dd30e7f62730d0b5859395c79066289.tar.zst
freebsd-ports-gnome-322e4c150dd30e7f62730d0b5859395c79066289.zip
Upgrade to Service Pack I
Diffstat (limited to 'german')
-rw-r--r--german/staroffice70/Makefile41
-rw-r--r--german/staroffice70/distinfo1
2 files changed, 31 insertions, 11 deletions
diff --git a/german/staroffice70/Makefile b/german/staroffice70/Makefile
index de1717770f20..f27086296a80 100644
--- a/german/staroffice70/Makefile
+++ b/german/staroffice70/Makefile
@@ -7,14 +7,17 @@
PORTNAME= staroffice
PORTVERSION= 6.0
+PORTREVISION= 1
CATEGORIES= editors linux
MASTER_SITES=
DISTNAME= so-6_0-ga-bin-linux-en.bin
-DISTFILES= so-6_0-ga-bin-linux-en.bin
+DISTFILES= so-6_0-ga-bin-linux-en.bin 112887-02.tar.Z
.if defined(WITH_ADABAS)
DISTFILES+= soa-6_0-ga-bin-linux-en.bin
.endif
+EXTRACT_ONLY= 112887-02.tar.Z
+
MAINTAINER= mbr@FreeBSD.org
ONLY_FOR_ARCHS= i386
@@ -28,6 +31,7 @@ WRKSRC= ${WRKDIR}/${SOVERSION}
TMPDIR= ${WRKDIR}/tmp
LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/lib:${LINUXBASE}/usr/lib
INSTDB.INS= ${PREFIX}/${SOVERSION}/program/instdb.ins
+SUNSOLVE= ${WRKDIR}/112887-02
ADABAS_DIST= soa-6_0-ga-bin-linux-en.bin
.include <bsd.port.pre.mk>
@@ -99,7 +103,7 @@ pre-fetch:
IGNORE="Please manually download ${DISTNAME} from http://www.sun.com/staroffice. Put ${DISTNAME} into the directory ${DISTDIR} and run make again."
.endif
-do-extract:
+post-extract:
.if !defined(DISPLAY) || ${DISPLAY} == ""
@ ${ECHO}
@ ${ECHO} Can\'t open display:
@@ -140,7 +144,9 @@ do-install:
@${LN} -fs ${LINUXBASE}/usr/X11R6/lib/libXrender.so.1.0 \
${WRKDIR}/tmp/libXrender.so
.endif
- @${CAT} ${PKGMESSAGE}
+ @${ECHO} ;
+ @${ECHO_MSG} "===> STEP 1: Main Setup ${PKGNAME}"
+ @${ECHO} ;
@-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" LD_LIBRARY_PATH=${LD_PATH} \
TEMP=${TMPDIR} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
@if [ -f ${PREFIX}/${SOVERSION}/program/setup ]; then \
@@ -155,22 +161,35 @@ do-install:
${ECHO} ; \
${FALSE} ; \
fi
+ @${ECHO} ;
+ @${ECHO_MSG} "===> STEP 2: Choosing now a workstation installation for user root"
+ @${ECHO} ;
+ @${ECHO} This step is needed to be able to install the service pack. ;
+ @${ECHO} ;
+.if !exists(${LINUXBASE}/usr/X11R6/lib/libXrender.so)
+ @${LN} -fs ${LINUXBASE}/usr/X11R6/lib/libXrender.so.1.0 ${PREFIX}/${SOVERSION}/program/libXrender.so
.endif
-.if defined(WITH_ADABAS)
- @-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" LD_LIBRARY_PATH=${LD_PATH} \
- TEMP=${TMPDIR} ${LINUXBASE}/bin/sh -c '${WRKSRC}/${ADABAS_DIST}'
-.endif
-
-post-install:
@${MV} ${INSTDB.INS} ${INSTDB.INS}.orig
@${SED} -e 's%DefaultDestPath = "${PREFIX}/staroffice%DefaultDestPath = "staroffice%' \
${INSTDB.INS}.orig > ${INSTDB.INS}
-.if !exists(${LINUXBASE}/usr/X11R6/lib/libXrender.so)
- @${LN} -fs ${LINUXBASE}/usr/X11R6/lib/libXrender.so.1.0 ${PREFIX}/${SOVERSION}/program/libXrender.so
+ @make install-user
.endif
+.if defined(WITH_ADABAS)
+ @-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" LD_LIBRARY_PATH=${LD_PATH} \
+ TEMP=${TMPDIR} ${LINUXBASE}/bin/sh -c '${WRKSRC}/${ADABAS_DIST}'
+.endif
+ @${ECHO} ;
+ @${ECHO_MSG} "===> STEP 3: Applying sunsolve patches for ${PKGNAME}"
+ @${ECHO} ;
+ @make install-patch
+ @${CAT} ${PKGMESSAGE}
install-user:
@-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" ${LINUXBASE}/bin/sh -c \
${PREFIX}/${SOVERSION}/program/setup
+install-patch:
+ @-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" LD_LIBRARY_PATH=${LD_PATH} \
+ TEMP=${TMPDIR} ${LINUXBASE}/bin/sh -c '${WRKSRC}/../112887-02/so-6_0-pp1-bin-linux.bin'
+
.include <bsd.port.post.mk>
diff --git a/german/staroffice70/distinfo b/german/staroffice70/distinfo
index 9a76271336b9..f1acf0853a6d 100644
--- a/german/staroffice70/distinfo
+++ b/german/staroffice70/distinfo
@@ -1,2 +1,3 @@
MD5 (soa-6_0-ga-bin-linux-en.bin) = 7f7003401e8533e7795faa0fd112111c
MD5 (so-6_0-ga-bin-linux-en.bin) = 97cba97cb348d071bea7e8fc08079151
+MD5 (112887-02.tar.Z) = 53479ee4537453b9bf1a27d3967fd92f