aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-07-17 13:12:24 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-07-17 13:12:24 +0000
commit28886612e3ccfc079fd9251bfae0f84464650816 (patch)
treecca7c2ca135155241ea1aea7b351de14b54691ff /german
parent977bb4a9a1011524dc672cd88d14f2ff2c807683 (diff)
downloadports-28886612e3ccfc079fd9251bfae0f84464650816.tar.gz
ports-28886612e3ccfc079fd9251bfae0f84464650816.zip
Notes
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