# New ports collection makefile for: Citrix(R) ICA(R) Client # Date created: 12 Dez 2000 # Whom: mblapp # # $FreeBSD$ # PORTNAME= citrix_ica PORTVERSION= 10.0 PORTREVISION= 1 CATEGORIES= german net comms linux MASTER_SITES= DISTNAME= ${PORTNAME}-linuxx86-de-${PORTVERSION} MAINTAINER= thomas@goodking.ca COMMENT= Citrix(R) Presentation Server(TM) client RUN_DEPENDS= ${LINUXBASE}/usr/X11R6/lib/libXm.so.3:${PORTSDIR}/x11-toolkits/linux-openmotif ONLY_FOR_ARCHS= i386 amd64 USE_LINUX= yes RESTRICTED= License prohibits redistribution IS_INTERACTIVE= "Noisy license agreement ignores stdin" NO_WRKSUBDIR= Yes NO_BUILD= Yes CDIR= ${PREFIX}/ICAClient BINDIR= ${PREFIX}/bin NSCP= ${LOCALBASE}/libexec/netscape \ ${LOCALBASE}/libexec/netscape-linux \ ${LOCALBASE}/netscape \ ${LOCALBASE}/netscape-linux \ ${LOCALBASE}/lib/netscape \ ${LOCALBASE}/lib/netscape-linux \ ${MOZILLA_HOME} PLIST_SUB= MOZILLA_HOME=${MOZILLA_HOME} .include .if defined(BATCH) || defined(PACKAGE_BUILDING) IGNORE='The distribution file for this port may not be automatically fetched due to licensing restrictions.' .endif do-fetch: .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) @${ECHO} "" @${ECHO} "You have to fetch the file manually from" @${ECHO} "" @${ECHO} "http://www.citrix.com/site/SS/downloads/details.asp?dID=2755&downloadID=3323" @${ECHO} "" @${ECHO} "Once de.linuxx86.tar.gz has been downloaded move it to" @${ECHO} "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} and restart the build." @${ECHO} "" @${FALSE} .endif do-install: @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 ${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/wfcmgr \ > ${WRKSRC}/wfcmgr.x ${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/wfica \ > ${WRKSRC}/wfica.x cd ${WRKSRC} && ${SH} -c './setupwfc' ${INSTALL_SCRIPT} ${WRKSRC}/wfcmgr.x ${PREFIX}/bin/wfcmgr ${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica # XXX: This is missing a "${BRANDELF} -t Linux ". .include