aboutsummaryrefslogtreecommitdiffstats
path: root/editors/staroffice70
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-01-01 04:14:55 +0800
committersteve <steve@FreeBSD.org>2000-01-01 04:14:55 +0800
commitde4ec4b93839956e34b0bddd0f728738d6e9e3ea (patch)
tree3b75492ae8d2681b537d2c9d349683337af20cf0 /editors/staroffice70
parent5fb9d9b505770ec768f6ddcc79ca676194053da2 (diff)
downloadfreebsd-ports-gnome-de4ec4b93839956e34b0bddd0f728738d6e9e3ea.tar.gz
freebsd-ports-gnome-de4ec4b93839956e34b0bddd0f728738d6e9e3ea.tar.zst
freebsd-ports-gnome-de4ec4b93839956e34b0bddd0f728738d6e9e3ea.zip
Add another distribution site for patches and changes the default for the
TEMPDIR variable. PR: 15764 Submitted by: maintainer
Diffstat (limited to 'editors/staroffice70')
-rw-r--r--editors/staroffice70/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/editors/staroffice70/Makefile b/editors/staroffice70/Makefile
index fb6d2571e383..4331a6d89636 100644
--- a/editors/staroffice70/Makefile
+++ b/editors/staroffice70/Makefile
@@ -16,11 +16,11 @@ MASTER_SITES= ftp://ftp.hagenhomes.com/pub/ \
EXTRACT_SUFX= .tar
DISTFILES= applicat.rdb.gz libofa517li.so libsdb517li.so
+MAINTAINER= dkiwebe@hagenhomes.com
+
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
RUN_DEPENDS= /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base
-MAINTAINER= dkiwebe@hagenhomes.com
-
ONLY_FOR_ARCHS= i386
NO_CDROM= 'Must be downloaded direct from Sun via www interface'
IS_INTERACTIVE= yes
@@ -30,6 +30,7 @@ EXTRACT_BEFORE_ARGS= -u
NO_BUILD= yes
DIST_SUBDIR= staroffice5
WRKSRC= ${WRKDIR}/so51inst
+TEMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
@@ -59,13 +60,14 @@ post-configure:
@${PERL} -pi.orig -e 's|DefaultDestPath = "Office51";|DefaultDestPath = "${PREFIX}/Office51";|' ${WRKSRC}/office51/setup.ins
do-install:
- @${ECHO} "${WRKDIR}/tmp" >> /compat/linux/etc/ld.so.conf
- @${ECHO} "/tmp/sv001.tmp" >> /compat/linux/etc/ld.so.conf
- @PATH=${PATH}:/tmp/sv001.tmp:/usr/compat/linux/tmp/sv001.tmp:/usr/compat/linux/tmp:/tmp
- @LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/tmp:${WRKDIR}/tmp:/usr/lib:/lib:/tmp:/usr/compat/linux/lib
- @/usr/compat/linux/sbin/ldconfig
+ @${CP} /compat/linux/etc/ld.so.conf ${TMPDIR}/ld.so.conf.tmp
+ @${ECHO} "${WRKDIR}/tmp" >> ${TMPDIR}/ld.so.conf.tmp
+ @${ECHO} "${TEMPDIR}/sv001.tmp" >> ${TMPDIR}/ld.so.conf.tmp
+ @PATH=${PATH}:${TEMPDIR}/sv001.tmp:/usr/compat/linux/tmp/sv001.tmp:/usr/compat/linux/tmp:/tmp
+ @LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${TEMPDIR}:${WRKDIR}/tmp:/usr/lib:/lib:/tmp:/usr/compat/linux/lib
+ @/usr/compat/linux/sbin/ldconfig -f ${TMPDIR}/ld.so.conf.tmp
@${CAT} ${PKGDIR}/MESSAGE
- @-${WRKDIR}/so51inst/office51/setup /net
+ @-TEMP=${TEMPDIR} ${WRKDIR}/so51inst/office51/setup /net
# A seperate target as we need to be able to run this stuff independantly.
post-install: