From 5ff28879f95c148f66dd07d51b5529613bc7ce0c Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Sun, 23 Dec 2001 23:27:43 +0000 Subject: Change my email address, upgrade to latest version and fix the endless loop during install in the case no netscape was installed. PR: ports/31390 Reviewed by: Dmitry Sivachenko --- german/citrix_ica/Makefile | 24 ++++++++++++++++++++---- german/citrix_ica/distinfo | 2 +- german/citrix_ica/files/response | 7 ------- 3 files changed, 21 insertions(+), 12 deletions(-) delete mode 100644 german/citrix_ica/files/response (limited to 'german/citrix_ica') diff --git a/german/citrix_ica/Makefile b/german/citrix_ica/Makefile index b8934bbdb99f..6c433d711595 100644 --- a/german/citrix_ica/Makefile +++ b/german/citrix_ica/Makefile @@ -6,12 +6,12 @@ # PORTNAME= citrix_ica -PORTVERSION= 6.0.92 +PORTVERSION= 6.20.974 CATEGORIES= german net comms linux MASTER_SITES= DISTNAME= linuxx86 -MAINTAINER= mb@imp.ch +MAINTAINER= mbr@FreeBSD.org RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base @@ -33,8 +33,24 @@ IGNORE='The distribution file for this port may not be automatically fetched due .endif do-install: - ${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/response \ - > ${WRKSRC}/response + @if (test -d "${CDIR}") ; \ + then \ + ${ECHO} "-----------------------------------------------------------" ; \ + ${ECHO} "" ; \ + ${ECHO} "A ${CDIR} installation does already exist." ; \ + ${ECHO} "Please move it away or delete the old port" ; \ + ${ECHO} "" ; \ + ${ECHO} "-----------------------------------------------------------" ; \ + ${FALSE} ; \ + fi + @if (test -d "/usr/lib/netscape"\ + || test -d "/usr/local/netscape"\ + || test -d "/usr/local/lib/netscape") ; \ + then \ + ${ECHO} -e "1\n${CDIR}\nj\nj\nj\n3" > ${WRKSRC}/response ; \ + else \ + ${ECHO} -e "1\n${CDIR}\nj\nj\nj\nj\n3" > ${WRKSRC}/response ; \ + fi ${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/wfcmgr \ > ${WRKSRC}/wfcmgr.x ${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/wfica \ diff --git a/german/citrix_ica/distinfo b/german/citrix_ica/distinfo index 865c4c44efc8..3959c34f05cf 100644 --- a/german/citrix_ica/distinfo +++ b/german/citrix_ica/distinfo @@ -1 +1 @@ -MD5 (citrix_ica/linuxx86.tar.gz) = 64fd35600ba3a1f3b32954fddfb7d90b +MD5 (citrix_ica/linuxx86.tar.gz) = b0104bf9e1372485801b6004a0e64aab diff --git a/german/citrix_ica/files/response b/german/citrix_ica/files/response deleted file mode 100644 index 8034caf76fab..000000000000 --- a/german/citrix_ica/files/response +++ /dev/null @@ -1,7 +0,0 @@ -1 -DESTINATION -j -j -j -j -3 -- cgit