mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
d17284f762
- Set DEPRECATED and EXPIRATION - Reassign to the heap
100 lines
2.6 KiB
Makefile
100 lines
2.6 KiB
Makefile
# New ports collection makefile for: Citrix(R) ICA(R) Client
|
|
# Date created: 20 Sep 1998
|
|
# Whom: msmith
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= citrix_xenapp
|
|
PORTVERSION= 11.100.158406
|
|
CATEGORIES= net comms linux
|
|
MASTER_SITES=
|
|
DISTNAME= ${PORTNAME}-linuxx86-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Access virtual applications and desktops
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
USE_LINUX= yes
|
|
USE_LINUX_APPS= openmotif jpeg png
|
|
RESTRICTED= License prohibits redistribution
|
|
IS_INTERACTIVE= "Noisy license agreement ignores stdin"
|
|
BROKEN= crashes with f10
|
|
DEPRECATED= "${BROKEN}"
|
|
EXPIRATION_DATE= 2011-05-01
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
|
|
CDIR= ${PREFIX}/ICAClient
|
|
BINDIR= ${PREFIX}/bin
|
|
CERTDIR= ${CDIR}/keystore/cacerts
|
|
|
|
PLIST_SUB= MOZILLA_HOME=${MOZILLA_HOME}
|
|
.if defined(ICA_CERTS)
|
|
PLIST_SUB+= HAVE_ICA_CERTS="" ICA_CERTS="${ICA_CERTS}" CERTDIR="${CERTDIR}"
|
|
.else
|
|
PLIST_SUB+= HAVE_ICA_CERTS="@comment "
|
|
.endif
|
|
|
|
SUB_FILES= wfcmgr wfica
|
|
SUB_LIST= CDIR=${CDIR}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.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/English/SS/downloads/details.asp?downloadID=3323"
|
|
@${ECHO} ""
|
|
@${ECHO} "Once the tarball has been downloaded move it to"
|
|
@${ECHO} "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} and restart the build."
|
|
@${ECHO} ""
|
|
@${FALSE}
|
|
.endif
|
|
|
|
.if defined(ICA_CERTS)
|
|
pre-fetch:
|
|
.for f in ${ICA_CERTS}
|
|
@echo "Checking ${f}"
|
|
.if !exists(${DISTDIR}/${f})
|
|
@echo "Cert ${f} not found."
|
|
@exit 1
|
|
.endif
|
|
.endfor
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|DefaultInstallDir=/usr/lib/ICAClient|DefaultInstallDir=${PREFIX}/ICAClient|' ${WRKSRC}/linuxx86/hinst
|
|
|
|
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
|
|
cd ${WRKSRC} && ${SH} -c './setupwfc'
|
|
${INSTALL_SCRIPT} ${WRKDIR}/wfcmgr ${PREFIX}/bin/wfcmgr
|
|
${INSTALL_SCRIPT} ${WRKDIR}/wfica ${PREFIX}/bin/wfica
|
|
${MKDIR} ${LINUXBASE}/dev
|
|
# XXX: This is missing a "${BRANDELF} -t Linux <executables>".
|
|
|
|
.if defined(ICA_CERTS)
|
|
.for f in ${ICA_CERTS}
|
|
${INSTALL_DATA} ${DISTDIR}/${f} ${CERTDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|