diff options
Diffstat (limited to 'german/citrix_ica/Makefile')
-rw-r--r-- | german/citrix_ica/Makefile | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/german/citrix_ica/Makefile b/german/citrix_ica/Makefile index b8934bb..6c433d7 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 \ |